locked
The product version and database version are not compatible RRS feed

  • Question

  • The following simple program gets an exception {The product version and database version are not compatible} its very hard to proceed from here. Does anybody know what cause this?  

    Best Regards

    Jan Isacsson

    using System.Collections.ObjectModel;
    using Microsoft.MasterDataServices.Deployment;
    using Microsoft.MasterDataServices.Services.DataContracts;

    namespace MdsDeploy
    {
        class Program
        {
            static void Main(string[] args)
            {

                try
                {
                    ModelReader reader = new ModelReader();
                    Collection<Identifier> models = reader.GetModels();
                    foreach (Identifier modelId in models)
                    {
                        Console.WriteLine(modelId.Name);
                    }
                }
                catch (System.Exception ex)
                {
                    Console.WriteLine("Error: " + ex.Message);
                }
                Console.ReadKey();
            }
        }
    }

    Friday, January 9, 2015 8:27 AM

Answers

  • The error means that the version number of the Service does not match the database schema version. If you have multiple versions of MDS running on your machine, please check if this database is mapping to the correct service. Or if you just upgraded MDS service, make sure to upgrade your database via MDS configuration manager as well.
    • Proposed as answer by Charlie Liao Monday, January 12, 2015 7:01 AM
    • Marked as answer by Vincent Chen (X) Tuesday, January 20, 2015 8:02 PM
    Friday, January 9, 2015 7:47 PM

All replies

  • The error means that the version number of the Service does not match the database schema version. If you have multiple versions of MDS running on your machine, please check if this database is mapping to the correct service. Or if you just upgraded MDS service, make sure to upgrade your database via MDS configuration manager as well.
    • Proposed as answer by Charlie Liao Monday, January 12, 2015 7:01 AM
    • Marked as answer by Vincent Chen (X) Tuesday, January 20, 2015 8:02 PM
    Friday, January 9, 2015 7:47 PM
  • Hi Jan,

    For the error "The product version and database version are not compatible", as Emma said, the version number of the Service does not match the database schema version.

    In your scenario, which version of database are you using? Please note that MDS update required after SQL 2012 SP1 installation, please refer to the links below to see the details.
    http://byobi.com/blog/2012/11/mds-update-required-after-sql-2012-sp1-installation/
    http://msdn.microsoft.com/en-IN/library/gg488708.aspx

    Regards,


    Charlie Liao
    TechNet Community Support

    • Proposed as answer by Charlie Liao Monday, January 19, 2015 3:00 AM
    Monday, January 12, 2015 7:10 AM