Export (0) Print
Expand All
Expand Minimize

How to: Specify Interactive Conflict Resolution for Merge Articles (Replication Transact-SQL Programming)

Microsoft SQL Server replication provides an Interactive Resolver, which allows you to resolve conflicts manually during on-demand synchronization in Microsoft Windows Synchronization Manager. You can programmatically specify that a Subscriber will use this graphical interface to resolve article conflicts when a pull subscription to a merge publication is created. Only conflicts in articles that support this option will be displayed in the Interactive Resolver. Interactive Resolution requires Windows Synchronization Manager. If a synchronization is performed outside of Windows Synchronization Manager (as a scheduled synchronization or an on demand synchronization in SQL Server Management Studio or Replication Monitor), conflicts are resolved automatically without user intervention, using the default conflict resolution specified for the article. For more information, see Interactive Conflict Resolution.

To create a merge pull subscription that uses the Interactive Resolver

  1. At the Publisher on the publication database, execute sp_helpmergearticle, specifying @publication. Note the value of allow_interactive_resolver for each article in the result set for which the Interactive Resolver will be used.

    • If this value is 1, the Interactive Resolver will be used.

    • If this value is 0, you must first enable the Interactive Resolver for each article. To do this, execute sp_changemergearticle, specifying @publication, @article, a value of allow_interactive_resolver for @property, and a value of true for @value.

  2. At the Subscriber on the subscription database, execute sp_addmergepullsubscription. For more information, see How to: Create a Pull Subscription (Replication Transact-SQL Programming).

  3. At the Subscriber on the subscription database, execute sp_addmergepullsubscription_agent, specifying the following parameters:

  4. At the Publisher on the publication database, execute sp_addmergesubscription.

To define an article that supports the Interactive Resolver

Community Additions

ADD
Show:
© 2014 Microsoft