FIX: You cannot delete a consolidated or collection member from an entity in SQL Server 2008 R2

Microsoft distributes Microsoft SQL Server 2008 R2 Service Pack 2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 Service Pack 2 fix release.
Symptoms
You try to delete a consolidated or collection member from an entity that contains a self-referencing domain-based leaf attribute in Master Data Services (MDS) in Microsoft SQL Server 2008 R2. When you do this, you receive the following error message:

Unable to deactivate Entity: ConsolidatedAttribute/ CollectionAttribute because it is currently used by Entity: DomainBasedAttribute.

Cause
This issue occurs because SQL Server incorrectly checks if the deleted consolidated or collection member is referenced by a domain-based attribute within the entity.
Resolution

Cumulative update information

SQL Server 2008 R2 Service Pack 2

The fix for this issue was first released in Cumulative Update 2. For more information about how to obtain this cumulative update package for SQL Server 2008 R2 Service Pack 2, click the following article number to view the article in the Microsoft Knowledge Base:
2740411 Cumulative update package 2 for SQL Server 2008 R2 Service Pack 2
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 Service Pack 2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2730301 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 2 was released
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 2730795 - Last Review: 08/29/2012 23:35:00 - Revision: 2.0

Microsoft SQL Server 2008 R2 Datacenter, Microsoft SQL Server 2008 R2 Developer, Microsoft SQL Server 2008 R2 Enterprise, Microsoft SQL Server 2008 R2 Standard, Microsoft SQL Server 2008 R2 Web

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2730795
Feedback
: because it is currently used by : " error message when you delete a consolidated or collection memory in..." />
: because it is currently used by : " error message when you delete a consolidated or collection memory in..." />