Groups | Blog | Home
all groups > sql server replication > june 2005 >

sql server replication : Another " Error: 4813 Expected the text length in data stream - "


Dean
6/29/2005 11:57:15 AM
After working for over a year, one of our snapshot replication
distributions now fails with the following error:

The process could not bulk copy into table '"texttab"'.

Expected the text length in data stream for bulk copy of text, ntext,
or image data.
(Source: DESTINATION_SERVER (Data source); Error number: 4813)

Function sequence error
(Source: ODBC Driver Manager (ODBC); Error number: S1010)

The last column of the table in error is type "text". If we lower the
number of the "BCPBatchSize" in the distribution agent profile, more
rows get copied before the error occurs - but there are too many other
very large tables in the snapshot to use that as a go-around.
As suggested in a previous post, we cannot change the table structure
because it is a third-party developed product.
When we use the -UseInProcLoader option in the dist agent, it creates
another error.
We're running SQL Server 2000 8.00.760
Thanks for any ideas.
Hilary Cotter
6/29/2005 9:11:15 PM
remove the text column and replicate the remaining table. Use another method
to synchronize the text column, such as using a trigger to write to an audit
table. Have DTS read this audit table at regular intervals and then update
the text column between the publisher and subscriber. In many topologies you
will find that the text/image column is highly static.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Dean
6/30/2005 8:42:32 AM
Thanks very much for your reply.
Wow - how twisted! I wonder if using ftp for the distribution would get
around this...
AddThis Social Bookmark Button