question

lieuwe avatar image
lieuwe asked

Sql server 2005 SP3 SSIS foreach ado enumerator crash in debug mode

Hello users, I have a dataflow with a datareader source ( ado.net connection type via ODBC data provider) that reads data from a Oracle table and a recordset destination. The Oracle table has 1 varchar column and 2 date columns. (In the dataflow i only map the varchar column.) The dataflow works on itself correctly. In the control flow i feed the recordset to a foreach container (type ado enumerator). When i execute the package in SQL Server BID it crashes. SSIS Debug Host has stopped working. When i deletes the foreach container in the control flow it works well. Can someone give some clue what can be wrong. Run environment: - VM with Windows Server 2008 (64 bit) - SQL Server 2005 Developer Edition with SQL Server Integration Services installed - Oracle instant client 10.2.0.3 with ODBC drivers. Any help is appreciated, Edgar Lieuw A On
ssisenumeratorforeachado
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Daniel Ross avatar image Daniel Ross commented ·
have you got any more error messages?
0 Likes 0 ·
SQLMaster avatar image
SQLMaster answered
I'm guessing it could be a corrupted installation for SSIS, have you tried restarting the server and see if it works. Then to rule out corruption on SSIS run "DtsDebugHost.exe /regserver" from the following path: [%ProgramFiles%\Microsoft SQL Server\100\DTS\Binn" folder (for SSIS 2005 go to "%ProgramFiles%\Microsoft SQL Server\90\DTS\Binn]. Reload the BIDS and open the package to run your steps in debug mode, if its still failing then you have to uninstall & reinstall SQL in this case.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kirman avatar image
Kirman answered
Just check whether the 3 columns or 1 varchar column (whatever is your output ) are mapping to the correct index in the parameter mapping. Example : Column A : 0 Column A : 1 Column A : 2
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.