If you encounter any error message while opening the MDF file, the file is corrupt. MDF File recovery Pro tool can successfully fix “xxxx.mdf is not a primary database file” and all such error messages which occur due to corruption.