dbTalk Databases Forums  

OLE DB Connection in SSIS Package does not remember password

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


Discuss OLE DB Connection in SSIS Package does not remember password in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 12-04-2007 , 07:53 AM






On Dec 3, 10:22 pm, Yuri Bulgakov <yuri.... (AT) gmail (DOT) com> wrote:
Quote:
What I ended up doing was to use Expression for Connection String where
I would specify connection string that used variables for user name and
password.

Then variables' values are included in configuration of the package, and
you type it in when package is deployed.

I know this might be compromising security, but I neede a way to make
this package run tonight.

HTH.

*** Sent via Developersdexhttp://www.developersdex.com***
Hi Yuri,

I would recommend using Package Configurations to set your
connections, and also setting the ProtectionLevel of all packages to
"ServerStorage" if you are deploying to MSDB (which I would
recommend). I usually use a configuration database to store
configuration details (along with other useful things like precedence
tables, logs, etc). Each package will have a connection to this
database. This is configured using a package configuration that reads
the connection info from an environment variable on the server (I use
Integrated Security and just make sure that the service account has
access to this db). The connection(s) to actual data sources/
destinations are stored in a configuration table in the configuration
database (encrypted if necessary). As package configurations are
applied in order, as long as the configuration database configuration
(say that 10 times while drunk!) is first on the list the other
configurations should retrieve the correct info from the configuration
table.

Hope this helps!
J


Reply With Quote
  #12  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM






I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #13  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #14  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #15  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #16  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #17  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #18  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #19  
Old   
Ken Ferrell
 
Posts: n/a

Default Re: OLE DB Connection in SSIS Package does not remember password - 07-21-2008 , 07:08 PM



I had this same issue with SSIS in 2005. Had nothing to do with the
ProtectionLevel setting.

I had changed the name of the Source and Destination connections to be
more meaningful than the SSIS IMport?Export wizard default names. It
appeared to work as the new connection names did appear in the Source
objects on the data flow task, but I had to open each one and select the
conneciton manager object name again and then select the table and/or re
enter the query. Everything was then fine.

So it appeared the renaming of the connection manager object worked but
it really did not and the connection on the source data flow objects had
to be reaccomplished.





*** Sent via Developersdex http://www.developersdex.com ***

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.