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
Solved

SQL 2000 Enterprise manager "Cannot open user default database"

Posted on 2009-07-13
7
340 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
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 combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

860 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