• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

Connection failed

I am stalling a ODBC a windows2008 sever using SQL 2005,  and Iget this error Connection failed: SQLState:2800
SQL Server Error: 18452
(microsoft) (ODBC SQL Server Drive)(SQL Server) Login failed for user xxxxx. The user is not associated with a trusted SQL Server connection.
1 Solution
if you are using a SQLServer user credentials, the "SQL Server and Windows Authentication mode" Under Server Properties --> Security should be enabled. Ask your SQLServer admin about this.

Otherwise, if your using a windows account, you need to be added as a user to the SQLServer DB.
TolimaAuthor Commented:
Thanks I have not use SQL in a loooong time. I will check my books.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now