Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DTS_E_PRIMEOUTPUTFAILED with error code 0xC0202091 when loading flat file

Tags:

ssis

I get an error message when I try run my SSIS Package the error is:

[Flat File Source [1]] Error: The column delimiter for column "Column 8" was not found.

[Flat File Source [1]] Error: An error occurred while skipping data rows.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (1) returned error code 0xC0202091. 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.

Most of the csv files load no problem but a handful of csv files don't and prior to that the package has been working fine for years.

like image 223
Djbril Avatar asked May 14 '13 13:05

Djbril


People also ask

What is SSIS Error Code Dts_e_primeoutputfailed?

SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on OLE DB Source returned error code 0xC0202009. 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.

What is error code in SSIS?

When there is an error in the SQL Server Integration Services (SSIS) data flow, you have the ability to redirect the error onto an error path. The system provides you with the error code and the ID of the column causing the error. However, for our logging requirements we need to have the column name as well.

What is header row delimiter in SSIS?

The header row is delimited by a colon. Comma {,} The header row is delimited by a comma. Tab {t} The header row is delimited by a tab.


2 Answers

Encountered this error too, turned out that its skipping data rows because my CSV file has missing columns. Try checking if the columns in your file is correct.

like image 122
user2545231 Avatar answered Sep 27 '22 23:09

user2545231


Possible Scenario would be Multiple CSV Files doesn't have the same structure (Column names )

like image 36
AmilaMGunawardana Avatar answered Sep 27 '22 22:09

AmilaMGunawardana