Solved

SQL 2005 Error 18456

Posted on 2009-04-15
11
417 Views
Last Modified: 2012-05-06
I have a pc that gets an error when trying to set up an ODBC connection. I get the error code 18456, SQLSTATE 28000. "LOGIN FAILED for X user. It is set up as Mixed mode authentication, but it is only happening on 1 pc. When the user goes to another pc, it works fine (when making the same connection). Any thoughts on any local settings to check for this? We're running McAfee and pretty much disabled it to see if it was blocking any ports. Thanks for your help
0
Comment
Question by:SLNNT
  • 6
  • 5
11 Comments
 
LVL 8

Expert Comment

by:SNilsson
ID: 24148845
Are you using Windows NT authentication in the Dsn, on all computers you have tested or do you sometimes use SQL server authentication ?
0
 

Author Comment

by:SLNNT
ID: 24148874
Win NT authentication on all of them. It works on every other computer but this one
0
 
LVL 8

Expert Comment

by:SNilsson
ID: 24148994
There is a connection to the server since you get 'login failed', so dont worry about ports and such on the client.
When this person goes and try on another working computer I guess that the current user logs out and he logs in to the active directory, if not you are connecting using different accounts.
Also you might want to try loggin on with another account on the faulty machine and see if its an account problem.

0
 
LVL 8

Expert Comment

by:SNilsson
ID: 24149018
Also the computer must of course be a member in the Domain.
0
 

Author Comment

by:SLNNT
ID: 24149042
The pc is on the domain, and when I log in to the pc, it works. I have tried deleting the user profile, and have the user log back in to recreate it, and still doesn't work. The user should have the same AD credentials as I do.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 8

Expert Comment

by:SNilsson
ID: 24149273
Since he has logged on to another computer and succesfully connected.
I can only think of a few scenarios:
1. Another user is logged on to windows when he test on another computer.
2. He logs on with a local account when using his own computer.
3. The Dsn does not save the machine configuration on his computer, he might not be adminitrator on the machine.

 
0
 

Author Comment

by:SLNNT
ID: 24149371
Those are the things I considered but..
1. He logged in under his name on a different pc (same domain)
2. Logs into domain on his pc
3. We added him along with domain admin to admin group on pc with same result
0
 
LVL 8

Expert Comment

by:SNilsson
ID: 24149477
Only thing I can think of is that you can set up a trace on the SQL server when he logs in and hopefully get a more verbose error, and also run the trace when he log in from another computer to see if there is any differences in the credentials.
0
 

Author Comment

by:SLNNT
ID: 24149644
ok, I looked at the Log files and when he tried to connect I got this..
"SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security"

I need to have this user log in to a different pc and see the log files off of the SQL server
0
 
LVL 8

Expert Comment

by:SNilsson
ID: 24150044
There seems to be a related problem here:
http://www.experts-exchange.com/Databases/Q_21868099.html

0
 

Accepted Solution

by:
SLNNT earned 0 total points
ID: 24171934
figured it out. When you specify the server it connects to (drop down list), instead of choosing an option, I just typed in the server name which I think, caused it to go out and find the server name therefore making a "new" connection
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql query help 7 96
MS SQL page split per second is high 19 74
Get row count of current SQL query 8 45
Unable to save view in SSMS 21 59
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now