Avatar of Brogrim
Brogrim
Flag for Ireland asked on

SQL Server Login

I have a Microsoft SQL Server 2005 installation. I have always used windows authentication for login.

I use an ODBC to connect to the Front End PC's

All my logins are still listed but when I test the odbc's I am getting the following message.

How can I test the login?
Microsoft SQL Server

Avatar of undefined
Last Comment
Brogrim

8/22/2022 - Mon
Aneesh

Whats the error message ? are you able to login to the sql server with the specified user name and password ?
Vitor Montalvão

So, where's the error message?
Brogrim

ASKER
I can login into the server engine, the message i get from my ODBC is

Connection failed
SQL State 28000
SQL Server Error : 18452

Microsoft ODBC SQL Server Driver SQL Server Login failed for user. The user is not associated with a trusted SQL Server connection.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Vitor Montalvão

In the ODBC configuration for that connection you need to check the Windows Authentication option and not provide a user and password.
Brogrim

ASKER
I have checked the ODBC configuration and it as as you suggested.

My problem is that while logins are listed the users are no longer recognized in Windows Authentication , how can I check if the users are registered on the server?
Vitor Montalvão

Open SQL Server Management Studio and connect to the SQL Server instance and in the Security folder verify the Logins that are there. Should be the users that has permissions to connect.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Aneesh

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Brogrim

ASKER
apologies on delay, too long a story