import damaged SQL MDF file

  • 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?

  • Check this http://www.sqlrepair.org/ you may able to repair . But I doubt if you can . I have not tried myself , but you can give a try .

  • WilliamPhill (4/29/2015)


    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?

    Quick question, what have you tried so far and what errors are you getting?

    😎

  • Don't try any of the advertised repair sites/tools.

    What are the EXACT errors you get when trying to attach? Please use the T-SQL CREATE DATABASE ... FOR ATTACH, not the GUI so that you can get all of the messages.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Restore from the SQL Server backups or use SQL Server Repair Toolbox. The MS SQL repair tool reads *.mdf and *.ndf files and saves data, structure, links, etc. as SQL scripts or exports directly to Microsoft SQL Server through direct connect. If database have a SUSPEND state in Management Console then our software can helps to recover data from it. https://www.repairtoolbox.com/sqlserverrepair.html

  • OsborneHar (5/3/2015)


    Restore from the SQL Server backups or use SQL Server Repair Toolbox. The MS SQL repair tool reads *.mdf and *.ndf files and saves data, structure, links, etc. as SQL scripts or exports directly to Microsoft SQL Server through direct connect. If database have a SUSPEND state in Management Console then our software can helps to recover data from it.

    I think it is very irresponsible to propose a tool or a method for a repair when the actual problem is not known!

    😎

  • This was removed by the editor as SPAM

  • You must be encountering a corruption and have to repairs the damaged or corrupted MDF and NDF files. Try the MS SQL Database Repair Tool [/url]it repairs all types of corruption. It reads the files and saves data, structures and many more. With the help of this tool you can easily recover your corrupted data. just try this...

    :-P;-)

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply