[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Why are my users not able to log into SQL Server 2008 R2?

Posted on 2013-12-06
3
Medium Priority
?
364 Views
Last Modified: 2013-12-06
I have had SQL Server 2008 R2 Set up on Windows Server 2008 for 3 -4 years.
I can log in everytime.
I set up a new user in Active Directory, he is able to RDP to the desktop
but when he tries to log into SQL Server he gets the attached error.
I set up a mock account to test and that test user gets the same error.

I gave both users  Owner permissions in SQL Server Security for the database.

Please advise.  Thanks,
sqlerror.png
0
Comment
Question by:PDSWSS
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Matthew Kelly earned 2000 total points
ID: 39701793
Using SQL Management Studio, when you look in the Security folder of the server (not the database), do you see both users? Do you see other accounts that have access to the server? What permissions do they have? You can compare those to the two new accounts.

Are you getting the permissions through an AD group that is assigned in SQL? Likely that is how you should assign the users as well (adding them to an AD group) if that is how the other users have been connecting through.
0
 

Author Comment

by:PDSWSS
ID: 39702006
Thank you very much.  I was not adding the users to the Server Security Folder.
You just saved me a lot more frustration.
0
 

Author Closing Comment

by:PDSWSS
ID: 39702009
Perfect answer.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

590 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