We are using SSIS Packages for the 1st time and have a number of packages ready to go into production. We want to use config files with these packages so that we only need to change config file if we have changes.
My config file looks as follows: Its a very simple packages that executes a SP and writes data to a table. The table is then read back in and details written directly to a file.
<?xml version="1.0"?><DTSConfiguration><DTSConfigurationHeading><DTSConfigurationFileInfo GeneratedBy="PRD\21603" GeneratedFromPackageName="SSIS_Daily_PCC_To_CIF" GeneratedFromPackageID="{C5DD332C-A245-44BE-964A-C0FCBE0482F9}" GeneratedDate="29/02/2015 08:16:00"/></DTSConfigurationHeading><Configuration ConfiguredType="Property" Path="\Package.Connections[PCCtoCIFConn].Properties[ConnectionString]" ValueType="String"><ConfiguredValue>\\vs1-alpfc9\sbcit\IT\SSIS Outputs Prod\ConnectDirect\PCCToCIF\PCCtoCIF.txt</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[NAPS_SQL].Properties[ConnectionString]" ValueType="String"><ConfiguredValue>Data Source=VS1-SQLCTST-01;Initial Catalog=NAPS;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;</ConfiguredValue></Configuration></DTSConfiguration>
However, I can change the file location on the config file and execute the package and it will write to the new file location but if I change the database name, this is not picked up and the package still continues
to run from database name specified in the actual package and not from the entry in the config file
Your help would be much appreciated.
Regards
Ann Marie