Solved

SQL 2000 Enterprise manager "Cannot open user default database"

Posted on 2009-07-13
7
317 Views
Last Modified: 2012-05-07
We have been running a SQL 2000 SP4 server for the past 4 years without any problems. SQL is running on it's own hardware on top of Windows Server 2003.

Suddenly I noticed that when entering Enterprise Manager and trying to open the local server that I would receive an authentication error. I can still connect to other SQL servers on the network and manage them successfully.

I then removed the local server from Enterprise Manager and tried to add it again, at which point I got the following error "(LOCAL) - Cannot open user default database. Login failed"
(We are using Windows authentication)

I am also unable to manage that specific server from another workstation.

All databases on the server are up and running, but I am unable to manage them at all.

I can't find anything specific to this in the event logs...
0
Comment
Question by:dexani
  • 3
  • 3
7 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 250 total points
Comment Utility
log on with a SA account and see which is the default database for the failed user. Then make sure they have the correct permissions for that database
0
 

Author Comment

by:dexani
Comment Utility
Unfortunately we do not have the sa password for this server since we have always used Windows auth, is there some way of resetting it ?
0
 
LVL 29

Assisted Solution

by:QPR
QPR earned 250 total points
Comment Utility
is there a windows account that is a member of the sysadmin role?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:dexani
Comment Utility
Not sure, what I did notice is that if I login ad local administrator, not the domain administrator I am able to use Enterprise manager...
0
 

Author Comment

by:dexani
Comment Utility
The previous comment should have read :
Not sure, what I did notice is that if I login as local administrator, and not the domain administrator I am able to use Enterprise manager...
0
 
LVL 29

Expert Comment

by:QPR
Comment Utility
ok when in enterprise manager, go to security under the server name, find the user who is having problems and check what their default db is. Now under user mapping check to make sure they are a member of at least "public" in that db. Either do that or change their default db to one where they do have permissions.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now