Microsoft KB Archive/316783

= FIX: Log Reader Agent Fails with 18767 and 18762 Error Messages =

Article ID: 316783

Article Last Modified on 10/3/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q316783



BUG #: 353804 (SHILOH_BUGS)



SYMPTOMS
The Log Reader Agent may fail with the following error messages:

The specified begin LSN (%ls) for replication log scan occurs before replbeginlsn (%ls).

(Source: (Data source); Error number: 18767)

-or-

Invalid begin LSN (%ls) for commit record (%ls). Check DBTABLE.

(Source: (Data source); Error number: 18762)



CAUSE
A race condition results in the SQL Server Log Manager writing an incorrect COMMIT log record to the transaction log. As the Log Reader Agent scans through the transaction log to determine which transactions it needs to replicate to subscribers, it cannot reconcile the Log Sequence Number (LSN) in the log with the LSN of the oldest active (non-distributed) transaction.



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



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 2.

Additional query words: LogReader replication agents repl

Keywords: kbbug kbfix KB316783

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.