urig

Tidbits from a .net life
posts - 89, comments - 20, trackbacks - 97

My Links

News



View Uri Goldstein's profile on LinkedIn

Add to Google

Twitter












Archives

Post Categories

Image Galleries

Blogs

Cool

MS SQL locks sa account out automatically on having wrong password entered.

Strange behavior from MS SQL Server 2005. I "spontaneously" get this error when trying to connect:

Login failed for user 'sa' because the account is currently locked out. The system administrator can unlock it.  (Microsoft SQL Server, Error: 18486).

After some digging I've found this useful chain of posts, logged into the server locally and ran the following line: ALTER LOGIN sa WITH PASSWORD = 'your_password_here' UNLOCK

I suspect what happened was that MS SQL Server decided to lock the sa login after I made a few login attempts with the wrong password. Assuming that's what happened, does anybody know how to change this "lockdown" behavior on behalf of MS SQL Server 2005?

Print | posted on Monday, May 29, 2006 3:36 PM | Filed Under [ Knowledge Base ]

Feedback

Gravatar

# re: MS SQL locks sa account out automatically on having wrong password entered.

Interesting piece of information. Btw check out http://vadivel.blogspot.com/2005/11/list-of-my-sql-articles-tips.html at your leisure.
5/30/2006 5:57 AM | Vadivel
Gravatar

# re: MS SQL locks sa account out automatically on having wrong password entered.

Yes, u can permanently get rid of this, follow this:
Security --> Logins --> sa --> Properties --> unchecked: Enforce password policy.

12/18/2006 10:44 AM | Gaurav Garg

Post Comment

Title  
Name  
Email
Url
Comment   

Powered by: