Troubleshoot Installation and Configuration Issues (Master Data Services in SQL Server 2012)

Troubleshoot Installation and Configuration Issues (Master Data Services in SQL Server 2012)

 

When you install and configure Master Data Services (MDS) in SQL Server 2012, you might encounter any of the following issues.

Fixing an MDS installation in a cluster

If you install a clustered instance of the RTM version of SQL Server 2012 with the Master Data Services checkbox selected, MDS will be installed on a single node, but it will not be available and will not work on additional nodes that you add to the cluster. To resolve this issue, you must install the SQL Server 2012 Cumulative Release 1 (CU1), performing the following steps:
 
  1. Make sure that there is no existing SQL/MDS installation.
  2. Download SQL Server 2012 CU1 into a local directory.
  3. Install SQL Server 2012 with the MDS feature on the primary cluster node, and then install SQL Server 2012 with the MDS feature on any additional cluster nodes.
 
For more information about the issues, and information about how to perform the above steps, see KB 2683467.


 

Error when connecting to a remote database server

 
When you try to create or configure a Master Data Services database on a remote computer, you might encounter the following error message:
 
  • Unable to connect to server: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
 
This occurs when you attempt to connect to a remote Database Engine instance from Master Data Services Configuration Manager and the instance is not configured to allow remote connections. To enable remote connections on the database server computer:
 

Database creation fails when user account cannot be resolved

 
When you try to create a Master Data Services database, you might encounter one of the following error messages:
 
  • Could not obtain information about Windows NT group/user 'domain\account', error code 0x5.
  • Unable to look up specified user account.
 
This issue occurs when the service account for the SQL Serverservice, MSSQLSERVER, has inadequate permissions to query Active Directory and cannot resolve the domain account of the user who is attempting to create the database. Ensure that the service is configured to use a service account that has domain access. For more information about the types of service accounts and access they have to domains, see Setting Up Windows Service Accounts.
 

Database creation fails with system catalog error

 
When you try to create a Master Data Services database, you might encounter the following error message:
 
  • Ad hoc update to system catalogs is not supported.
 
This issue occurs when the allow updates parameter of the sp_configure stored procedure is set to 1. To resolve this issue, set the allow updates parameter to 0 and then attempt to create the database again:
 
sp_configure 'allow updates', '0'
RECONFIGURE WITH OVERRIDE
 
For more information, see sp_configure (Transact-SQL) and RECONFIGURE (Transact-SQL).
 

Database creation fails with error “Invalid column name ‘ProductName’. Invalid column name ‘ProductVersion’.”

 
When you try to create a Master Data Services database, you might encounter the following exception:
 
  • Invalid column name 'ProductName'. Invalid column name 'ProductVersion'.
 
This issue occurs when there is a non-Master Data Services database on the same Database Engine instance that contains a table named tblSystem. As a workaround, temporarily rename the table until the Master Data Services database is created or create the Master Data Services database on a different Database Engine instance.
 

Database creation fails with error “Data is Null. This method or property cannot be called on Null values.”

 
When you try to create a Master Data Services database, you might encounter the following exception:
 
  • Data is Null. This method or property cannot be called on Null values.
 
This issue occurs when another database on the same Database Engine instance is either offline or in the process of being restored. When you create the Master Data Services database, make sure that all databases on the same Database Engine instance are online and not being restored.
 

Error when accessing the Web service

 
When you try to access the Master Data Services Web service, you might encounter the following error message:
 
  • Service 'service_name' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
 
This occurs when Web services have not been enabled. For more information, see How to: Enable Web Services (Master Data Services).
 

SVC Handler mapping error in MDS Configuration Manager

 
When you configure Master Data Services in the MDS Configuration Manager, you may encounter an error indicating that the required .svc handler mappings are not installed in IIS.

Before creating an MDS web application, you must correct the following errors:

  • Internet Information Services (IIS) is not configured on this server.
  • The required .svc handler mappings are not installed in IIS.
  
This can occur in one of the following instances
 
  1. If you install IIS after .NET 4, you may encounter this error. To fix this issue, open a command prompt and go to the .NET directory (for example %windir%\Microsoft.NET\Framework64\v4.0.30319). Run the command: aspnet_regiis -i.
  2. You may encounter this error when you select a Web site as part of the process of configuring the Web application, and when you select a Web site other than the first Web site listed. This can happen in following two ways:
    1. Service handlers are not installed on the first Web site that MDS is not attached to, but are installed on another Web site that MDS is attached to. MDS will post an error because it looks at the first Web site, not the second Web site. This is a false negative, in that the error message indicates that the handler mappings are not made, whereas they actually are. In this case, you can ignore the error and proceed.
    2. Service handlers are installed on the first Web site that MDS is not attached to, but are not installed on another Web site that MDS is attached to. MDS will not post an error because it looks at the first Web site, not the second Web site. This is a false positive, because the lack of handler mappings will cause MDS not to work. You should install the handler mappings for the Web site that you are attaching MDS to.

     

 

     

HTTP 401.2-Unauthorized

 
When you try to access Master Data Manager, you might encounter an HTTP 401.2-Unauthorized error. This can occur for the following reasons:
 
  • Windows Authentication is not configured on the Web server computer. For more information, see Web Application Considerations (Master Data Services).
  • Windows Authentication is not enabled for the Master Data Manager Web application in Internet Information Services (IIS).
 
For more information, see Error message when you try to visit a Web page that is hosted on IIS 7.0: "HTTP Error 401.2 - Unauthorized" on the Microsoft Support Web site. For more information on enabling Windows Authentication, see http://social.msdn.microsoft.com/Forums/en/sqlmds/thread/56bcb386-cbe4-4ff1-bc8a-25f0820952f7.


 

HTTP 404.3 - Not Found

 
When you try to access the master data web service - http://.../Service/Service.svc url you may get the error
 
  • HTTP Error 404.3 - Not Found
    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
 
You may also see the following error in MDS Configuration Manager:
 
  • The required svc handler mappings are not installed in IIS.
 
To fix this issue, check the Handler Mappings in IIS Manager and if the *.svc handler is missing, the resolution is to follow http://msdn.microsoft.com/en-us/library/ms752252(VS.90).aspx
If you installed IIS after Windows Communication Foundation (WCF) was installed, you can run the following command to correct the missing WCF handler mappings.
"%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe

For more information, see SVC Handler mapping error in MDS Configuration Manager.

If using Windows 8, you should instead make sure that the .Net 4.5 WCF services features are installed, and HTTP Activation feature is installed, as shown highlighted here:


 

HTTP 500.19-Internal Server Error

 
When you try to access Master Data Manager, you might encounter the following error:
 
  • HTTP 500.19-Internal Server Error: The requested page cannot be accessed because the related configuration data for the page is invalid.
 
This occurs when a required role, role service, or feature is missing from the Web server computer. Ensure that the computer is configured properly for the Master Data Manager Web application. For more information, see Web Application Requirements (Master Data Services).
 

HTTP 500.21-Internal Server Error

 
When you try to access Master Data Manager, you might encounter the following error:
 
  • HTTP 500.21-Internal Server Error: Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
 
This occurs when .NET was installed before IIS. To fix this issue, open a command prompt and go to the .NET directory (for example %windir%\Microsoft.NET\Framework64\v4.0.30319). Run the command: aspnet_regiis -i.
 

HTTP 503-Service Unavailable

 
When you try to access Master Data Manager, you might encounter an HTTP 503-Service Unavailable error. This can occur when there is a problem with the application pool that the Master Data Manager Web application runs in. In IIS, ensure that the application pool is running, and verify that the application pool identity is configured properly. For example, if the account used as the identity recently required a password change, update the application pool credentials accordingly. For more information, see Managing Application Pools in IIS 7 on Microsoft TechNet.
 

Upon Upgrade, MDS May Not be Displayed in Selected Features

 
When you upgrade the RTM version of SQL Server 2012 Master Data Services to the CU1 version, MDS will not be displayed on the Selected Features page in setup, even though MDS will be patched as expected. You cannot easily determine whether MDS CU1 is installed. When this occurs, you can see the MDS CU1 is installed as follows. 1. Upgrade the MDS database in the MDS Configuration Manager. 2. Open up SQL Server Management Studio, and open up the mdm.tblSystem table in the MDS database. 3. Check the SchemaVersion value. For the CU1 release, the schema version should be “11.0.3.0”.
 

Extended Protection settings can cause problems with MDS Explorer

 
When you launch the MDS Web site, and click on Explorer, you can get an error condition in which the data is not displayed, and you get an error message indicating that the extended protection settings configured on IIS do not match the settings configured on the transport.
This occurs when Extended Protection is turned on, and its value is set to Always. To turn Extended Protection on or off, proceed as follows:
 
  1. Open the IIS Manager.
  2. Select the Web application where MDS is deployed from the tree on the left.
  3. Right-click on Authentication in the center pane, and select Open Feature.
  4. Make sure Windows Authentication is enabled and selected.
  5. Click Advanced Settings in the Actions pane on the right.
  6. Set the Extended Protection (Off by default) to either Accept or Required.

 

Error while trying to enable integration with Data Quality Services when running on a Domain Controller

In MDS Configuration Manager, when you click the button [Enable integration with Data Quality Services] , it may fail with an error when the server is a Windows Domain Controller (DC).  The error is:

 "Error while trying to enable integration with Data Quality Services. SQL Server returned the following error: Windows NT user or group 'ComputerName\MDS_ServiceAccounts'  not found. Check the name again.

The cause of the problem is that MDS has created a global domain group called MDS_ServiceAccounts, and is trying to put the group into the DQS security role. Instead it should use the domainname\MDS_ServiceAccounts. SQL only allows windows user names (not group names), and MDS is confusing it about group vs. user.  This is not fixed in the SQL 2012 released product, so use an easy workaround.

Manual Workaround:
1. Manually add DOMAIN\MDS_ServiceAccounts as a Windows User login into your SQL Server security.

Query to run in Management Studio. Replace the placeholder DOMAIN with your own domain name. 
 
use [DQS_MAIN]
GO
IF NOT EXISTS (SELECT * FROM SYS.SYSUSERS WHERE NAME = 'MDS_ServiceAccounts')
CREATE USER [MDS_ServiceAccounts] FOR LOGIN [DOMAIN\MDS_ServiceAccounts]
 
2. Map the login to access DQS_MAIN role dqs_administrator which in effect is the same thing that the button does.

Query to run in Management Studio:
USE DQS_MAIN
GO
EXEC sp_addrolemember @rolename=N'dqs_administrator',@membername=N'MDS_ServiceAccounts'

// It will call - ALTER ROLE [dqs_administrator] ADD MEMBER [MDS_ServiceAccounts] within the DQS_MAIN database.

Now the MDS_ServiceAccounts are part of the dqs_administrator role, and MDS can interface with DQS on the same SQL Server instance.


See Also  
 
 


Other Language

 
This article is also available in the following languages: 
 

Brazilian Portuguese (pt-BR)

  
  
  
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 40. Comment: Change tag "sql server 2012 "Denali" columnstore index tuning" to "SQL Serrver 2012 "Denali"

  • Jason H - SQL edited Revision 39. Comment: Added "Error while trying to enable integration with Data Quality Services when running on a Domain Controller"

  • Fernando Lugão Veltem edited Revision 28. Comment: added portuguese version  

  • Jason H - SQL edited Revision 4. Comment: added 404.3 error

  • Ed Price MSFT edited Revision 3. Comment: Title and tag

  • LarenC_MSFT edited Revision 2. Comment: Added HTTP 500.21 section

Page 1 of 1 (6 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • LarenC_MSFT edited Revision 2. Comment: Added HTTP 500.21 section

  • Ed Price MSFT edited Revision 3. Comment: Title and tag

  • Jason H - SQL edited Revision 4. Comment: added 404.3 error

  • To solve "The required svc handler mappings are not installed in IIS." and some other issues you need to join computer where MDS is installed to an Active Directory domain. This issue has been identified in RCO and fixed in RTM.

  • Fernando Lugão Veltem edited Revision 28. Comment: added portuguese version  

  • I'm running into an issue with my SQL Server 2012 MDS installation and it doesn't seem to be covered anywhere.

    The site is configured and I can access it, but the second I try to do anything on the Integration page, I get an error from Silverlight -- "The remote server returned an error: NotFound.".

    Any ideas?

    Thanks!!

    Shawn

  • Jason H - SQL edited Revision 39. Comment: Added "Error while trying to enable integration with Data Quality Services when running on a Domain Controller"

  • Richard Mueller edited Revision 40. Comment: Change tag "sql server 2012 "Denali" columnstore index tuning" to "SQL Serrver 2012 "Denali"

Page 1 of 1 (8 items)