Please follow the below steps
- Login to SQL Express using SQL management studio.
 - Right-click on the main tree and go to properties.
 - Go to security.
 - Choose SQL Server authentication
 - Click on Ok and restart the SQL express services.
 
Please follow the below steps