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