dbTalk Databases Forums  

Re: DTS fails connecting to remote server

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


Discuss Re: DTS fails connecting to remote server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alien2_51
 
Posts: n/a

Default Re: DTS fails connecting to remote server - 09-17-2004 , 04:28 PM






Don't use /E switch, use the /U<SQL Login> and /P<SQL password> switches...
or add your server to a domain and use domain credentials that have
access...


"Bil Click" <Bil Click (AT) discussions (DOT) microsoft.com> wrote

Quote:
We have two W2K servers in Workgroup mode running SQL 2K. We use
xp_cmdshell
with /E switch to run DTS packages locally on each server.
I have a new DTS package that deletes table rows on the other server, then
copies local rows to remote table.

The DTS package will execute directly & delete/add rows. But it gets error
running xp_cmdshell from a stored procedure:

'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

I have tried:
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /E'
and
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /Usa /Ppassword'

Thanks -



Reply With Quote
  #2  
Old   
Bil Click
 
Posts: n/a

Default Re: DTS fails connecting to remote server - 09-17-2004 , 07:21 PM






Quote:
I have tried:
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /E'
and
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /Usa /Ppassword'

configuring as a domain is not feasable here.
BC
"alien2_51" <dan.billow"at" wrote:

Quote:
Don't use /E switch, use the /U<SQL Login> and /P<SQL password> switches...
or add your server to a domain and use domain credentials that have
access...


"Bil Click" <Bil Click (AT) discussions (DOT) microsoft.com> wrote in message
news:7154E3E7-4616-4890-9759-65632D34E46B (AT) microsoft (DOT) com...
We have two W2K servers in Workgroup mode running SQL 2K. We use
xp_cmdshell
with /E switch to run DTS packages locally on each server.
I have a new DTS package that deletes table rows on the other server, then
copies local rows to remote table.

The DTS package will execute directly & delete/add rows. But it gets error
running xp_cmdshell from a stored procedure:

'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

I have tried:
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /E'
and
exec master..xp_cmdshell 'dtsrun /Sncid03 /Ncopy_control /Usa /Ppassword'

Thanks -




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.