Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS login problems

Status
Not open for further replies.

BJJJB

Programmer
Dec 22, 1999
22
GB
I'm trying to sort out and problem for an associate. Any help would be appreciated.

A command file, resident on the same server, runs the following script
dtsrun /SserverName /U\\Domain\UserName /Ppassword /NprogramName /G{4D63AAF5-EDAE-11D6-A314-002035C387A5} /V{4D63AAFF-EDAE-11D6-A314-002035C387A5}

This causes the following response:

DTSRun: Loading...

Error: -2147217843 (80040E4D); Provider Error: 18456 (4818)
Error string: Login failed for user '\\Domain\UserName'.
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0


I've checked that the username exists as a user on the SQL system and tried it with and without the domain suffix. Get the same error.
If I sign on to the server as UserName and run the DTS job interactively it works just fine (i.e. NOT using the command file)

HELP!!
Thanks
BJJJB
 
When using NT authentication, don't put the user and password on the command line. Use the /E option to indicate a trusted connection. See "dtsrun utility" in SQL BOL for more options.

Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top