I have an ASP.NET MVC3 project that has a database. I want to attach that database to SQL Server Management Studio.
In SQL Server Management Studio, I right click Databases, then click Attach, then click Add and it shows the folder/file selection dialog.
The problem is it won’t let me explore any folder inside my user account folder (c:\users\Bob). I can see the Bob folder but there is no + to expand, and shows no child items (even though I know there are files in my windows user folder). Why isn’t it letting me explore there?
SQL Server Management Studio is version 11.0.21 (SQL Server 2012)
I have tried selecting All files from the filter dropdown instead of *.mdf, but no files show.
Two other things to note:
configured for the server as shown below.
SSMS thinks you have one, so if you do not, you will have to click
‘remove’ on that file in the list of files to attach.