I have a SQL server installation with 3 logins defined, among them the 'sa' user. All 3 logins have a database by the name of 'Emps' as their default database. Unfortunately, the 'emps' database was removed, and now I can't login to the SQL Server. I get the error
'Cannot open user default database. Login failed'.
I have tried this from Query Analyzer and Enterprise Manager with the same result. How can I get back into my server? I have several databases on this server and I know the password for the logins, but I can't get in to the Server to make any changes, including adding new users, reattaching the database or anything else...
Reinstallation of SQL Server is not an option.
Thanks in advance...
'Cannot open user default database. Login failed'.
I have tried this from Query Analyzer and Enterprise Manager with the same result. How can I get back into my server? I have several databases on this server and I know the password for the logins, but I can't get in to the Server to make any changes, including adding new users, reattaching the database or anything else...
Reinstallation of SQL Server is not an option.
Thanks in advance...