SQL giving lot of problem

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'
venkatarathnamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sander StadSysteemontwikkelaar, Database AdministratorCommented:
Have you already installed SP2 for MS SQL 2005?
0
jmoss111Commented:
If you detach the database then you can delete it.
0
venkatarathnamAuthor Commented:
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
ee_autoCommented:
Question PAQ'd, 250 points refunded, and stored in the solution database.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.