I have an OLE DB connection manager at the project level (in order to avoid having 12 different objects connecting to the same data source, one in each package). My goal is to have parameters for parts of the connection string, such as the server and database
names, because I won't know the values for those items. When I place the expression on the connection manager for the connection string ("Data Source=" + @[$Project::ServerName] + ";User ID=" + @[$Project::UserName] +";Initial Catalog=" + @[$Project::InitialCatalog]; + "Provider=SQLNCLI11.1;Persist Security Info=True;") the components in the package which use the connection all give errors which say "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." I am wondering if it is possible or advisable to attempt
this or do I still have to the same connections in each package (package level connection managers). It seems as if this would be an example of why the project level connection managers exist. Thank you.
↧