FIX: Log Reader Agent Fails with 18767 and 18762 Error Messages (316783)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

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: <publisher> (Data source); Error number: 18767)

-or-

Invalid begin LSN (%ls) for commit record (%ls). Check DBTABLE.
(Source: <publisher> (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.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbbug kbfix KB316783