Prøv også disse metoder...
CREATE DATABASE AdventureWorks2012
ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH_REBUILD_LOG
GO
ELLER Prøv dette...
CREATE DATABASE AdventureWorks2012
ON ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH
GO