?
Solved

Shelby server crash

Posted on 2011-09-24
5
Medium Priority
?
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
Deepu Chowdary earned 2000 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
Gain an elementary understanding of Blockchain technology.
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

801 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