title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | monikerRange |
---|---|---|---|---|---|---|---|---|
Upgrade Master Data Services |
Discover the four scenarios for upgrading Microsoft SQL Server Master Data Services. Learn about file locations and troubleshooting for upgrades. |
rwestMSFT |
randolphwest |
07/21/2017 |
sql |
master-data-services |
upgrade-and-migration-article |
>=sql-server-2016 |
[!INCLUDE SQL Server -Windows Only]
The following are the scenarios for upgrading Microsoft [!INCLUDEssnoversion] Master Data Services.
Important
- Back up your database before performing any upgrade.
- The upgrade process recreates stored procedures and upgrades tables used by [!INCLUDEssMDSshort]. Any customizations you have made to either of these components may be lost.
- Model deployment packages can be used only in the edition of [!INCLUDEssNoVersion] they were created in. You cannot deploy model deployment packages created in [!INCLUDEsql2008r2], [!INCLUDEssSQL11], or [!INCLUDEssSQL14] to [!INCLUDEsssql16-md].
- After upgrading Data Quality Services and Master Data Services to the latest version of [!INCLUDEssnoversion], any earlier version of the Master Data Services Add-In for Excel will no longer work. You can download the [!INCLUDEsssql16-md] Master Data Services Add-In for Excel from Master Data Services Add-in for Microsoft Excel.
-
In [!INCLUDEss2017], by default, the files are installed at drive:\Program Files\Microsoft SQL Server\140\Master Data Services.
-
In [!INCLUDEsssql16-md], by default, the files are installed at drive:\Program Files\Microsoft SQL Server\130\Master Data Services.
-
In [!INCLUDEssSQL14], by default, the files are installed at drive:\Program Files\Microsoft SQL Server\120\Master Data Services.
-
In [!INCLUDEssSQL11], by default, the files are installed at drive:\Program Files\Microsoft SQL Server\110\Master Data Services.
-
In [!INCLUDEsql2008r2], by default, the files are installed at drive:\Program Files\Microsoft SQL Server\Master Data Services.
In this scenario you continue to use [!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md] to host your MDS database. However, you must upgrade the schema of the MDS database, and then create a current [!INCLUDEssNoversion] web application to access the MDS database. After the upgrade, the MDS database can no longer be accessed by the earlier web application.
You can install the current [!INCLUDEssnoversion] and an earlier version of [!INCLUDEssnoversion] on the same computer. The files are installed in different locations, as shown in File Location.
To upgrade without Database Engine upgrade
-
Install [!INCLUDEssMDSshort] and any other features you want.
-
Open the [!INCLUDEssNoversion] Setup wizard.
-
In the left pane, click Installation.
-
In the right pane, click New SQL Server stand-alone installation or add features to an existing installation.
-
On the Feature Selection page, select [!INCLUDEssMDSshort] and any other features you want to install.
-
Complete the wizard.
-
-
Upgrade the MDS database schema.
-
Open the current [!INCLUDEssNoversion] [!INCLUDEssMDScfgmgr].
[!IMPORTANT]
To upgrade the MDS database schema, you must be logged in as the Administrator Account that was specified when the MDS database was created. In the MDS database, in mdm.tblUser, this user has the ID value of 1. -
In the left pane, click Database Configuration.
-
In the right pane, click Select Database and specify the information for your [!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md] database instance.
-
Click Upgrade Database to start the Upgrade Database Wizard. For more information, see Upgrade Database Wizard (Master Data Services Configuration Manager).
-
-
Create a web application.
-
Open the current [!INCLUDEssNoversion] [!INCLUDEssMDScfgmgr].
-
In the left pane, click Web Configuration.
-
In the right pane, from the Website list, select one of the following options:
-
Default Web Site, then click Create Application.
-
Create new site. A new web application is automatically created when the website is created.
[!IMPORTANT]
Your existing MDS web application from an earlier version of SQL Server ([!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md]) is available for selection in the [!INCLUDEssnoversion] version of Master Data Services Configuration Manager. You must not select the existing web application, and instead must create a [!INCLUDEsssql16-md] web application for MDS. Otherwise, you will receive an error when you try to associate the web application with the upgraded MDS database stating that the requested page cannot be accessed because the related configuration data for the page is invalid.If you want to use the same name (alias) for MDS web application as your existing ([!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md]) web application, you must first delete the web application and the associated application pool from IIS, and then create a web application with the same name using [!INCLUDEsssql16-md] version of Master Data Services Configuration Manager. For information about removing web application and application pools from IIS, see Remove an Application (IIS) and Remove an Application Pool (IIS).
-
-
-
Associate the new web application with the upgraded MDS database.
-
In the Associate Application with Database section, click Select.
-
Select the MDS database.
-
Click Apply.
-
In this scenario you will upgrade both the database engine and [!INCLUDEssMDSshort] application from an earlier version to either [!INCLUDEsssql16-md] or [!INCLUDEssSQL16].
To upgrade with Database Engine upgrade
-
For [!INCLUDEsql2008r2] only: Open Control Panel > Programs and Features and uninstall Microsoft [!INCLUDEsql2008r2] [!INCLUDEssMDSshort].
-
Upgrade the database engine to [!INCLUDEsssql16-md] or [!INCLUDEssSQL16]. For more information, see Choose a Database Engine Upgrade Method.
-
Complete all the steps in Upgrade without Database Engine Upgrade .
In this scenario you upgrade a system in which SQL Server is installed on two computers: one with [!INCLUDEsssql16-md] or [!INCLUDEssSQL16], and the other with an earlier version of [!INCLUDEssNoversion].
If an earlier version of [!INCLUDEssNoversion] is installed, you continue to use the earlier version to host your MDS database on one computer. However, you must upgrade the schema of the MDS database, and then use the [!INCLUDEsssql16-md] or [!INCLUDEssSQL16] web application respectively to access the MDS database. The MDS database can no longer be accessed by the earlier version web application.
To upgrade in two-computer scenario
- Complete all the steps in Upgrade without Database Engine Upgrade.
In this scenario, either [!INCLUDEsssql16-md] or [!INCLUDEssSQL16] is installed along with an earlier version on the same computer or two different computers. A database was backed up on a version earlier than the [!INCLUDEsssql16-md] or [!INCLUDEssSQL16] release, prior to upgrade, and the database has to be restored.
To upgrade with restoring a database from backup
-
Install [!INCLUDEssMDSshort] and any other features you want.
-
Open the [!INCLUDEsssnoversion] Setup wizard.
-
In the left pane, click Installation.
-
In the right pane, click New SQL Server stand-alone installation or add features to an existing installation.
-
On the Feature Selection page, select [!INCLUDEssMDSshort] and any other features you want to install.
-
Complete the wizard.
-
-
Restore the database that was backed up.
-
Upgrade the MDS database schema, create a web application, and associate the new web application with the upgraded MDS database. For the instructions, see steps 2 - 4 in Upgrade without Database Engine Upgrade
Issue: When you open the [!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md] web application, a "client version is not compatible with the database version" error message is displayed.
Solution: This issue occurs when a [!INCLUDEsql2008r2], [!INCLUDEssSQL11], [!INCLUDEssSQL14], or [!INCLUDEsssql16-md] Master Data Manager web application tries to access a database that has been upgraded to or [!INCLUDEssSQL16] Master Data Services. You must use a or [!INCLUDEssSQL16] web application instead.
This issue may also occur if you did not stop and restart the MDS Application Pool in IIS when upgrading the MDS database schema. Restart the MDS Application Pool to correct the issue.