SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 SQL Server 2005 Database Recovery
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ejazmusavi
Starting Member

Pakistan
1 Posts

Posted - 12/30/2011 :  04:59:00  Show Profile  Reply with Quote
I have suddenly deleted a sql server databse file from Sql server management studio. and recovered it using a data recovery software. but now unable to open this database. the error is "aaa.mdf is not a primary database file error 5171". i need urgent solution plz. help me to solve this issue. it is very urgent

Kristen
Test

United Kingdom
22403 Posts

Posted - 12/30/2011 :  05:19:00  Show Profile  Reply with Quote
Restore from backup is your first, best, option here.
Go to Top of Page

webfred
Flowing Fount of Yak Knowledge

Germany
8679 Posts

Posted - 12/30/2011 :  05:20:04  Show Profile  Visit webfred's Homepage  Reply with Quote
The file is corrupt. If there isn't a backup then you have to buy a recovery tool I think.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 12/30/2011 :  06:13:51  Show Profile  Visit GilaMonster's Homepage  Reply with Quote
Restore from backup, that file is damaged.
I don't think I've ever seen a database file recovered with any file recovery tool being usable afterward.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000