Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

MDF File of MS SQL Server 2008 is Corrupted Expand / Collapse
Author
Message
Posted Monday, August 27, 2012 5:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 29, 2012 4:56 AM
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 .
Post #1350322
Posted Monday, August 27, 2012 6:02 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:32 PM
Points: 42,458, Visits: 35,518
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 2008, MVP
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

Post #1350338
Posted Monday, August 27, 2012 6:59 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 5:53 PM
Points: 33,063, Visits: 15,179
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
Post #1350362
Posted Tuesday, August 28, 2012 6:13 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 9:28 AM
Points: 1,233, Visits: 2,737
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?


Post #1350870
Posted Tuesday, August 28, 2012 7:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 29, 2012 4:56 AM
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 .


Post #1350900
Posted Tuesday, August 28, 2012 7:03 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 9:28 AM
Points: 1,233, Visits: 2,737
Run this and post your results:

DBCC CHECKDB (YourDBName) WITH NO_INFOMSGS, ALL_ERRORMSGS



Post #1350902
Posted Tuesday, August 28, 2012 7:33 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:32 PM
Points: 42,458, Visits: 35,518
Exact messages please. Also what's in the SQL Server error log.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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

Post #1350922
Posted Wednesday, August 29, 2012 5:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 29, 2012 4:56 AM
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'.
Post #1351516
Posted Wednesday, August 29, 2012 6:16 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:32 PM
Points: 42,458, Visits: 35,518
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 2008, MVP
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

Post #1351551
Posted Monday, September 3, 2012 5:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, September 3, 2012 5:40 AM
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.

Post #1353468
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse