|
|
Question : Stored Procedure - DTS call
|
|
Hi guys,
I made a call from sp to dts pkg, everything works 100% in test server, on my live db I run into problems, changed from trusted connetion /E to specifying the username and password still no luck...?? There is no password on the DTS pkg.
My command at present is real simple please see below for my sp and error msg. /******************************************************************************************************** CREATED BY: C.W. KEMP OCT-1-2003 FOR DEPT: WARRANTY/ERIC CLEAR PURPOSE: IMPORT USPS FLEET DATA INTO CURRENT_OWNER TABLE CHANGE LOG: *********************************************************************************************************/
CREATE PROCEDURE USPS_DTS_Current_Owner_Import AS exec master..xp_cmdshell 'dtsrun /S servername /U sa /P password /N usps_current_owner_upload' GO
The error msg:
DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1 DTSRun OnError: DTSStep_DTSExecuteSQLTask_1, Error = -2147467259 (80004005) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 Error Detail Records: Error: -2147467259 (80004005); Provider Error: 17 (11) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1 DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005) Error string: Failure creating file. Error source: Microsoft JET Database Engine Help file: Help context: 5003436 Error Detail Records: Error: -2147467259 (80004005); Provider Error: -329978796 (EC54EC54) Error string: Failure creating file. Error source: Microsoft JET Database Engine Help file: Help context: 5003436 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2 DTSRun OnError: DTSStep_DTSExecuteSQLTask_2, Error = -2147467259 (80004005) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 Error Detail Records: Error: -2147467259 (80004005); Provider Error: 17 (11) Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_2 DTSRun: Package execution complete. NULL
Any ideas..??? Please let me know thanks!
|
Answer : Stored Procedure - DTS call
|
|
Hi guys,
I finally got it working... logged into live server with terminal services and from the live server everything worked fine, hence what i did was change the server name to (local) instead of my server name, that solved the problem, dont ask my why the actual server name does not work though...
Anyway, thanks for all your help and ideas, dont quite know what to do regarding the 250 points if someone has a fair way of spilting it between you please post it on here.
Thanks!
|
|
|
|
|