Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Error: 18456, Severity: 14, State: 58

Error: 18456, Severity: 14, State: 58

Error: 18456, Severity: 14, State: 58


Hi All

I have having issues connecting to a sql server and keep getting "Error: 18456, Severity: 14, State: 58" when trying to logon with a SQL login. The SQL login works ok when on the server itself, but when trying to connect to the sql server from a client I get the error message. I have already checked the followed:

1: SQL server is in mixed authentication mode.
2: The server is setup to allow remote connections.

Any ideas?


RE: Error: 18456, Severity: 14, State: 58

Are you trying to connect with SQL Server Management Studio or is it a different application? Can you show the connection string you are using to connect?

Microsoft SQL Server MVP
My Blogs
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom

RE: Error: 18456, Severity: 14, State: 58


I am trying to connect mainly from SQL Server Management and SQL cmd line, when using SQL cmd line I get asked for the user name and password but it still fails on the client computer. I will be using code in the future to query the database when I can establish a connection to the server.

RE: Error: 18456, Severity: 14, State: 58


Bump, anyone have any ideas?

RE: Error: 18456, Severity: 14, State: 58

According to this article, you may have the SQL Server configured to accept only Windows authenticated logins (default setup).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close