Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Management Studio - Specifying Db Not Working
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - 06/20/2011 :  09:53:40  Show Profile  Reply with Quote
I'm trying to connect to a SQL Server 2008 database so that I can back it up. The problem is that the default database for the user is invalid and I do not have admin rights to the server.

What I would like to do is connect to the database and specify the database to connect to. I found where to specify the db when connecting through Management Studio and am able to log in but it keeps giving me messages stating "Cannot open user default database" whenever I issue a command against the database (e.g. backing up db by right clicking on it).

Is there any way to connect and get it to permanently remember the default database that was specified?


5072 Posts

Posted - 06/20/2011 :  11:03:41  Show Profile  Visit russell's Homepage  Reply with Quote
Have your sysadmin change your default database to a valid one. Many DBAs leave it as master, specifically for this issue.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000