Solved

SQL giving lot of problem

Posted on 2008-10-22
5
214 Views
Last Modified: 2012-05-05
I cannot  neither create a database in SQL nor delete the
existing database and reporting the error.
Error Detail - "Errors in the metadata manager. The dimension with ID of 'Date', Name of 'Date' referenced by the 'Item' cube, does not exist.
Errors in the metadata manager. An error occurred when loading the Item cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.3\OLAP\Data\iCube_Dev_Partitions.0.db\Item.1.cub.xml'
0
Comment
Question by:venkatarathnam
5 Comments
 
LVL 9

Expert Comment

by:Sander Stad
ID: 22783662
Have you already installed SP2 for MS SQL 2005?
0
 
LVL 18

Expert Comment

by:jmoss111
ID: 22785049
If you detach the database then you can delete it.
0
 

Author Comment

by:venkatarathnam
ID: 22893207
In Business Intelligence Development Studio (BIDS) select your solution in Solution explorer, right mouse click and select Rebuild. You should not get any error during this step.
In BIDS select menu item "Project" and choose "Properties" menu item
Go to "Deployment" tab and change "Deployment Mode" to "Deploy All". Change Processing Option to "Full processing", or to "Do not process" if you are planning to process latter. Close this dialog.
Select your solution in the Solution explorer and choose "Deploy" item.
If reason for above stated error was metadata inconsistencies, you should see no errors during deployment and/or processing.
Change your deployment setting back to what you usually use.
If you are getting similar error during processing, then there is a good chance that data folder that contains MOLAP data is corrupted. To fix this you have to:

Stop Analysis Services service
Make sure you have source deployment files for database that is corrupted
Drop database files from dataDir folder(all the files are deleted)
Start Analysis Services service
Deploy database from source files
Process database
 If you are getting this error when restoring backup, there is a possibility that you are trying to restore backup done from SP2 Analysis Services machine on Analysis Services machine with older service pack.
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 23293956
Question PAQ'd, 250 points refunded, and stored in the solution database.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now