Tuesday, July 19, 2011

RetainSameConnection interferes with expressions on connection managers

I have ran into this issue a few times and was planning to document it for others but John Welch summed it up nicely.

"If you have RetainSameConnection set to TRUE, and you are also trying to update the connection string through an expression, be aware the connection will not change to reflect the new connection string. Basically, the connection will retain the original value (as RetainSameConnection would indicate)."