[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

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

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
PDSWSS
Asked:
PDSWSS
  • 2
1 Solution
 
Matthew KellyCommented:
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
 
PDSWSSAuthor Commented:
Thank you very much.  I was not adding the users to the Server Security Folder.
You just saved me a lot more frustration.
0
 
PDSWSSAuthor Commented:
Perfect answer.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now