FIX: SQL Server 7.0 pull subscriber applies obsolete SQL Server 2000 Merge Agent snapshot

This article was previously published under Q280808
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #:58160 (SQLBUG_70)
Symptoms
When there is a pull subscription created from SQL Server 7.0 for a merge publication in SQL Server 2000, the merge agent successfully applies a snapshot even if the snapshot has expired. No error is returned, although the snapshot has passed the retention period.
Cause
SQL Server 7.0 does not check for obsolete snapshots.
Status
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
More information

Steps to Reproduce the Behavior

  1. In SQL Server 2000, publish the Authors table in the Pubs database.
  2. Check the Merge Retention Period; by default, it will be 14 days. This value is set in the publication properties on the General tab.
  3. Run the snapshot agent to generate the snapshot files.
  4. Stop SQL Server, advance the system date beyond the retention period, and then restart SQL Server.
  5. On a computer running SQL Server 7.0, create a pull subscription to this publication.
  6. Run the merge agent. The snapshot is applied successfully.
In SQL Server 7.0 Service Pack 3, this problem has been corrected. If the merge agent is run and the snapshot is obsolete, the merge agent fails with the following error:
The snapshot for this publication has become obsolete. The snapshot agent needs to be run again before the subscription can be synchronized.
Snapshot, Obsolete, Merge
Properties

Article ID: 280808 - Last Review: 11/02/2013 01:43:00 - Revision: 3.0

  • Microsoft SQL Server 7.0 Standard Edition
  • kbnosurvey kbarchive KB280808
Feedback