Sidney Poisson

Sidney Poisson

  • NA
  • 1
  • 833

Recover SQL server database

Jun 8 2015 1:41 AM
I am using SQL server 2008 R2, my server has crashed and lost all of the data. I managed to recover the mdf file of database but getting below error message:
 
Error: 5172, Severity: 16, State: 15.
The header for file 'C:\Program Files\Microsoft SQL Server\MSSQL\DATA\mydatabasename.mdf' is not a valid database file header.
 
Is there any way to resolve this error message?
Thanks in advanced

Answers (2)