I was getting the errors:

 

Error 1

SSIS Error Code DTS_E_THREADFAILED.

Thread "SourceThread0" has exited with error code 0xC0047038.

There may be error messages posted before this with more information on why the thread has exited.

 

Error 2

SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.

The PrimeOutput method on component "SCR Read fout" (107) returned error code 0x80131502.

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.

 

Cause

This was caused by a SSIS script component, that had a vb substring error in it.

 

Solution

Fixing the substring exception fixed my problem.

One Comment

  1. 2 things to check.
    Ensure all your strings are of the correct type and length, also bigints.

    SSIS Corruption. Any SSIS modules that have been pasted around need to be recreated and your code manually pasted in.

    WaitForPete

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.