Question: mdf is not a primary database file?
Answer: mdf is not a primary database file. It means the original database had more files. ... If the file name is correct and truly is the original primary file yet it refuses to attach it may be that is corrupted and all data on it is lost. You need to restore from a backup or recreate the DB and re-enter the data again.