SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS Properties


SSIS Properties

Author
Message
SanDroid
SanDroid
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1574 Visits: 1046
Tom.Thomson (2/2/2011)
One can only wonder whether the authors are doing their best to confuse!


The MSDN/BOL/Etc.. says:
"However, you cannot use the /ConfigFile option to replace configured values that you also specified at design time."

Seems clear.
You can Add New Values, but you can not replace values that are added AND specified at design time.

Since you can add a property with no value at design and runtime, this makes things very clear to me. I would sudder to think how confused people would be if this change from the 2005 behavior was not documented at all.
SanDroid
SanDroid
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1574 Visits: 1046
OCTom (2/2/2011)
A 50/50 shot on groundhog day. Good guess.:-D

This was an awesome Groundhog Day question.
UMG Developer
UMG Developer
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2668 Visits: 2204
Thanks for the question, things like this are what usually causes problems for people in an upgrade.
gmby
gmby
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2364 Visits: 3792
The dtexec doc states the following:

You can use the /Set option to change the location from which package configurations are loaded. However, you cannot use the /Set option to override a value that was specified by a configuration at design time.

We want to do what the first sentence says. Using /Set can change the package configuration used by the package (similar to in 2005 we used the /CONFIG switch.)

But I cannot get the syntax correct, and I cannot find any examples out there. Here is our command:

dtexec /DTS "\MSDB\TestSET" /SERVER . /set \Package.Configuration[TestSetConfig].Properties[ConfigurationString];C:\SSISPackageConfigurations\testSET2_dtsConfig.xml


Can anyone see what we are doing wrong? I am guessing the propertyPath syntax is wrong (perhaps because Configuration is a collection?). Or are we mis-interpreting the MS docs?

thx,
jg
Andy Leonard
Andy Leonard
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1124 Visits: 1095
Hi Gmby,

I don't override configurations at the command line, but what about pluralizing the package collection name: \Package.Configurations?

Andy

Andy Leonard
Data Philosopher, Enterprise Data & Analytics
gmby
gmby
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2364 Visits: 3792
Thanks Andy, I've tried that. Still receive the same error message:

Description: The package path referenced an object that cannot be found: "\Package.Configurations[TestSetConfig].Properties[ConfigurationString]". This occur
s when an attempt is made to resolve a package path to an object that cannot be found.

I am really wondering if the docs are misleading. I cannot seem to find any examples. I wonder if we are the only ones using config files in this fashion? We have multiple test environments on one SQL instance (2005), so we use the /CONFIG switch to point to different XML package configurations at runtime.

Am going to test using tables for package configs with the /CON to change values at runtime. If that works and we cannot find the proper syntax, it might be the quickest refactoring effort for us to upgrade to 2008R2.

thx,
jg
SanDroid
SanDroid
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1574 Visits: 1046
gmby (2/7/2011)
I cannot seem to find any examples. I wonder if we are the only ones using config files in this fashion?


I use them like this for every SSIS package in production becuase of JSOX and Change Control polices.

We have multiple test environments on one SQL instance (2005), so we use the /CONFIG switch to point to different XML package configurations at runtime.
Am going to test using tables for package configs with the /CON to change values at runtime. If that works and we cannot find the proper syntax, it might be the quickest refactoring effort for us to upgrade to 2008R2.


This is exactly why we are not using 2008 in production yet. Our JSOX and Change Control policy does not allow for re-writing or updating the package file when moving from Uat to Prod. We can update the configuration. Since the database and server names are differant in Prod and are set at design time this makes it a lot of fun.Hehe

I hope you find an answer. It would be nice to be able to start migrating/using SSIS on SQL 2008. This six year old VS2005 IDE is getting on my nerves :-P
SQLRNNR
SQLRNNR
SSC-Dedicated
SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)

Group: General Forum Members
Points: 32016 Visits: 18551
I think the command line should always win. Good question - wish it still worked like 2005.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search