dbTalk Databases Forums  

Login failed for user 'sa'

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


Discuss Login failed for user 'sa' in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
x-rays
 
Posts: n/a

Default Login failed for user 'sa' - 02-25-2005 , 07:45 AM






Hello all,

I' ve created a dts package to import some data from another data source.
I've created an SQL connection and specify the provider 'Microsoft OLE DB
Provider for SQL Server'. I parameterize the ServerName, User, Pwd and DBName
and set their values using an activex script. When I run the dts on SQL
Server (in Design Mode) completes successfully, but when I run the package as
a structure storage file, on the first task that executes a stored procedure,
the package fails with an error:
Error: -2147217843 (80040E4D)
Error string: Login failed for user 'sa'
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0

My password is simple (for now): 123
command line: dtsrun /FD:\AccessDBPath\MyPckgName.dts /NMyPckgName /Mpgkpwd
/LD:\AccessDBPath\DTSErrorLog.txt
/AParMDBFilename:8=D:\AccessDBPath\AccessDB.mdb
/AParServer:8=MYSERVER\MYINSTANCE /AParUserID:8=sa /AParPwd:8=123

Do you have an idea what might cause this? Maybe I have to specify the
provider again (in my activex scipt)?????

Thanks in advance.

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Login failed for user 'sa' - 02-25-2005 , 07:55 AM






No reason for this to fail. Check the names when using global variables,
names are case sensitive.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"x-rays" <xrays (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello all,

I' ve created a dts package to import some data from another data source.
I've created an SQL connection and specify the provider 'Microsoft OLE DB
Provider for SQL Server'. I parameterize the ServerName, User, Pwd and
DBName
and set their values using an activex script. When I run the dts on SQL
Server (in Design Mode) completes successfully, but when I run the package
as
a structure storage file, on the first task that executes a stored
procedure,
the package fails with an error:
Error: -2147217843 (80040E4D)
Error string: Login failed for user 'sa'
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0

My password is simple (for now): 123
command line: dtsrun /FD:\AccessDBPath\MyPckgName.dts /NMyPckgName
/Mpgkpwd
/LD:\AccessDBPath\DTSErrorLog.txt
/AParMDBFilename:8=D:\AccessDBPath\AccessDB.mdb
/AParServer:8=MYSERVER\MYINSTANCE /AParUserID:8=sa /AParPwd:8=123

Do you have an idea what might cause this? Maybe I have to specify the
provider again (in my activex scipt)?????

Thanks in advance.



Reply With Quote
  #3  
Old   
x-rays
 
Posts: n/a

Default Re: Login failed for user 'sa' - 02-25-2005 , 08:19 AM



Hello Darren, thank you for your time to answer me, but unfortunatelly it
doesn't work and my parameters are written correct.

------------------------------------
God, what is it?

"Darren Green" wrote:

Quote:
No reason for this to fail. Check the names when using global variables,
names are case sensitive.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"x-rays" <xrays (AT) discussions (DOT) microsoft.com> wrote in message
news:F3BE07EE-D71F-44A0-9CD6-9EEBCB6B03BE (AT) microsoft (DOT) com...
Hello all,

I' ve created a dts package to import some data from another data source.
I've created an SQL connection and specify the provider 'Microsoft OLE DB
Provider for SQL Server'. I parameterize the ServerName, User, Pwd and
DBName
and set their values using an activex script. When I run the dts on SQL
Server (in Design Mode) completes successfully, but when I run the package
as
a structure storage file, on the first task that executes a stored
procedure,
the package fails with an error:
Error: -2147217843 (80040E4D)
Error string: Login failed for user 'sa'
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0

My password is simple (for now): 123
command line: dtsrun /FD:\AccessDBPath\MyPckgName.dts /NMyPckgName
/Mpgkpwd
/LD:\AccessDBPath\DTSErrorLog.txt
/AParMDBFilename:8=D:\AccessDBPath\AccessDB.mdb
/AParServer:8=MYSERVER\MYINSTANCE /AParUserID:8=sa /AParPwd:8=123

Do you have an idea what might cause this? Maybe I have to specify the
provider again (in my activex scipt)?????

Thanks in advance.




Reply With Quote
  #4  
Old   
x-rays
 
Posts: n/a

Default Re: Login failed for user 'sa' - 02-25-2005 , 09:03 AM



Well you were right Darren, I confused, I had so many errors. my problem was
my password that had be enclosed in double quotes.

Thanks again.

"x-rays" wrote:

Quote:
Hello Darren, thank you for your time to answer me, but unfortunatelly it
doesn't work and my parameters are written correct.

------------------------------------
God, what is it?

"Darren Green" wrote:

No reason for this to fail. Check the names when using global variables,
names are case sensitive.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"x-rays" <xrays (AT) discussions (DOT) microsoft.com> wrote in message
news:F3BE07EE-D71F-44A0-9CD6-9EEBCB6B03BE (AT) microsoft (DOT) com...
Hello all,

I' ve created a dts package to import some data from another data source.
I've created an SQL connection and specify the provider 'Microsoft OLE DB
Provider for SQL Server'. I parameterize the ServerName, User, Pwd and
DBName
and set their values using an activex script. When I run the dts on SQL
Server (in Design Mode) completes successfully, but when I run the package
as
a structure storage file, on the first task that executes a stored
procedure,
the package fails with an error:
Error: -2147217843 (80040E4D)
Error string: Login failed for user 'sa'
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0

My password is simple (for now): 123
command line: dtsrun /FD:\AccessDBPath\MyPckgName.dts /NMyPckgName
/Mpgkpwd
/LD:\AccessDBPath\DTSErrorLog.txt
/AParMDBFilename:8=D:\AccessDBPath\AccessDB.mdb
/AParServer:8=MYSERVER\MYINSTANCE /AParUserID:8=sa /AParPwd:8=123

Do you have an idea what might cause this? Maybe I have to specify the
provider again (in my activex scipt)?????

Thanks in advance.




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.