(Error:18456)
18456 is a generic logon failure, you can find more details about in SQL Server ErrorLog file.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I’m trying to login to SQL Server (SSMS) with the server name that is listed under the database engine section on the login screen. It’s the same server I used previously to access SQL but it keeps giving me this error: “A connection was successfully established with the server, but then an error occurred during the login process.” So I checked in the configuration manager to make sure the server was running, which it is. In the options>connections properties tab I selected the “trust server certificate” box & I added within the additional connection parameters: “TrustServerCertificate=True” After I updated everything I tried to login the error message then changed to: “Login failed (Error:18456)”. I double checked to make sure I’m using the windows authentication drop down as well. Also I have never created a SQL username and password so I don’t know why it is saying my login is failed. I have tried everything and spent countless hours trying to fix the issue. Can someone please help?
(Error:18456)
18456 is a generic logon failure, you can find more details about in SQL Server ErrorLog file.
Hi @Ke’Ziah
the error message then changed to: “Login failed (Error:18456)”.
You get this error message when a connection attempt is rejected because of an authentication failure. User logins can fail for many reasons, such as invalid credentials, password expiration, and enabling the wrong authentication mode.
Please refer to this doc for more details: MSSQLSERVER_18456.
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hello
Make sure that ports 1433 and 1434 are open