Symptoms
Assume that you run a Multidimensional Expressions (MDX) query after you run an UPDATE CUBE statement in Microsoft SQL Server 2012 Analysis Services (SSAS 2012) or Microsoft SQL Server 2008 R2 Analysis Services (SSAS 2008 R2). In this situation, you may receive the following error message:
Internal error: An unexpected error occurred (file 'mdcell.cpp', line 3537, function
'MDBaseSubcube::DecodeRelAttr').Note The issue only occurs when you have SSAS 2012 Service Pack 1 (SP1) or a later version of SSAS installed.
Resolution
Cumulative update information
The issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 10 for SQL Server 2012 /en-us/help/2891666
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:
Cumulative Update 8 for SQL Server 2008 R2 Service Pack 2The fix for this issue was first released in Cumulative Update 8. 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:
2871401 Cumulative update package 8 for 2008 R2 Service Pack 2Note 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
Cumulative Update 4 for SQL Server 2012 Service Pack 1The fix for this issue was first released in Cumulative Update 4. For more information about how to obtain this cumulative update package for SQL Server 2012 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
2833645 Cumulative update package 4 for SQL Server 2012 Service Pack 1Note 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 2012 Service Pack 1 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:
2772858 The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.