Solved

SQL Server error: 18452

Posted on 2008-10-13
4
1,398 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Generate Scripts Fails 5 36
Query Syntax 17 34
SQL - Copy data from one database to another 6 19
Tsql query 6 21
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

776 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