I am using SQL Server 2008 R2, and I was getting the same problem as the configuration override seems to be ignored. I found the trick I needed was to remove the XML configuration setting from the package (Package Configurations), and then when you start the package, the XML configuration file you specified will be indicated. However, there are no messages about the use of the file (and since you removed the XML configuration definition from the package, this message is also not issued).
MSDN has an explanation (see the section "Understanding how SSIS package configurations are applied at run time"), which at first did not make sense to me, but after it turned out that the absence of an XML configuration file gives the desired result, I can see what he is trying to say.
In my case, I used the XML file to set the name of the server instance on which the [SSIS Configurations] table was found. At design time, it was a DEVServer in the connection manager object, and I want to override the value of TESTSvr. Following the rules:
- "The utility applies the configurations that were specified in the package at design time and in the order specified in the package." Thus, the value of DEVServer is loaded from the package.
- "Then the utility applies any parameters that you specified on the command line." The value in my XML file (TESTSvr) is now loaded. I can provide any file name that I like here and it will be downloaded (be it France or Italy).
- "Then the utility reloads the configurations that were specified in the package during development and in the order specified in the package .... The utility uses any command line parameters that were specified to reload the configurations." Pay attention to the second part of the rule using command line values. Since we have currently installed the server in TESTSvr, this value is now used to load other configuration values ββfrom the [SSIS Configurations] table that you want.
source share