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

Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 29, 2016, 1:02 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Dec 28, 2016, 9:17 AM EST
Jeyveen Bhoyroo78 reputationPosted Jan 4, 2017, 11:45 PM EST
To resolve this issue, make sure that you select the Map To Credential check box on the General tab of the Login Properties - sa dialog box before you change the "sa" login properties and then click OK to close the dialog box.
Else in Microsoft SQL Server,
Right click on SQL Server Management Studio
Click on Run as administrator.
I hope this helps you.
Kind Regards,
Jeyveen Bhoyroo.
Suthish NairRank #92 · 22.8K reputationPosted Jan 4, 2017, 11:56 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 28, 2016, 5:32 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Dec 28, 2016, 9:35 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Dec 28, 2016, 9:38 PM EST
Amit GuptaRank #190 · 12.8K reputationPosted Dec 28, 2016, 9:47 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Dec 28, 2016, 9:52 PM EST
Amit GuptaRank #190 · 12.8K reputationPosted Dec 28, 2016, 10:02 PM EST
Manish KumarRank #1,622 · 956 reputationPosted Dec 28, 2016, 10:12 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 28, 2016, 11:04 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Dec 28, 2016, 11:45 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Dec 28, 2016, 11:47 PM EST
Manish KumarRank #1,622 · 956 reputationPosted Dec 29, 2016, 12:22 AM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 29, 2016, 12:29 AM EST
Manish KumarRank #1,622 · 956 reputationPosted Dec 29, 2016, 12:41 AM EST
Daniel JonesRank #5,109 · 311 reputationPosted Jan 2, 2017, 6:35 PM EST
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jan 5, 2017, 6:49 AM EST
Manav PandyaRank #166 · 14.3K reputationPosted Jan 5, 2017, 7:25 AM EST
Nigel FernandesRank #753 · 3.1K reputationPosted Jan 5, 2017, 4:02 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts