Microsoft KB Archive/937969

= FIX: Error message when you import data from a flat file in a SQL Server 2005 Integration Services (SSIS) package: &quot;There is a partial row at the end of the file&quot; =

Article ID: 937969

Article Last Modified on 7/3/2007

-

APPLIES TO


 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Standard Edition
 * Microsoft SQL Server 2005 Standard X64 Edition
 * Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
 * Microsoft SQL Server 2005 Enterprise X64 Edition
 * Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems

-



Bug #: 50001342 (SQL Hotfix)



SYMPTOMS
When you import data from a flat file in a Microsoft SQL Server 2005 Integration Services (SSIS) package, you may receive the following error message:

Warning: 0x8020200F at Data Flow Task, Flat File Source [1]: There is a partial row at the end of the file.

Additionally, the last row in the flat file may not be imported.

This problem occurs if the following conditions are true:
 * The flat file is in the fixed width format.
 * The size of the flat file is slightly larger than 128 kilobytes (KB), or the size of the flat file is any multiple of 128 KB. For example, the size of the flat file is 256 KB or 512 KB.



Cumulative update information
To resolve this problem, obtain cumulative update package 2 for SQL Server 2005 Service Pack 2 (build 3175). For more information about how to obtain cumulative update package 2 for SQL Server 2005 Service Pack 2 (build 3175), click the following article number to view the article in the Microsoft Knowledge Base:

936305 Cumulative update package 2 for SQL Server 2005 Service Pack 2 is available



WORKAROUND
To work around this problem, follow these steps:
 * 1) Add a dummy row at the end of the flat file.
 * 2) Import the flat file.
 * 3) If this problem does not occur, delete the dummy row from the destination by adding a Script task.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbpubtypekc kbqfe kbhotfixserver KB937969

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.