Solved

SQL 2000 Enterprise manager "Cannot open user default database"

Posted on 2009-07-13
7
335 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
ID: 24843812
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
ID: 24846651
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
ID: 24846940
is there a windows account that is a member of the sysadmin role?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:dexani
ID: 24849056
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
ID: 24851007
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
ID: 24853760
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

786 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