Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To solve this error, we need to change the authentication mode in SQL server.

How To Fix Error 18456

Steps To Change The Authentication Mode

Step 1

Log in to the SQL server instance using SQL Server Management Studio(SSMS). Right-click on the database instance, and go to Properties.

How To Fix Error 18456

Step 2

On the Server Properties page, Click on Security page. Click on the radio button next to SQL Server and Windows Authentication mode, and click on OK to close the Server Properties page.

...

Once you click on the Ok button, we will get the following screen. We will need to restart the SQL Server service to make this change effective. After restarting the SQL Server, the authentication mode will be changed to SQL Server and Windows Authentication mode.

How To Fix Error 18456

Step 3

Now go to Sql Server Configuration Manager and restart the MSSQLSERVER.

...