| 
 Posted by mike on 03/23/06 21:13 
Yea to me using the /E /P switches did not make sense either, but using 
the /E switch by itself gave the error and using both worked for me as 
dud using the /U /P which is more standard. 
Here is what I am using 
 
dtsrun /S server /U username /P password /N dtspackage 
 
 
Here is what it is returning 
 
Step 'Copy Data from xxxxxxxx to [xxxx].[dbo].[xxxxxxxxxxxx] Step' 
failed 
 
Step Error Source: Microsoft OLE DB Provider for SQL Server 
Step Error Description:Login failed for user 'domain\username'. 
Step Error code: 80040E4D 
Step Error Help File: 
Step Error Help Context ID:0 
 
 
But like I said if I use the OSQL lines they run fine like this 
 
osql /S server /U username /P password /i c:\live_scripts\script.sql 
 
So why would login work for the script and not for the dts package?
 
  
Navigation:
[Reply to this message] 
 |