blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Kristian Wedberg - Business Intelligence, Data Warehousing, SSIS

A Swede on a walkabout

SSIS RetainSameConnection bug and SP2

We have an AS400 source system and can only use ODBC connections to access it. We also need to set RetainSameConnection to true since we're initializing the AS400 connection with a number of temporary aliases that will be used by later Data Flows and Execute SQL Tasks.

Turns out that when using the ODBC driver in SSIS with Execute SQL & Data Flow Tasks, there is a bug that makes it forget the RetainSameConnection setting (it will always revert back to false when saved & reopened.) When the connection is closed and new one created, our carefully created aliases are of course gone (since they were connection specific.)

Some take aways:

* Beware of this bug, the effect of not having RetainSameConnection is often subtle and hard to spot

* RetainSameConnection _does_ work with OLEDB (although OLEDB is not really an option with out AS400)
 
* The bug is fixed in SP2. There is a CTP of SP2 coming very soon to a web very near you;-)

 

So let's be careful out there!

     Kristian

Published 06 September 2006 10:34 by Kristian.Wedberg

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems