I often faced this error that :
TITLE: Microsoft SQL Server Management Studio
------------------------------
An error occurred when attaching the database(s). Click the hyperlink in the Message column for details.
------------------------------
BUTTONS:
OK
------------------------------
I google it with many site but problem is not solved
If someone faced this error before than let me know
Database file is also created by SQL Server 2012 but still facing error while attaching