![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a DTS package that imports data into SQL 2000 from an ODBC source on another server. There are only 2 steps, empty the sql table and import new data. This package runs with no errors when it is run from EM on the SQL server. I need to be able to trigger this package from a ASP page on an intranet server, but I cannot get it run correctly. Both steps return failed message to the asp page. I suspect it could be a permissions problem. What permissions do I need to set where? Thanks, Rogerc |
#3
| |||
| |||
|
|
What's the error message you get? Axel Dahmen ------------ "RogerC" <rojoch (AT) NOSPAMtiscali (DOT) co.uk> schrieb im Newsbeitrag news:OEvczAmMFHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi, I have a DTS package that imports data into SQL 2000 from an ODBC source on another server. There are only 2 steps, empty the sql table and import new data. This package runs with no errors when it is run from EM on the SQL server. I need to be able to trigger this package from a ASP page on an intranet server, but I cannot get it run correctly. Both steps return failed message to the asp page. I suspect it could be a permissions problem. What permissions do I need to set where? Thanks, Rogerc |
#4
| |||
| |||
|
|
Hi Axel, Thanks for responding - sorry about delay getting back. The result of ruuning the asp page is: Step [DTSStep_DTSExecuteSQLTask_1] failed Task "Execute SQL Task: Delete Table Data" Step [DTSStep_DTSDataPumpTask_1] failed Task "Transform Data Task: Import Data" Package [RPackage2] failed So the package is loading ok, but cannot execute the steps. What I cannot work out is what permissions are required where and what runs under what account. The job involves 3 servers - IIS, sql 2000 and an access database source on another. When a workstaion calls the asp page on the IIS server does the package run on the IIS server? and with what account (IUSR_<WEBSERVER>) ? Im using sql authentication in the package to access the sql table. RogerC "Axel Dahmen" <NO_SPAM (AT) NoOneKnows (DOT) invalid> wrote in message news:%23C%23nn$nMFHA.4076 (AT) TK2MSFTNGP10 (DOT) phx.gbl... What's the error message you get? Axel Dahmen ------------ "RogerC" <rojoch (AT) NOSPAMtiscali (DOT) co.uk> schrieb im Newsbeitrag news:OEvczAmMFHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi, I have a DTS package that imports data into SQL 2000 from an ODBC source on another server. There are only 2 steps, empty the sql table and import new data. This package runs with no errors when it is run from EM on the SQL server. I need to be able to trigger this package from a ASP page on an intranet server, but I cannot get it run correctly. Both steps return failed message to the asp page. I suspect it could be a permissions problem. What permissions do I need to set where? Thanks, Rogerc |
#5
| |||
| |||
|
|
Hi Roger, well, I thought you could get more precise on the errors appearing. But you are right, this may be a rights problem. Which authentication scheme are you using? IIS will execute the ASP page using IUSR_<webserver> unless you are running the application as a separate process. What code are you using to execute the DTS package? HTH, Axel Dahmen ------------ "RogerC" <rojoch (AT) NOSPAMtiscali (DOT) co.uk> schrieb im Newsbeitrag news:OAzfG9jNFHA.4092 (AT) tk2msftngp13 (DOT) phx.gbl... Hi Axel, Thanks for responding - sorry about delay getting back. The result of ruuning the asp page is: Step [DTSStep_DTSExecuteSQLTask_1] failed Task "Execute SQL Task: Delete Table Data" Step [DTSStep_DTSDataPumpTask_1] failed Task "Transform Data Task: Import Data" Package [RPackage2] failed So the package is loading ok, but cannot execute the steps. What I cannot work out is what permissions are required where and what runs under what account. The job involves 3 servers - IIS, sql 2000 and an access database source on another. When a workstaion calls the asp page on the IIS server does the package run on the IIS server? and with what account (IUSR_<WEBSERVER>) ? Im using sql authentication in the package to access the sql table. RogerC "Axel Dahmen" <NO_SPAM (AT) NoOneKnows (DOT) invalid> wrote in message news:%23C%23nn$nMFHA.4076 (AT) TK2MSFTNGP10 (DOT) phx.gbl... What's the error message you get? Axel Dahmen ------------ "RogerC" <rojoch (AT) NOSPAMtiscali (DOT) co.uk> schrieb im Newsbeitrag news:OEvczAmMFHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi, I have a DTS package that imports data into SQL 2000 from an ODBC source on another server. There are only 2 steps, empty the sql table and import new data. This package runs with no errors when it is run from EM on the SQL server. I need to be able to trigger this package from a ASP page on an intranet server, but I cannot get it run correctly. Both steps return failed message to the asp page. I suspect it could be a permissions problem. What permissions do I need to set where? Thanks, Rogerc |
#6
| |||
| |||
|
|
Ensuring that when setting up the DTS package in Enterprise manager the SQL server name is entered correctly - if working directly on the SQL server it will default to 'local' and have to be entered manually as it only appears as 'local' in the drop down list. When this package is run on the IIS server it doesn't know what 'local' is. |
![]() |
| Thread Tools | |
| Display Modes | |
| |