question

pvsrinivasrao avatar image
pvsrinivasrao asked

SSIS Data Flow Task Source as Tabbed Delimited File not reading last line throws partial data on last line error

Following is sample from my application Source- Tabbed Delimited file Col1 Col2 Col2 aa a 1 2 da a 1 2 ca a 1 2 ba a 1 2 Destination- OLE DB Table create table test_data_1 (col1 varchar(100), col2 int, col3 varchar(100)) Issue- all the rows are copied Except the last Row, when check debug file, there is a warning saying last line has Partial data hence ignored. Any suggestions on how to fix this issue in SSIS? Data is valid data.
sql-server-2008ssis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Daniel Ross avatar image
Daniel Ross answered
Say the Tabbed document has 3 columns, therefore 2 tabs on each row, SSIS expects there to be 2 tabs on each row otherwise it will ignore the row. Try opening the file and manually enter the tabs yourself, if the tabs are missing then you could try and get the file fixed at the source, or you could always create a script component as the source.
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pvsrinivasrao avatar image pvsrinivasrao commented ·
when i executed the same package from another server it worked fine. dont know whats missing on my machine
0 Likes 0 ·
Daniel Ross avatar image Daniel Ross commented ·
is it exactly the same file you are trying to import?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.