Article ID: 252375 - View products that this article applies to.
This article was previously published under Q252375
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 56433 (SQLBUG_70)
When transactional publications are set up, with no support for anonymous subscriptions using SQL Enterprise Manager, the named pull subscriptions may become unsynchronized with the published database. This problem may occur when pull subscriptions are reinitialized from the subscriber. As a result, you may see errors such as primary key violations or foreign key errors returned by the distribution agent.
When creating a transactional publication using SQL Enterprise Manager, the @immediate_sync property for the publication is set to false in the syspublications table on the publisher if the publication does not support anonymous subscribers. However, when named pull subscriptions are created with Enterprise Manager, the @immediate_sync property is set to true in the msreplication_subscriptions table on the subscriber. The @immediate_sync property should be the same on publisher and subscriber.
Here are three workarounds for this problem. Use any of the following:
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Any transactions in a distribution database that are cleaned up before subscription are not applied to the subscriber unless you generate a new snapshot. Due to the fact that the @immediate_sync property is different on the publisher and subscriber, on reinitialization of pull subscriptions from the subscriber side, the publisher is not informed about the reinitialisation and does not generate a new snapshot file. This may result in inconsistent data between the publisher and subscriber.