title: Forgot Password
body: <p>I am trying to create a web application to reset the password based on question/answer using <code>System.Web.Security</code> API.</p>
  
  <p>I get an exception:</p>
  
  <blockquote>
    <p>DirectoryServicesCOMException (0x8007202f): A constraint violation
    occurred" if user provide one bad answer to the question.</p>
  </blockquote>
  
  <p>If I reset value of <code>attributeMapFailedPasswordAnswerCount</code> to not set the account becomes active again. </p>
  
  <p>Account Lockout threshold in AD is set to 20 logon attempts.</p>
  
  <p>I am novice on AD knowledge and  will be grateful if someone can guide me how to solve this problem. </p>
  
  <p>Thank you.</p>