SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

krisdotca
Starting Member

Canada
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?

russell
Pyro-ma-ni-yak

USA
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  
 New 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.08 seconds. Powered By: Snitz Forums 2000