Sean Woehrle (10/31/2008)
I have had some issues with the package configuration. We use a hosted vendor for production (on an entirely different network) than our dev server.
When I run packages in the prod environment I get validation errors because the previously used values for my connection managers point to a server that is not accessible in the prod network. In our dtsconfig file we have the correct servers that are in the prod environment but the validation still causes issues. I have tried the delay validation options, but this just changes when the values get checked and doesn't allow you to stop validation entirely. It seems like there is an order of operations problem here. I think SSIS should set the conn mgr values from the dtsconfig file first and then try to validate components.
Have you seen this error? Do you have any suggestions? Maybe I need to put this on the ms connect site.
What I have to do now is manually change all of my connection managers once I migrate packages into prod to point to an accessible server. This obviously defeats the purpose of the package configuration, but some of my other configurations like variable assignments work fine because they don't depend on the validation.
This post is quite old, but I was wrestling with this exact thing today and have found a solution. I thought I'd post it up here for other people struggling with the same thing.
It turns out, that setting the connection string from configuration is considered setting the connection string at runtime. Go figure. So, SSIS is using the connection string from design time to validate the objects and T-SQL in the package before entering runtime, hence your problem (and mine). Setting "DelayValidation" to TRUE at the package level (or on the object using the connection that is set from configuration), will cause SSIS to first set the connection string from Config and then validate at runtime.
I found this from these posts:http://sqlserveruniverse.com/content/SSIS0300103262008NuggetsfromMySSISExperience.aspx
by Dinesh Priyankara
by Louis Nguyen
Hope it helps, it's sorted my problem out.