Resolving SQL Server Master Data Services (MDS) Patching Errors

Problem

We installed a Cumulative Update on the SQL Server where we have Master Data Services (MDS) installed, but after this patch was applied users are getting errors in the MDS application. How can we resolve this issue?

Solution

MDS has two main components – a Web Application and a database (that could be on the same or on a remote SQL Server).

When you patch a server hosting the MDS Web Application with an SQL Server update and if you have not completed the upgrade sequence users may get this error in the MDS Web Application on client side:

“The client version is incompatible with the database version. Ask your administrator to upgrade the client components, the database component, or both. Run the Master Data Services Configuration Manager on the server for more information.”.

MDS error in MDS client

If we run MDS Configuration Manager on the MDS server we will see this error:

“The database requires an upgrade. You cannot change system settings until the database is upgraded.”.

MDS error in MDS Configuration Manager

To fix the error you need to upgrade the database (click on the “Upgrade Database” button).

How to avoid user frustration and errors?

You can not really get rid of these errors if you miss the database upgrade step, but with good planning and established procedures you can improve the user experience.

Make sure that the following is part of you SQL Servers patching procedures.

If you have MDS installed on a server that is scheduled for patching:

  1. Find out where the MDS database is and make sure that you create a backup before patching any MDS components
  2. Patch the server where the MDS feature is installed
  3. Run the MDS Configuration Manager, connect to the database (or databases if you have multiple MDS instances configured on your server)
  4. Upgrade database using MDS Configuration Manager:
    • Upgrade Database Wizard will start:
      SQL Server MDS Upgrade Database Wizard
    • Click “Next”:
      SQL Server MDS Upgrade Database Wizard Review
    • Review the database connection and click “Next”. (Note, that the wizard says that the new database will be created. It will not create the new database. The database will be upgraded).
    • Review the upgrade status and click “Finish”:
      SQL Server MDS Upgrade Database Wizard Progress and Finish

The MDS is now fully updated and no errors will be displayed.

Next Steps

  • Read all MDS tips here.
  • Make sure you have MDS patching procedures and follow them.
  • Learn more about Master Data Manager Application here.
  • Check out the Microsoft MDS resources.

2 Comments

  1. We are using SQL server 2019 Master data service configuration manager , When we did Database upgrade then we found database objects have impacted after database upgrade , Any fix for this please , Do we need to execute any patches or some thing else ??

Leave a Reply

Your email address will not be published. Required fields are marked *