Solved

Shelby server crash

Posted on 2011-09-24
5
301 Views
Last Modified: 2012-05-12
Hi all,
I had a windows server 2000 crash on me and I've been working on restoring our Shelby server using recovered mdf and bak files but have had no results.  The mdf file I have was not detached properly and is giving me the error: “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\shelbydb.mdf is not a primary database file. (Microsoft SQL Server, Error: 5171)”.  When I try the .bak files I've been able to retrieve, the new shelby does not recognize them as valid shelby bak files.  So, with this said, does anyone ideas on how I can either 1) fix the mdf file or 2) fix the bak file so that I can get our shelby server up again.  Any help would be greatly appreciated!!  Thank you in advance.
0
Comment
Question by:eddie_madrigal
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
Deepu Chowdary earned 500 total points
ID: 36594323
0
 

Author Comment

by:eddie_madrigal
ID: 36594400
Hi Exchange9,
I've tried the attach but because the mdf file I have was never detached, I get a 'not a valid database header' error; I will try:

RESTORE DATABASE shelbydb FROM 'c:\backup\shelby.mdf' WITH RECOVERY

and see what happens.

Thank you.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36594406
Ok :)
0
 
LVL 11

Expert Comment

by:sparab
ID: 37043526
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

747 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