![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have deployed and installed an SSIS project with a package configuration. I installed it in the msdb database. When I execute the package in Management Studio, I am having to tell it again where the dtsConfig configuration file is. Otherwise it executes with the last saved values in the package, not the values in the dtsConfig file. Yet when you create a package configuration file in SSIS Designer, it subsequently correctly and automatically reads from the dtsConfig file and you never have to tell it again where the dtsConfig file is. My deployment worked fine, and it deployed my dtsConfig file and even gave me an opportunity to change the configured values within the Package Insallation Wizard [I set the AllowConfigurationChangesProperty to True in the project]. Is this how it is meant to work? If so, yikes, this is quite ugly! I don't want my users to have to specify a dtsConfig file! Can someone shed some light on this please? [I have SP1 installed but have not yet installed the cumulative hotfix 2153 and have read the fixes in that hotfix, and they do not address my current problem]. Charles Kangai, MCT, MCDBA |
#3
| |||
| |||
|
|
I eventually solved this problem by using an indirect package configuration. Instead of specifying the XML configuration file directly, I specified an environment variable that contains the path to the XML configuration file. When I deploy my package to another machine, I just make sure the same environment variable has been created on that machine, but then have it point to an XML configuration file that is pertinent to that location. It now works. Charles Kangai, MCT, MCDBA "Charles Kangai" wrote: I have deployed and installed an SSIS project with a package configuration. I installed it in the msdb database. When I execute the package in Management Studio, I am having to tell it again where the dtsConfig configuration file is. Otherwise it executes with the last saved values in the package, not the values in the dtsConfig file. Yet when you create a package configuration file in SSIS Designer, it subsequently correctly and automatically reads from the dtsConfig file and you never have to tell it again where the dtsConfig file is. My deployment worked fine, and it deployed my dtsConfig file and even gave me an opportunity to change the configured values within the Package Insallation Wizard [I set the AllowConfigurationChangesProperty to True in the project]. Is this how it is meant to work? If so, yikes, this is quite ugly! I don't want my users to have to specify a dtsConfig file! Can someone shed some light on this please? [I have SP1 installed but have not yet installed the cumulative hotfix 2153 and have read the fixes in that hotfix, and they do not address my current problem]. Charles Kangai, MCT, MCDBA |
#4
| |||
| |||
|
|
Charles. Indirect Configurations are a fantastic tool in our armoury now. We use them all the same. Here's a few more details http://msdn2.microsoft.com/en-us/library/ms141682.aspx -- Allan Mitchell Konesans Ltd T +44 7966 476 572 F +44 2071 008 479 http://www.konesans.com "Charles Kangai" <CharlesKangai (AT) discussions (DOT) microsoft.com> wrote in message news:998D3F50-FC82-40AA-A4CE-2D5179561004 (AT) microsoft (DOT) com... I eventually solved this problem by using an indirect package configuration. Instead of specifying the XML configuration file directly, I specified an environment variable that contains the path to the XML configuration file. When I deploy my package to another machine, I just make sure the same environment variable has been created on that machine, but then have it point to an XML configuration file that is pertinent to that location. It now works. Charles Kangai, MCT, MCDBA "Charles Kangai" wrote: I have deployed and installed an SSIS project with a package configuration. I installed it in the msdb database. When I execute the package in Management Studio, I am having to tell it again where the dtsConfig configuration file is. Otherwise it executes with the last saved values in the package, not the values in the dtsConfig file. Yet when you create a package configuration file in SSIS Designer, it subsequently correctly and automatically reads from the dtsConfig file and you never have to tell it again where the dtsConfig file is. My deployment worked fine, and it deployed my dtsConfig file and even gave me an opportunity to change the configured values within the Package Insallation Wizard [I set the AllowConfigurationChangesProperty to True in the project]. Is this how it is meant to work? If so, yikes, this is quite ugly! I don't want my users to have to specify a dtsConfig file! Can someone shed some light on this please? [I have SP1 installed but have not yet installed the cumulative hotfix 2153 and have read the fixes in that hotfix, and they do not address my current problem]. Charles Kangai, MCT, MCDBA |
![]() |
| Thread Tools | |
| Display Modes | |
| |