[SQL Server Analysis Services] - "Errors in the metadata manager" when restoring a backup - Jon Galloway

[SQL Server Analysis Services] - "Errors in the metadata manager" when restoring a backup

I had trouble restoring a SQL Server 2005 Analysis Services backup today due to "Errors in the metadata manager" messages:

The ddl2:MemberKeysUnique element at line 243, column 28420 (namespace http://schemas.microsoft.com/analysisservices/2003/engine/2) cannot appear under Load/ObjectDefinition/Dimension/Hierarchies/Hierarchy.
Errors in the metadata manager. An error occurred when instantiating a metadata object from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\...

I'm still a relative rookie with SSAS, but I knew enough to suspect that the solution had nothing to do with the backup. My general programming M.O is to try a few things before I start searching for solutions, but with SSAS errors I give a shot at rebuilding the cube (if applicable) and then search.

Sure enough, others had seen this problem and traced it to SQL Server 2005 SP2 not being installed on the backup source or target. I checked and SP2 hadn't been installed on the target database server. Once I installed SP2 on the target server the restore went just fine.

Published Thursday, June 21, 2007 12:09 AM by Jon Galloway
Filed under:

Comments

# re: [SQL Server Analysis Services] - "Errors in the metadata manager" when restoring a backup

I have the same problem when trying to restore cube database on our live server. What interesting - when I am restoring the same cube on the test server (where backup was made) everything is ok.

Did you find any solution to this problem?

Thanks

Greg

gmaslanka@gmail.com

Tuesday, September 04, 2007 4:42 AM by Greg

# re: [SQL Server Analysis Services] - "Errors in the metadata manager" when restoring a backup

I encountered this error when restoring db from production to local machine.

SOLUTION::: This I have solved by installing SP2 (or latest fix) for SQL Server 2005.

It's worked for me.

Hope this helps!!

[[Success is a journey; not a destination]]

Wednesday, April 30, 2008 6:34 AM by Harshil Surti

Leave a Comment

(required) 
(required) 
(optional)
(required)