Hi @Shane P. Watson,
It looks like SSMS cached the last folder path you used in the Locate Database Files dialog, and since that path pointed to a USB drive that no longer exists, the dialog froze and the OK button stayed disabled. That’s why even a dummy .mdf filename wouldn’t enable it.
What worked for me was pasting the full file path (e.g. C:\SQLData\MyDB.mdf) directly into the filename box. SSMS then attached the database successfully, and after restarting SSMS the tree refreshed correctly.
If this happens again, you can reset SSMS’s cached UI state by closing SSMS and deleting the SqlStudio.bin file under:
%AppData%\Microsoft\SQL Server Management Studio<version>\
Restart SSMS and the dialog will rebuild with default settings.
Thanks,
Lakshmi