Solved

SQL Server Login

Posted on 2014-11-27
8
87 Views
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?
0
Comment
Question by:Brogrim
[X]
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
8 Comments
 
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 ?
0
 
LVL 50

Expert Comment

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

Author Comment

by:Brogrim
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.
0
Free eBook: Backup on AWS

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

 
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.
0
 

Author Comment

by:Brogrim
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?
0
 
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.
0
 
LVL 75

Accepted Solution

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

Author Closing Comment

by:Brogrim
ID: 40533272
apologies on delay, too long a story
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

691 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