PRB: Join Filter Causes Inconsistent Rows on SQL Server CE Subscriber (287651)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
- Microsoft SQL Server 2000 Windows CE Edition
This article was previously published under Q287651 SYMPTOMS
A join filter may cause inconsistent rows on a SQL Server CE Subscriber database. When you set up a row filter and a join filter on a Publisher to enforce a foreign key relationship between two articles (tables) in a publication, and you later (after initial synchronization) delete a row on the server, the resulting Subscriber table is different on the SQL Server Subscriber from the one on the SQL Server CE Subscriber.
You may also see anomalies on the Subscriber when a row is added to an article in the publication on the server side.
CAUSE
There is a problem with generations on the server side replication component, the Replprov.dll file.
WORKAROUNDA supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next that contains this hotfix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
To resolve this problem:
- Obtain the QFE that is described in detail in the following Microsoft Knowledge Base article:
293761 FIX: Dynamic Filtered Tables Do Not Replicate Data
-and-
- Use synchronization optimization. If you are using SQL Server Enterprise Manager to create your publication, toward the end of the Create Publication wizard, you will see the Minimize the amount of data sent over the network option. You cannot set the Minimize the amount of data sent over the network option for an existing publication. Therefore, you need to create a new publication in order to set this option. After you create a publication, the Minimize the amount of data sent over the network option appears in the Publication Properties or the Subscription Options as Minimize Network Traffic by increasing the storage requirements at the publisher.
If you use scripts to create publications, you need to define your publications with the
keep_partition_changes option set to TRUE. For more information, refer to the "sp_addmergepublication" topic in SQL Server 2000 Books Online. The keep_partition_changes option specifies whether synchronization optimization occurs. The keep_partition_changes option is nvarchar(5), with a default of FALSE. A FALSE value means that synchronization is not optimized, and that the partitions sent to all Subscribers is verified when data changes in a partition. A TRUE value means that synchronization is optimized, and only Subscribers that have rows in the changed partitions are affected.
The keep_partition_changes option provides the ability to keep track of a row going out of or into a partition. For more information, refer to the "Optimizing Synchronization" topic in SQL Server 2000 Books Online.
Modification Type: | Minor | Last Reviewed: | 10/7/2005 |
---|
Keywords: | kbprb KB287651 |
---|
|