Microsoft KB Archive/327289

= FIX: The Distribution Agent Might Shut Down with a Syntax Error or Queued Updating Subscribers Might Become Unsynchronized =

Article ID: 327289

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q327289



BUG #: 361403 (SHILOH_BUGS)



SYMPTOMS
The problem that occurs is data dependent; however, it can show up in one of the following two ways:  The Distribution Agent shuts down when it tries to apply a compensating command to a queued updating subscriber, and you receive the following error message:

Line %d: Incorrect syntax near '%.*ls'.

-or-

 The Distribution Agent does not fail; however, the queued updating subscriber may become unsynchronized with the Publisher. In that case, the conflict losing row is deleted from the subscriber and it is not replaced with the publisher's version of the row.

To experience this problem, the following conditions must be true:


 * The publication must be configured to allow queued updating subscribers.
 * The publication must be configured for &quot;publisher wins&quot; conflict resolution.
 * A conflict occurred.



CAUSE
Under certain circumstances, there is a problem with the way compensating commands are generated to replace the conflict losing rows at the Subscriber with the conflict winning rows from the Publisher.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack

NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date          Time      Version    Size            File name --

08-21-2002  14:54:02   8.00.673   248,284 bytes   Qfe361403.sql 08-23-2002  21:02:00   8.00.673   135,748 bytes   Qrdrsvc.exe

NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

NOTE: You must drop, and then re-create the publication for this fix to take affect.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.