Original: SQL Drip 8-the account is currently locked out. The system administrator can unlock it.
The problems encountered today are more interesting. First of all, the test database has not been opened for a long time, open today, using the service program testing, the following error message appears:
Message:System.Data.SqlClient.SqlException:Login failed for user ' Dcp_prod '. reason:the password of the account has expired.
Obviously, this is because the password is invalid, Dcp_prod This account using a password expiration policy, open the database to view the properties of this account, sure enough, enforce password policy and enforce password Expiration these two properties are selected.
Now you just need to reset the password. But then there was another error that prompted the following:
System.Data.SqlClient.SqlException:Login failed for user ' Dcp_prod ' because the account is
Currently locked out. The system administrator can unlock it.
What is the reason for this, locked out is locked, and then use Administrator station to unlock, literally mean this, follow the cue area to do, open account properties again.
(This is the state after the normal reply, the default is gray is not available)
Click the Status tab, and sure enough, login is locked the Out property is selected, uncheck it, click OK, and go back to the program. Strange, or the above locked out hint, open property view, this property is again selected. It was so many times in a row, and began to wonder. Later on-line search, online said that there are other users trying to connect the database, I suddenly realized that the service program is competing with me for the database. The service program will connect to the database every 3 seconds, doing the corresponding operation, in the middle if you try to change the password, the account will be locked. I administrator tool->service to turn off the program, change the password, reopen the program, the error disappears.
SQL Drip 8-the account was currently locked out. The system administrator can unlock it.