dbTalk Databases Forums  

DTS Run Error

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Run Error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
arahman@healthplus-ny.org
 
Posts: n/a

Default DTS Run Error - 12-09-2003 , 10:08 AM






I can run DTS package successfully if I run them in
Enterprise Manager manually. When I try to run it from
Query Analyzer or Stored Procedure I getting to errors.

The following is execute command for DTS:

Exec master..xp_CmdShell 'DTSRUN /S(CLAIMPRO) /U
(claimpro) /P(claimpro1) /N(DTS_MasterSearchDuplTest)'

Error message is generated:

DTSRun: Loading...

Error: -2147008507 (80074005); Provider Error: 0 (0)
Error string: Unspecified error
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts.hlp
Help context: 713


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

Thank you

Reply With Quote
  #2  
Old   
Jeff Block
 
Posts: n/a

Default Re: DTS Run Error - 12-09-2003 , 11:18 AM






xp_cmdshell uses the cmdexec account to execute all command line functions
(or the proxy) , depending on your settings, that account may not have the
appropiate permissions to 'access' the DTS created connection objects (this
assumes your connection objects in DTS are set to us a trusted connection).

The userid and password you specify in DTSRUN has nothing to do with the
runtime security, only to do with the fetch of the package.


"arahman (AT) healthplus-ny (DOT) org" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message news:0ef701c3be6e$9f2025b0$a501280a (AT) phx (DOT) gbl...
Quote:
I can run DTS package successfully if I run them in
Enterprise Manager manually. When I try to run it from
Query Analyzer or Stored Procedure I getting to errors.

The following is execute command for DTS:

Exec master..xp_CmdShell 'DTSRUN /S(CLAIMPRO) /U
(claimpro) /P(claimpro1) /N(DTS_MasterSearchDuplTest)'

Error message is generated:

DTSRun: Loading...

Error: -2147008507 (80074005); Provider Error: 0 (0)
Error string: Unspecified error
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts.hlp
Help context: 713


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

Thank you



Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Run Error - 12-09-2003 , 12:11 PM



In article <0ef701c3be6e$9f2025b0$a501280a (AT) phx (DOT) gbl>,
"arahman (AT) healthplus-ny (DOT) org" <anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
I can run DTS package successfully if I run them in
Enterprise Manager manually. When I try to run it from
Query Analyzer or Stored Procedure I getting to errors.

The following is execute command for DTS:

Exec master..xp_CmdShell 'DTSRUN /S(CLAIMPRO) /U
(claimpro) /P(claimpro1) /N(DTS_MasterSearchDuplTest)'

Take out the brackets, as they are not valid delimiters for DTSRUN
parameters. If you wish to delimit the parameters try a double-quotation
mark.

To help generate valid DTSRUN command line strings try using the
DTSRUNUI tool. Select the options required and then click Advanced,
which has a Generate option.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.