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

SSIS Dataflow task error

$
0
0

Hi All,

I am upgrading SSIS Packages from 2005 to 2014.After upgrading I executed a package it is getting stuck at DFT and keeps on running forever until I stop the package.

The DFT transfers data from OLEDB Source(SQL Command) to OLE DB Destination. The count of records from source query is around 21,952,057.When I run the that package it is working fine, but after inserting 133,654 records in destination table, the package is getting stuck and keeps on running forever and the oledbsource become red.Here is the summary of the error thrown.

"[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on LO Join W_OTLCHNSUP_A  and OTLCHNSUP_A returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

[LO Join W_OTLCHNSUP_A  and OTLCHNSUP_A [14]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020."

I am not sure whether table lock used inside oledb destination is the issue because, the source query is  using same table used in destination.For eg.

SELECT
   col1,col2,col3..,col9
FROM  stagingtable AS wocs LEFT OUTER JOIN 
      destinationtable AS ocs ON 
      wocs.col1 = ocs.col1 AND
      wocs.col2= ocs.col2.

So If I disable the table lock in oledb destination it is working fine. But as per the requirement table lock should be enabled.Also in old version 2005 this package is working fine with table lock enabled inside oledb destination but it is not working in 2014 version.

If table lock is not an issue then what is making this package to stuck at that DFT? 

Its tough for me to figure out the exact issue.Please help.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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