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
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 Other Forums
 Other Topics
 Problem in Enterprise Manager when i am opening DB
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

68 Posts

Posted - 03/16/2005 :  09:38:50  Show Profile  Send yasin an AOL message  Reply with Quote

I Detached the user default database from the server (Using EM) and when i was attaching the database,there is a problem. Enter prise Manager is working but In a servergroup, a particular server is not opened(Expand). It shows the error as cannot open user default database, Login failed, i entered in EM using sa login.

Please any one can help me in this regards.

thanx in advance.



Flowing Fount of Yak Knowledge

6065 Posts

Posted - 03/16/2005 :  11:35:21  Show Profile  Reply with Quote
Your DB probably has a new ID in sysDatabases so your old default database value is gone. Can you get to a QA window on that server? If so:

sp_defaultdb '<YourLogin>', 'YourDB'

Be One with the Optimizer
Go to Top of Page


United Kingdom
22859 Posts

Posted - 03/16/2005 :  11:43:59  Show Profile  Reply with Quote
Just to prevent the spread of this one!

I think this has been answered in
at the least it is duplciated there



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