x

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

more ▼

asked Jul 01, 2010 at 06:57 AM in Default

lieuwe gravatar image

lieuwe
1 1 1 1

have you got any more error messages?
Jul 01, 2010 at 05:42 PM Daniel Ross
(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

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.
more ▼

answered Jul 02, 2010 at 02:17 AM

SQLMaster gravatar image

SQLMaster
81 2

(comments are locked)
10|1200 characters needed characters left

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

more ▼

answered Sep 30, 2010 at 02:43 AM

Kirman gravatar image

Kirman
334 29 29 31

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x928
x8
x2
x2

asked: Jul 01, 2010 at 06:57 AM

Seen: 2072 times

Last Updated: Jul 01, 2010 at 06:57 AM