This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 469473 (SHILOH_BUGS)
The Distribution Agent cleanup job (sp_MSdistribution_cleanup) incorrectly removes the snapshot entries that belong to anonymous Subscribers before the retention period expires. This leads to missing snapshots for anonymous subscribers.
Service pack information
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 How to obtain the latest SQL Server 2000 service pack
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.
Note: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.
To work around this problem, you can use any one of the following methods:
Use PULL named subscriptions instead of anonymous subscriptions.
Pause the cleanup job during the administrative update.
Drop article Art_B (see step 5 in the "Steps to Reproduce the Behavior" section). Add the article Art_B back in the publication. Generate the snapshot one time, and then apply the snapshot to all subscribers before you generate another snapshot.
Reinitialize the subscriber, and then regenerate snapshot. Apply the snapshot to all the subscribers before you generate another snapshot.
Steps to Reproduce the Behavior
To reproduce the problem, follow these steps:
Set up a publication with the @allow_anonymous option set to TRUE, and then add an article. Name this article Art_A.
Add an anonymous subscription.
Generate a snapshot.
Run the Distribution Agent (this applies the snapshot to the subscription).
Add a new article and name it Art_B.
Generate a snapshot.
Generate the snapshot again.
Run the cleanup agent job.
Run the Distribution Agent. It does not apply the new article (Art_B).
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 4.
This hotfix is also available in the MS03-031 security patch.For additional information about the MS03-031 security patch, click the following article number to view the article in the Microsoft Knowledge Base:
821277 MS03-031: Security patch for SQL Server 2000 Service Pack 3