I have a database file .mdf from MS SQL EXPRESS in folder:
.mdf
C:\\Program Files\\Microsoft SQL Server\\MSSQL10.SQLEXPRESS\\MSSQL\\DATA
I was able to solve the problem running MS SQL Management Studio as ADMINISTRATOR.