I have been replicating happily between 2008 R2 SQL Servers for some time using Transactional replication.
Replication stopped yesterday with the following messages on the source server:
MSSQL_ENG10054Communication link failure
MSSQL_ENG10054TCP Provider: An existing connection was forcibly closed by the remote host.
MSSQL_ENGFailed to send batch after max errors
MSSQL_ENGUnspecified error
MSSQL_ENGAn existing connection was forcibly closed by the remote host.
MSSQL_REPL0
The process could not bulk copy into table '"pro"."ZZM012X"'.
In the Event Viewer on the target server this message appears:
"A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 10054, output error: 0)."
So this happened after it had been replicating for some time. I get the same error now when I try to restart it or if I rebuild the publication/subscription completely.
There are 7 tables in the publication - 6 of them bulk copy and then replicate without issue. The error is specific to one table. The table has a column in that is varchar(132) and it contains recipe instructions to our manufacturing plant. If I replicate the table and exclude this field, it doesn't fail. I initially thought it might be spurious characters in the text column but I have removed these and still get the same error. I have set up a test version of the table and publication/subscription to enable me to test outside of the live environment. Same errors occur.
Does anyone have any clues or pointers to what might be causing it?
Many thanks
Les