SQL Database Login Failure

Tom Tucker 0 Reputation points
2023-10-19T15:10:38.7366667+00:00

One of my users is getting a "login failed for user" message when trying to login.

The most common answer that I've seen is making sure that that SQL configuration is set to "SQL Server and Windows Authentication mode" which it is. I believe that the issue might be with some sort of network authentication. Users in one building can access the database while users in another building cannot access it.

Any thoughts on this?

SQL Server Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2023-10-19T16:32:32.1366667+00:00

    Any thoughts on this?

    With that less on informations: No.

    Lookup SQL Server ErrorLog for details about the failed login attempts; by default that gets logged.

    0 comments No comments

  2. Anonymous
    2023-10-20T02:25:07.1166667+00:00

    Hi @Tom Tucker

    This is a common error.

    You can provide the ErrorLog according to Olaf's advice.

    As a supplement, you can refer to this official document.

    https://learn.microsoft.com/en-US/sql/relational-databases/errors-events/mssqlserver-18456-database-engine-error?view=sql-server-ver16

    Best regards,

    Percy Tang

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.