Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

While loop error in SSIS

$
0
0

Hi there,

I have a problem with SSIS.

with script task I am loading a csv into a table, do a clean up, get data back into a buffer and do a data check (using Visual Basic in Script task).

After the check I update the DB table row by row.

At the end  I do a CSV export with the new data.

This stuf is dynamic, because I have various CSV with different structures.

Now my problem is, I have one CSV that has 4000 rows.

When I do the data check in the script task ( it is a select from with 7 joins) and while loop after that to write the results into variables), the whila loop breaks down after about 1600 rows (sometimes it is 10 rows more or less).

I I split the CSV so that I have less than 1600 rows per CSV, it works fine.

When it breaks down I get the error: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. (object is not linked to an object instance)

Does anyone know why this happens?

Thanks E.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>