[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

import damaged SQL MDF file

Posted on 2013-11-07
3
Medium Priority
?
431 Views
Last Modified: 2013-12-11
I have a PC that had sql 2005 running on it that has died. The OS is corrupt and wont boot / repair at all.

I have managed to get the MDF file off of the machine but I cant attach it to another SQL server because it is damaged.

How can I go about trying to repair this file?
0
Comment
Question by:CaptainGiblets
3 Comments
 
LVL 34

Expert Comment

by:Big Monty
ID: 39630349
if you want to pay for a solution, you could check out this tool:

http://www.systoolsgroup.com/sql-recovery.html
0
 
LVL 6

Author Comment

by:CaptainGiblets
ID: 39630403
I have seen a few of these but preferably I would prefer a free option.
0
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 2000 total points
ID: 39630618
I would recommend taking a look at this blog for how to attach damaged datafiles (which would then allow you to attempt recovery): http://blogs.msdn.com/b/suhde/archive/2009/05/12/database-corruption-part-2-how-to-attach-a-database-using-the-create-replace-method.aspx?Redirected=true
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

612 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