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