FIX: Logreader Fails when Using XCALL Syntax with Text or Image Column

Article translations Article translations
Article ID: 247870 - View products that this article applies to.
This article was previously published under Q247870
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 54663 (SQLBUG_70)
Expand all | Collapse all

On This Page

SYMPTOMS

The XCALL syntax option can be used when calling custom stored procedures. XCALL syntax specifies:
"Stored procedures handling UPDATE statements will be passed the original (that is, the "before" image) values for all columns."
However, if the update or delete takes place to an article with a published text or image column the Logreader can fail with this fatal message:
Error 18759. 'Replication failure.. File 'p:\sphinx\ntdbms\srvrepl\src\pfmt.cpp, line 443'.

CAUSE

SQL Server 7.0 does not contain the previous text or image value(s) in a format the Logreader can currently obtain. However, Logreader did not account for this fact and fails while attempting to retrieve these values.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.

MORE INFORMATION

This fix accounts for the fact that previous values cannot be obtained and passes "NULL" as the previous value for any text or image column when using XCALL.

REFERENCES

For more details on XCALL, see SQL Server Books Online; topic: "Using Custom Stored Procedures in Articles"

Properties

Article ID: 247870 - Last Review: October 22, 2013 - Revision: 2.0
APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix KB247870

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com