FIX: Error occurs and the execution hangs when you run an SSIS package that connects to Flat File Source

Applies to: SQL Server 2012 Business IntelligenceSQL Server 2014 Business IntelligenceSQL Server 2014 Business Intelligence

Symptoms


Assume that you use Microsoft SQL Server 2012 Integration Services (SSIS 2012) or SSIS 2014. You run an SSIS package that connects to Flat File Source, and one of the rows has less delimiters than the total number of columns. In this situation, the execution of the package hangs, and you receive the following error messages:
[FFS [2]] Error: Failed to get data for the error output buffer.
[FFS [2]] Error: An error occurred while processing file "<File Path>\<File Name>.txt" on data row 2.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on FFS returned error code 0xC0202092.

Resolution


Cumulative Update information

The issue was first fixed in the following cumulative update of SQL Server.

Workaround


To work around this issue, set the AlwaysCheckForRowDelimiters property of Flat File connection manager to false (This workaround does not apply to the situation where the faulting row is the last row).

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.