MSSQLSERVER_18452

Applies to: yesSQL Server (all supported versions)

Details

Attribute Value
Product Name SQL Server
Event ID 18452
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name LOGON_INVALID_CONNECT
Message Text Login failed for user '%.*ls'. The login is a SQL Server login and cannot be used with Windows Authentication.%.*ls

Explanation

The user attempted to login with credentials that cannot be validated. Possible causes are:

  • The login may be a SQL Server login but the server only accepts Windows Authentication.

  • You are trying to connect using SQL Server Authentication but the login used does not exist on SQL Server.

  • The login may use Windows Authentication but the login is an unrecognized Windows principal. An unrecognized Windows principal means that the login cannot be verified by Windows. This could be because the Windows login is from an untrusted domain.

Similar problems can cause the less-specific error 18456.

User Action

If you are trying to connect using SQL Server Authentication, verify that SQL Server is configured in Mixed Authentication Mode.

If you are trying to connect using SQL Server Authentication, verify that the SQL Server login exists.

If you are trying to connect using Windows Authentication, verify that you are properly logged into the correct domain.