|
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
Navigation:
[Reply to this message]
|