In order to fix the issue, you need to make sure that the MDF file is for SQL server 2000, SQL server 2005, SQL server 2008, SQL server 2012, or SQL server 2014. If it is belongs to the correct version of SQL server then the file is corrupted and you will need to repair it. To do that, I suggest you use a utility from Software Informer database.