![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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." |
#3
| |||
| |||
|
|
AB@ (b.aharo... (AT) gmail (DOT) 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, esq... (AT) sommarskog (DOT) se Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books... Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |