PRB: SQL Server Msg 4002: Login Failed; Login Incorrect (40807)



The information in this article applies to:

  • Microsoft SQL Server 4.2x
  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5
  • Microsoft SQL Server 6.5 Service Pack 1 and later
  • Microsoft SQL Server 6.5 Service Pack 2 and later
  • Microsoft SQL Server 6.5 Service Pack 3 and later
  • Microsoft SQL Server 6.5 Service Pack 4 and later
  • Microsoft SQL Server 6.5 Service Pack 5 and 5a

This article was previously published under Q40807

SYMPTOMS

When attempting to log in to SQL Server with a valid login and password, the user receives the following error message:
Msg 4002: Login Failed; Login Incorrect

WORKAROUND

Check for the message "Server booted in single user mode" among the initialization messages in the errorlog file. If this message is present, restart the server without the /m parameter (/m represents single-user mode).

CAUSE

If SQL Server was started in single-user mode, this message appears when subsequent users attempt to log in.

On a case-sensitive server, this message appears if the case in the user name does not match the actual case of the user name in the server.

STATUS


Modification Type:MajorLast Reviewed:12/3/2003
Keywords:kbother kbprb KB40807