Prova också dessa metoder...
CREATE DATABASE AdventureWorks2012
ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH_REBUILD_LOG
GO
ELLER Prova detta...
CREATE DATABASE AdventureWorks2012
ON ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH
GO