title: Disabling account lockout with the SqlMembershipProvider
body: <p>How do I disable the account lockout feature of the <strong>SqlMembershipProvider</strong>? </p>
  
  <p>The MSDN documentation for the <a href="http://msdn.microsoft.com/en-us/library/system.web.security.membership.maxinvalidpasswordattempts.aspx" rel="noreferrer">MaxInvalidPasswordAttempts</a> property does not specify how to disable it. If I can't find the correct way to do it I will set the maxInvalidPasswordAttempts attribute to the maximum value of an int which may effectively achieve the same result.</p>
  
  <p>I'm well aware that disabling account lockout isn't the greatest idea but I need to achieve this in the short term.</p>