As the error says the particular login is Disabled. Thus, we need to enable the user.
Follow these steps to enable the user.
Go to start -> programs.
Open Sql server management studio
Login to the SQL server (using windows authentication).
Expand the security tab.
Expand the Login folder.
Select the user for which you got this error. In this case 'sa'.
Right click and select properties.
Enable the user.
Save settings.
Now it should work fine. Hope this will help.
Follow these steps to enable the user.
Go to start -> programs.
Open Sql server management studio
Login to the SQL server (using windows authentication).
Expand the security tab.
Expand the Login folder.
Select the user for which you got this error. In this case 'sa'.
Right click and select properties.
Enable the user.
Save settings.
Now it should work fine. Hope this will help.
Unfortunately the sa account is the only login on my SQL Server and the Windows Authentication is greyed out. Finally I managed to enable the disabled sa account using a software.
ReplyDeleteThanks for sharing this Michael
Delete