Reputation: 8681
I have a SSIS package using BIDS 2008 which is for SQL Server 2008 R2.
I was successfully able to deploy the package along with config file on a shared folder on the server . A SQL Agent job is configured to execute the package . It works fine on the DEV. While doing package deployment on the QA environment I noticed that I need to change the server names from the connection strings specified in the config file as well as amend the package .
My worry is the next time I do enhancement to the package I would need to reconfigure package file which is error prone.
Looking for dynamic configuration solution for various environments.
Upvotes: 0
Views: 430
Reputation: 410
Configure your package to read this values so that you don't have to change during deployment.
Example :
%Environment%\MyPackageStore\ProjectName\Package.dtsx
you can fetch value and assign to variable at package level to build a connection string :
If you want to Configure SQL Agent Job, here is the example :
Upvotes: 1