Reply to Re: Bulk Insert: Unexpected end-of-file (EOF) encountered...

Your name:

Reply:


Posted by Erland Sommarskog on 04/17/07 21:40

AB@ (b.aharon44@gmail.com) writes:
> I have a problem about a importation of a file *.csv with SQL Server,
> through a bulk insert, called in a store procedure that a c# sw calls.
> This is the description of the error:
> -----
> System.Data.SqlClient.SqlException è stata individuata
> Message="Bulk Insert: Unexpected end-of-file (EOF) encountered in
> data file.\r\nOLE DB provider 'STREAM' reported an error. The provider
> did not give any information about the error.\r\nOLE DB error trace
> [OLE/DB Provider 'STREAM' IRowset::GetNextRows returned 0x80004005:
> The provider did not give any information about the error.].\r\nThe
> statement has been terminated."

Unfortunately, the information you posted is not sufficient to help
you. Could you please post:

1) The BULK INSERT statement.
2) Any format file you are using.
3) A short sample of the data file.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация