all groups > sql server dts > april 2006 >
You're in the

sql server dts

group:

OLE DB Connection in SSIS Package does not remember password



OLE DB Connection in SSIS Package does not remember password urig
4/30/2006 8:03:19 AM
sql server dts: Hi,

I have a simple SSIS Package where I'm trying to move data from one SQL
Server instance to another.

When debugging the package in the SQL Server Business Intelligence
Development Studio, I keep getting the following error:

Error at DTSTask_DTSDataPumpTask_1 [OLE DB Destination [73]]: The
AcquireConnection method call to the connection manager ... failed with
error code 0xC0202009.

This is because:

An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available. Source: "Microsoft SQL Native Client"
Hresult: 0x80040E4D Description: "Login failed for user ... .".

The bottom line is that SSIS keeps forgetting the password I feed into
the two OLE DB Connections that I'm using. I double-click a connection,
type the password in, check "Save my password" and hit "OK" but the
password disappears from there whenever I run the package or
double-click the connection again.

Help! Any ideas?


Thanks!
urig
RE: OLE DB Connection in SSIS Package does not remember password SSIS 2005 Hangs
5/1/2006 11:21:01 AM
Did you check the box " remember my passowrd" below where you eneter the
userid and password.
SP

[quoted text, click to view]
Re: OLE DB Connection in SSIS Package does not remember password Matt Yeager
5/2/2006 1:21:50 PM
Hi Urig,
I encountered the same problem, even on the same server upon deployment.
I ended up contacting Microsoft and opening a support case. After a couple
of hours on the phone, we found that if the SSIS Package's Security setting
"ProtectionLevel" was set to EncryptAllWithUserKey or
EncryptSensativeWithUserKey that the passwords would actually be lost. This
has to do with the fact that the SQL Server Agent process on your server is
running as a different user and cannot validate the user key basically. What
I ended up having to do is switch the Security ProtectionLevel to use
EncryptAllWithPassword or EncryptSensativeWithPassword and specify a
password for the package. I then re-deployed to SQL.

How I scheduled the Job also had to change. I could no longer specify my
package as a SSIS Step in a Job. I had to make my Job execute an "Operating
System (CmdExec)". The command line was :

C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /DTS
"\MSDB\YOURPACKAGEHERE" /SERVER Q /DECRYPT YOURPASSWORDHERE /MAXCONCURRENT
" -1 " /CHECKPOINTING OFF /REPORTING V

It seems like very much a work-around, but that's roughly the way I was told
to keep the protected passwords. My support case person spoke with the
engineers and that was the desired result evidently. They are working on
documenting the Security Levels more though, as this seems to be coming up a
lot. I honestly wouldn't be suprised if something in Security levels changed
in SP2.


Hope this helps.

-Matt Yeager




[quoted text, click to view]

Re: OLE DB Connection in SSIS Package does not remember password urig
5/7/2006 12:35:14 AM
Hello Matt,

Thank you very much for your reply. I haven't had time to test what you
suggest but it seems like solid advice and when I'll try it I'll post
here to let everyone know how it went.

Regards,
Uri Goldstein,
Israel
RE: OLE DB Connection in SSIS Package does not remember password GVAN
5/9/2006 10:06:01 AM


[quoted text, click to view]

RE: OLE DB Connection in SSIS Package does not remember password john v
5/9/2006 10:28:24 AM

how exactly do you do that ?

I'm having the same issue with SSIS & passwords


RE: OLE DB Connection in SSIS Package does not remember password john v
5/9/2006 10:28:39 AM

How exactly do you save the connection information in an xml file for
SSIS ?


RE: OLE DB Connection in SSIS Package does not remember password Nuwan K
1/3/2007 9:26:22 PM


Hi John

check this site out...

http://vyaskn.tripod.com/sql_server_2005_making_ssis_packages_portable.h
tm



regards

nu1

RE: OLE DB Connection in SSIS Package does not remember password murali krishna
4/24/2007 11:51:11 PM


-John

After you create the XML configuration file...edit the configuration
file by adding password=urpassword after the User ID =***



RE: OLE DB Connection in SSIS Package does not remember password David Wynn
7/6/2007 1:13:47 PM
Urig, first we set up a service account to handle SQL Agent activities.
Once that was done, we did the following after learning that some of
methods do not work correctly. I have been saving my packages on the
file system of the 2005 SQL Server; scheduling the packages while logged
onto the actual server and set them up to use NT authentication. We have
had no success using any other method.

SQL DBA/ETL Developer from OHIO

AddThis Social Bookmark Button