Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

The product version and database version are not compatible

$
0
0

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();
        }
    }
}


Viewing all articles
Browse latest Browse all 1311

Trending Articles