Solved

SQL 2008 Microsoft SQL server, error: 18456

Posted on 2011-09-26
2
602 Views
Last Modified: 2012-05-12
I upgraded my SQL Server 2005 Standard Edition to SQL 2008 Standard Edition (10.0.400) on a Windows 2003 R2 Server SP 2 the other day.  This machine had two developers which had local admin to the server which in turn gave them local SA equivalent to the SQL instance when it was SQL 2005.
The upgrade was successful with no errors, but when either of the two users try to login with their domain account they get the following error.
Microsoft SQL server, error: 18456
Now I made sure that there windows domain account had DBO access to the database that they needed access to.  Unfortunately, this did not resolve the problem.  But when I gave the SA equivalent they were able to connect.  Since I am like any other DBA I don’t want to give them SA equivalent.
However, I have found that if I removed there group (Windows\GroupName) from the local admin group from the server then they were able to connect to the SQL instance without SA equivalent.
 These two users need local admin to the server but they don’t need SA equivalent.   If I grant them local admin to the server they get the error message above.  But when I remove them from local admin they can connect to the SQL instance, how do I resolve this problem?
0
Comment
Question by:RayManAaa
2 Comments
 
LVL 3

Accepted Solution

by:
_-W-_ earned 500 total points
ID: 36601373
Add them back to local admin & add them to the new SQLServerMSSQLUser$ group. If that does not give them access, make sure they have access to the Master Database and try adding them to sysadmin on the instance.
0
 

Author Closing Comment

by:RayManAaa
ID: 36709622
Thanks, that worked!
0

Featured Post

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.

Question has a verified solution.

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

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

785 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