

Remember that this username can have different passwords on different servers.

Invalid password: Wrong password or just a typo. The most common cause is that this userID hasn’t been granted access on the server but this could be also a simple typo or you accidentally are trying to connect to different server (Typical if you use more than one server) Invalid userID: SQL Server is not able to find the specified UserID on the server you are trying to get. How to fix? Check this SQL Server and Windows Authentication Mode page. SQL Authentication not enabled: If you use SQL Login for the first time on SQL Server instance than very often error 18456 occurs because server might be set in Windows Authentication mode (only). State 11 and State 12 Valid login but server access failureīelow is a list of reasons and some brief explanation what to do:.State 7 Login disabled and password mismatch.State 6 Attempt to use a Windows login name with SQL Authentication.
