?
Solved

SQL Server error: 18452

Posted on 2008-10-13
4
Medium Priority
?
1,412 Views
Last Modified: 2012-08-14
Connection failed:
SQLState; '28000'
SQL Server Error: 18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

This is the error I am getting on a fresh install of Windows XP Pro. It works on other installs of XP Pro but will not work on this one. Anything would be a great help.
0
Comment
Question by:ahmad1467
[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
  • 2
  • 2
4 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22704533
this error means that sql server is allowed only windows authentication, but the current connected windows user does not HAVE permissions to login to that sql server.
0
 

Author Comment

by:ahmad1467
ID: 22704687
I gave that user the same permissions on that server that I have. I can connect to the database  but that user cannot. Could there be a setting on the local machine that is blocking the login?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 22705787
as I said: please check if the server is configured to allow only windows authentication (which I presume).
then, in the sql server logins, check if there is a login referring to the windows login (or a windows group the windows login is member of)...
0
 

Author Closing Comment

by:ahmad1467
ID: 31406286
Come to find out the database is on another server then the one running SQL. Thank you
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

718 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