Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8113177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:44:39+00:00 2026-06-06T02:44:39+00:00

We have recently upgraded from SQL Server 2005 to SQL Server 2008 (R2, SP1).

  • 0

We have recently upgraded from SQL Server 2005 to SQL Server 2008 (R2, SP1). This upgrade included some publications, where all tables are published with a default conflict resolver based on the “later wins” principle. Its smart name is ‘Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver’, and the corresponding dll file is ssrmax.dll.

As you all know, once a table is published with a conflict resolver, the same conflict resolver must be used in all later publications using this table. Fair enough, but, when adding previously published tables to new publications, and specifying the very same conflict resolver to be used for this table, we are getting an error message:

use [myDb]
exec sp_addmergearticle 
    @publication = N'myDb_Pub', 
    @article = N'Tbl_blablabla', 
    @source_owner = N'dbo', 
    @source_object = N'Tbl_blablabla', 
    @type = N'table', 
    @description = N'', 
    @creation_script = N'', 
    @pre_creation_cmd = N'drop', 
    @schema_option = 0x000000000C034FD1, 
    @identityrangemanagementoption = N'none', 
    @destination_owner = N'dbo', 
    @force_reinit_subscription = 1, 
    @column_tracking = N'false', 
    @article_resolver = N'Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver', 
    @subset_filterclause = N'', 
    @resolver_info = N'ddmaj', 
    @vertical_partition = N'false', 
    @verify_resolver_signature = 0, 
    @allow_interactive_resolver = N'false', 
    @fast_multicol_updateproc = N'true', 
    @check_permissions = 0, 
    @subscriber_upload_options = 0, 
    @delete_tracking = N'true', 
    @compensate_for_errors = N'false', 
    @stream_blob_columns = N'false', 
    @partition_options = 0
GO

And this is the error we get:

The article '...' already exists in another publication with a different article resolver.

By trying to understand how the same conflict resolver is not considered by the machine as ‘the same conflict resolver’, I discovered that there were two conflict resolvers with the same name, different versions, in the registry:

the 2005 version:

  • file ssrmax.dll,
  • version 2005.90.4035.0,
  • cls_id D604B4B5-686B-4304-9613-C4F82B527B10

the 2008 version:

  • file ssrmax.dll,
  • version 2009.100.2500.0,
  • cls_id 77209412-47CF-49AF-A347-DCF7EE481277

And I checked that our 2008 server is considering the second one as the ‘available custom resolver’ (I got this by running sp_enumcustomresolvers). The problem is that both references are available in the registry, so I guess that old publications do refer to the 2005 version, while new publications try to refere to the 2008 version, which is indeed different from the previous one.

So the question is: how can I have the server consider only one of these 2 versions, and this (of course) without having to drop and recreate the existing publications (which would turn our life into hell for the next 2 weeks).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:44:41+00:00Added an answer on June 6, 2026 at 2:44 am

    Well .. so nobody got an answer. But I think I (finally) got it. Guess what… it is somewhere in the metamodel (as usual)!

    • When adding an item to the subscription, the new conflict resolver references to be used by the stored procedure come from the [distribution].[MSmerge_articleresolver] table
    • But, for existing subscriptions, previous conflict resolver references are stored in the system tables of the publishing database, ie [sysmergearticles], [sysmergeextendedarticlesview], and [sysmergepartitioninfoview]

    So we have on one side an item initialy published with SQLSERVER 2005, where the publication references the 2005 conflict resolver, as per the publishing database metamodel. On the other side, the machine will attempt to add the same item to a new publication, this time with a default reference to the conflict resolver available in the distibution database, which is indeed different from the 2005 one ….

    To illustrate this, you can check the following

    USE distribution
    go
    SELECT article_resolver, resolver_clsid
      FROM [MSmerge_articleresolver] WHERE article_resolver like '%Later Wins%'
      GO
    

    Then,

    USE myPublicationDatabase
    go
    SELECT article_resolver, resolver_clsid
      FROM [sysmergearticles] WHERE article_resolver like '%Later Wins%'
      GO
     SELECT article_resolver, resolver_clsid
      FROM [sysmergeextendedarticlesview] WHERE article_resolver like '%Later Wins%'
      GO
     SELECT article_resolver, resolver_clsid
      FROM [sysmergepartitioninfoview] WHERE article_resolver like '%Later Wins%'
      GO  
    

    So it seems that I should update either the references in the distribution database or the references in the publication database. Let’s give it a try!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All - I have recently upgraded our production environment from Sql Server Reporting Services
I have recently upgraded from websphere 5.1.2 to websphere 6.1 server. I had some
We have recently upgraded from Reporting Services 2005 to 2008 R2. In the 2005
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
Little background: Recently I upgraded SQL server management studio 2005 by applying the patch
We have recently upgraded our code base from a 2005 version to the latest
We have recently upgraded all our projects from .NET 3.5 to .NET 4. I
We have recently upgraded from Delphi 2009 to 2010. One of the things in
I have recently upgraded my ASP.NET MVC application from beta to version 1. And
I recently upgrade Django from v1.3.1 to v1.4. In my old settings.py I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.