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

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.

Recommendation: Install the latest cumulative update for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for 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.
Properties

Article ID: 3033041 - Last Review: 06/22/2015 15:48:00 - Revision: 3.0

Microsoft SQL Server 2012 Service Pack 2, Microsoft SQL Server 2012 Business Intelligence, Microsoft SQL Server 2014 Service Pack 1, Microsoft SQL Server 2014 Business Intelligence

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB3033041
Feedback