TITLE: Microsoft SQL Server Management Studio Attach database failed for Server \'DESKTOP-MR6JCUA\'. (Microsoft.SqlServer.Smo) ADDITIONAL
TITLE: Microsoft SQL Server Management Studio
Attach database failed for Server \'DESKTOP-MR6JCUA\'. (Microsoft.SqlServer.Smo)
ADDITIONAL
Please select Data source as .\sqlexpress intead of (localdb)\MSSQLLocalDB
.\sqlexpress
(localdb)\MSSQLLocalDB
For example, try to set the Database connection string as
Data Source=.\sqlexpress;AttachDbFilename=C:\\...\\XXX.mdf; Integrated Security=True;