?
Solved

SQL 2000 Enterprise manager "Cannot open user default database"

Posted on 2009-07-13
7
Medium Priority
?
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 1000 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 1000 total points
ID: 24846940
is there a windows account that is a member of the sysadmin role?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

765 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