Solved

SQL Server error: 18452

Posted on 2008-10-13
4
1,394 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
  • 2
  • 2
4 Comments
 
LVL 142

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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

867 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

21 Experts available now in Live!

Get 1:1 Help Now