I think something happened to an mdf file on disk.
When I try to start SQL Server Mgmt Studio (SQL Server 2008, Win 7 x64), I get an error:
“Cannot open user default database.”
Since I can’t connect at all, how do I fix this?
I have tried connecting to other dbs using osql, but always get an error.
Thanks for any workarounds…
The easiest way to do this is via command line. You keep opening connections using SSMS that fail…
Using command line you’ll have one connection and delimit the login name correctly: “[SVR\USR]”
or replace
-Ewith-U SQLLogin -P Passwordif you have a SQL login handy