Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Repoint SSIS config file using dtexec /SET

$
0
0

According to MSDN "You can use the /Connection or /Set option at run time to load package configurations from a location other than the location that you specified at design time." 

I want to use dtexec /SET to change my config file location to point to a different location so I can load prod settings as opposed to the dev-settings that were used when the developers create the package. I realize there are ways of doing this with environment variables, etc... but MSDN explicitly states that we should be able to use the /SET command to change the path of the config file. But I can't figure out the syntax.

I've tried: 

dtexec /FILE "PackagePath" /SET  "\Package.Configurations[ConfigName].Properties[ConfigurationString]";"ConfigFilePath"

And just about every other variation I could think of. Nothing seems to work.

So, what is the proper syntax to change the location of the config file that I want my package to reference?

This is in SSIS 2008, so according to MSDN it should work, if I knew the proper path to the package configuration string.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>