![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I'm trying to run a very simple DTS package using DTSRun command line but keep getting a cryptic error that has stumped everybody in-house on three continents. The DTS pacakge (really just a test) simply inserts one record in a table. The paraphrased command line is this: DTSrun -s MySQLServer -r MySQLDB -n MyDTSPackage -u SQLAgtSA -p SQLAgtPW The error message I get is: Error: -2147467259 (80004005); Provider Error: 17 (11) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. SQL Server and SQL Server agent run as SQLAgtSA. SQLAgtSA is a Windows Domain user account with admin rights to the box on which SQL Server is running and power user rights to several other boxes on the domain. The DTS package runs fine from within DTS Designer when triggered manually. It fails as a SQL job with an equally cryptic error message implying something about access righs. I have read the TechNet article about running DTS packages and it seems to me everything is OK. I have tried many combinations of other users and passwords, spacing, using / instead of -, ordering of parameters, anything I could possibly think of. All to no avail. Can anybody help? Thanks. |
#4
| |||
| |||
|
|
I'm trying to run a very simple DTS package using DTSRun command line but keep getting a cryptic error that has stumped everybody in-house on three continents. The DTS pacakge (really just a test) simply inserts one record in a table. The paraphrased command line is this: DTSrun -s MySQLServer -r MySQLDB -n MyDTSPackage -u SQLAgtSA -p SQLAgtPW The error message I get is: Error: -2147467259 (80004005); Provider Error: 17 (11) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. SQL Server and SQL Server agent run as SQLAgtSA. SQLAgtSA is a Windows Domain user account with admin rights to the box on which SQL Server is running and power user rights to several other boxes on the domain. The DTS package runs fine from within DTS Designer when triggered manually. It fails as a SQL job with an equally cryptic error message implying something about access righs. I have read the TechNet article about running DTS packages and it seems to me everything is OK. I have tried many combinations of other users and passwords, spacing, using / instead of -, ordering of parameters, anything I could possibly think of. All to no avail. Can anybody help? Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |