SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


MDF File of MS SQL Server 2008 is Corrupted


MDF File of MS SQL Server 2008 is Corrupted

Author
Message
tskuit
tskuit
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 4
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 .
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86132 Visits: 45229
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


Steve Jones
Steve Jones
SSC Guru
SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)SSC Guru (61K reputation)

Group: Administrators
Points: 61415 Visits: 19097
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?

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Markus
Markus
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2967 Visits: 3767
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?



tskuit
tskuit
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 4
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 .
Markus
Markus
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2967 Visits: 3767
Run this and post your results:

DBCC CHECKDB (YourDBName) WITH NO_INFOMSGS, ALL_ERRORMSGS



GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86132 Visits: 45229
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


tskuit
tskuit
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 4
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'.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86132 Visits: 45229
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


kristongarry
kristongarry
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 1
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search