February 27, 2013 at 6:16 am
This errors Message was found in the Job History.
2013-02-27 12:28:18.758 Agent message code 20037. The process could not bulk copy into table
2013-02-27 12:28:18.838 Category:NULL
Source: Microsoft SQL Server Native Client 11.0
Number:
Message: End of file reached, terminator missing or field data incomplete
2013-02-27 12:28:18.838 Category:NULL
Source:
Number: 20253
Message: To obtain an error file with details on the errors encountered when initializing the subscribing table, execute the bcp command that appears below. Consult the BOL for more information on the bcp utility and its supported options.
2013-02-27 12:28:18.838 Category:NULL
Source:
Number: 20253
Message: bcp "TestDB"."dbo"."ReportType" in "C:\Testing\ReplData\unc\xxxxxxxxxxxxxxxx\20130227175358\xxxxxxxxb227380_514.bcp" -e "errorfile" -t"<x$3>" -r"<,@g>" -m10000 -S SqlSrvB -T -w
In the Replication "Distributor to Subscriber History'
Error messages:
The process could not bulk copy into table '"dbo"."ReportType"'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20037)
Get help: http://help/MSSQL_REPL20037
End of file reached, terminator missing or field data incomplete
To obtain an error file with details on the errors encountered when initializing the subscribing table, execute the bcp command that appears below. Consult the BOL for more information on the bcp utility and its supported options. (Source: MSSQLServer, Error number: 20253)
Get help: http://help/20253
bcp "TestDB"."dbo"."ReportType" in "C:\Testing\ReplData\unc\xxxxxxxxxxxxxxxx\20130227175358\xxxxxxxxb227380_514.bcp" -e "errorfile" -t"<x$3>" -r"<,@g>" -m10000 -S SqlSrvB -T -w (Source: MSSQLServer, Error number: 20253)
Get help: http://help/20253
When Ran the BCP in Command Prompt
I got
Starting Copy.....
0 Rows Copied.
Bother are Sql Server 2012 servers
In my table one of the column dataype is timestamp and the schema structure is same on the both publisher and subscriber instances.
I hope in the BCP Files there is data but it not able to load data.
Please help me to resolve this issue.
I appreciate your help..
Thanks
February 27, 2013 at 7:21 am
It means that the data in the file or the structure of the data isn't what BCP was expecting. I suspect that the only way to find out is for you to post the actual BCP command you're using (be careful not to include the password) and attach the datafile. Of course, don't attach a file that has any sensitive or private information in it.
Since this appears to be for replicationn, the fix might be to drop and rebuild the replication.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply