Login failed for 'sa' because the account is currently locked out. The system administrator can unlock it.
To solve this problem, you need an authority to access the database server directly. Login with the administrator login name, then open Microsoft SQL Server Management Studio. Choose Windows Authentication mode, then click Connect.
Now, in Query windows type this statement then execute
ALTER LOGIN sa WITH PASSWORD = 'sa_password' UNLOCK
There's an option to avoid the sa login to be locked forever, just go to Security, Logins, sa, Properties, then uncheck Enforce password policy option.
No comments:
Post a Comment