SSIS 2008 Hangs when loading data from MySQL 5.5 using ODBC connection manager and ADO.NET Source component
I'm using SSIS 2008 on a 64 bit machine along with SQL server 2008 r2 (NO SP installed).
I've created a package in SSIS to load data from MySQL 5.5 to SQL server 2008. For this i've followed the below steps:
1. Created a user and system DSN in ODBC and set the initial statement for ansi mode
2. Created an ODBC connection in SSIS connection manager. Driver used is 5.1 ODBC driver. MySQL is 5.5 version.
3. In data flow task - Created a ADO.NET source
my source query is 3966 characters long so it has to be dynamic based on the date conditions. So I have a created a variable with the source query.
Set variable as expression to true and created a dynamic query from expression editor and set the data flow expressions for ADO.NET SQL Command to the query variable.
Problems encountered:
1. BIDS hangs forever when I double click the ADO.NET source component
2. BIDS freezes with a message visual studio is busy when I double click on any of the components in Data flow task like source (#1), Destination, RowCount etc
3. If I run it takes longer than expected to execute the package.
4. Killing the process (devenv) is the only solution to unfreeze
Many a times i encounter the "Visual Studio is busy" popup and it is really frustrating to use this Microsoft tool. It is too buggy.