Are you facing Microsoft SQL server error: 18470?
This guide will help you.
The SQL Server Error : 18470 mainly occurs when the SA (System Administrator) user account is disabled in the SQL Server. Enabling SA user account helps to fix this error
In this context, we shall look into steps to fix this SQL server error.
How to fix Microsoft SQL server error: 18470?
You can apply the tips given in the following steps to fix to fix Microsoft SQL server error 18470.
1. Enable the SA user account
Steps for enabling the SA user account is given below:
i. First, we will log in to SQL Server Management Studio (SSMS) using Windows Authentication.
ii. Then go to SSMS and take Server
iii. From there take Security and go to Logins.
iv. After that, right-click on the SA account and select Properties.
v. In the Login Properties screen, select Status on the left side.
vi. We will see that the Disabled option is checked.
vii. Will will change the Login option from Disabled to Enabled and then click OK.
viii. Finally we will restart the server.
An alternative and easier way for our customers to enable SA account and set a password using the query below:
ALTER LOGIN sa ENABLE;
ALTER LOGIN sa WITH PASSWORD = 'you new strong password';
2. Enabling mixed-mode authentication
The steps to follow are given below:
i. First, we can log in to the server using Windows authentication.
ii. Then right-click on the server and go to Properties from there take Security.
iii. Under the Server Authentication section, we will find that the “Windows Authentication Mode” radio button selected.
iv. Next, we will select the “SQL Server and Windows Authentication Mode” radio button.
v. And click the OK button.
vi. Finally we will restart the server.
This will fix the Microsoft SQL server error: 18470.