Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 executing dts package with asp

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-11-09 : 09:46:51
arrol writes "allo! I tried this code:

Const DTSReposFlag_Default = 0
Const DTSReposFlag_UseTrustedConnection = 256
Dim oPackage, strResult
Set oPackage = Server.CreateObject("DTS.Package")
oPackage.LoadFromSQLServer ".","user","password",DTSReposFlag_UseTrustedConnection,"packpass","","","packname"
oPackage.Execute()

this is the error I get:
Microsoft OLE DB Provider for SQL Server error '80040e4d'
Login failed for user '\'.

IIS and SQL7 are on the same server, and connection strings are all SQLOLEDB, how do I coordinate NT authentication/sqlserver authentication? I tried using sqlserver authentication for all connections, but the error is the same.

thank you"
   

- Advertisement -