Login Failed Error in ActiveX script in DTS!
- From: appu <ajmera.puneet@xxxxxxxxx>
- Date: Fri, 8 Feb 2008 09:28:31 -0800 (PST)
Hi
I have one ActiveX Script task and VB script written in it is :
Function Main()
dim SQLConn
dim Sql
dim RS
set SQLConn = CreateObject("ADODB.Connection")
RS = DTSGlobalVariables("SEASON").value
SQLConn.Open = "Provider=SQLOLEDB.1;Data Source=(local); _Initial
Catalog=SuppPaymentSubscription;user id = 'Domain\P10825';password =
'password'"
Sql="EXEC SuppPaymentSubscription.[dbo].uspSeason " &
DTSGlobalVariables("SEASON").value
SQLConn.Execute Sql
Main = DTSStepScriptResult_ExecuteTask
End Function
When executing the SQL Package getting Following error msg:
Invalid Connection string.
Login Failed for User.....
I have given access on all db objects to user 'Domain\P10825'.
But When I provide user id='sa'; password = 'password', it is working
fine....
Why is it so???
What is the reason and resolution for this????
What are the permissions required for login???
Any help is appreciated.
Thanks in advance.
Ajmera
.
- Prev by Date: Re: SQL server 2005 & DTS from SQL 2000
- Next by Date: Re: SQL server 2005 & DTS from SQL 2000
- Previous by thread: Re: DTS Package to import .txt files HELP
- Next by thread: newbie question on Data Transformation Task
- Index(es):
Relevant Pages
|