SQL Server Login

Posted on 2014-11-27
Last Modified: 2015-01-06
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?
Question by:Brogrim
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
  • 3
  • 3
  • 2
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 40469195
Whats the error message ? are you able to login to the sql server with the specified user name and password ?
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40469204
So, where's the error message?

Author Comment

ID: 40469205
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.
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40469208
In the ODBC configuration for that connection you need to check the Windows Authentication option and not provide a user and password.

Author Comment

ID: 40469269
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?
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40469280
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.
LVL 75

Accepted Solution

Aneesh Retnakaran earned 500 total points
ID: 40469326
Do you see any error message on the SQL Server error log ?

Author Closing Comment

ID: 40533272
apologies on delay, too long a story

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sorting a SQL script 5 38
I have an unknown large SQL database I want to get rid of 10 43
Search Text in Views 2 27
Migrate SQL 2005 DB to SQL 2016 4 25
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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

737 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