KB2994082 - FIX: Error when you edit models for some groups or users in MDS for SQL Server 2012 or SQL Server 2014

Applies To
SQL Server 2012 Enterprise SQL Server 2012 Developer SQL Server 2012 Standard SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use)

Symptoms

Assume that you have deleted one or more entities in Master Data Services (MDS) for Microsoft SQL Server 2012 or SQL Server 2014. When you try to edit the model security for some groups or users in MDS, you receive the following error message:

Note

An unknown error occurred.

Note When you enable MDS trace logging and reproduce the error, the following error message is found in the trace log:

Note

An item with the same key has already been added.

Cause

The issue occurs because the attribute level security that belongs to the deleted entity is not removed accordingly.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014 SP1 /en-us/help/3067839

Cumulative Update 6 for SQL Server 2014 /en-us/help/3031047

Cumulative Update 4 for SQL Server 2012 SP2 /en-us/help/3007556

Cumulative Update 13 for SQL Server 2012 SP1 /en-us/help/3002044

About cumulative updates for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

      

Workaround

To work around this issue, remove the corresponding attribute level security, or delete the attributes that are referenced in the group security. Then, delete the entity.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.