MDF File of MS SQL Server 2008 is Corrupted

  • Last Night I have a problem due to Power failure actually i have used Microsoft SQL Server 2008 everything is going smooth but last night my MDF Database File is not working proper it's happen just power failure and i have no backup suddenly my server is closed and when i try to open it again i am very disappointed to see that MDF Database File is corrupted There are so many data in database the problem is seems very danger when i know that my backup file is also not in good condition but have a hope for recovery process if any body have any idea or information how to recover and get back my MDF File database please give me .

  • Without details on exactly what you've done, what errors you're seeing and what exactly you mean by 'corrupted' it's impossible to give any useful advice on recovering the mdf.

    That said, restore from your last good backup. Best and fastest way usually to recover from corruption.

    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
  • As Gail noted, you haven't given any details.

    Have you run a DBCC CHECKDB? (DO NOT run the repair with data loss option).

    Are there errors in the error log or from an application?

    Have you taken any backups in the past or tried to take one now?

  • Yes, tell us what errors you are seeing or why you think it is corrupted. Does it show SUSPECT next to the DB in Mgt Studio? What errors do you see in the SQL Server log.... tried to run DBCC CHECKDB yet?

  • Hi,

    Thank You very much for your reply actually i got a table error and error shows as "Record check (CHECK_TEXT) failed" i have large table of database where are many entry and and when i try to open database some error shows on my sQL Server and show some error no as "error 2537" while i used my DBCC CHECKDB .

  • Run this and post your results:

    DBCC CHECKDB (YourDBName) WITH NO_INFOMSGS, ALL_ERRORMSGS

  • Exact messages please. Also what's in the SQL Server error log.

    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
  • H friends one thing i want to say that i am not a tech guys so i can't understood what you want to know more i just want my MDF File back some error i found more if it's helpful you please give me some suggestion....

    Connection failed. ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'msadmin'. ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'msadmin'.

  • Nope, that's just a login failure, not related at all.

    We need all the errors that suggested to you that the file was corrupt. Honestly though, at this point just restore your latest backup and carry on. This database has been down for 2 days already, no reason to waste more time investigating fixes that might not work when you can restore a backup.

    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
  • As you discuss above i thinks so that you lost your MDF File as you say .

    any way you can recover your MDF File with the help of third party data recovery software.

    have you ever used data recovery software to solve your problem.if not you can try .

    There are so may data recovery software which can help you to find your data back choose one of them.

    In my opinion you can use Kernel for Sql server recovery software.

Viewing 10 posts - 1 through 9 (of 9 total)

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