I am creating a template SSIs package with certain features that I would like to see in all my SSIS packages, like log start, end, error handling, DB connection etc. So far so good. I created this package.
Now I created an XML config file which holds the DB connection, and SMTP server connection for the package. I watn to use this config file for all the packages, the path to which would reside in an env variable. so all my packages will have a package level configuration pointing to config this file. The idea is to change the db connection or smtp connection only at one place for all the packages, when the production DB instance changes or username/password changes. I created the env variable and the package level config to point to this file.
Now I am getting this error:
Error loading SSIS Template.dtsx: The connection string format is not valid. It must consist of one or more components of the form X=Y, separated by semicolons. This error occurs when a connection string with zero components is set on database connection manager.
Please review my config file and suggest correction:
GeneratedDate="9/21/2011 9:32:36 AM"/>
PASSWORD = MyPswd;
Persist Security Info=True;
Path="\Package.Connections[SMTP Connection Manager].Properties[ConnectionString]"