Wypróbuj także te metody...
CREATE DATABASE AdventureWorks2012
ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH_REBUILD_LOG
GO
LUB Spróbuj tego...
CREATE DATABASE AdventureWorks2012
ON ON (FILENAME = N'C:\ProgramData\Homefront\Database\DB1.mdf')
FOR ATTACH
GO