problem with maxInvalidPasswordAttempts

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

i use the login control for authentification (in local aspnetdb.mdf file).
The password is "hashed" and sent by mail to the member. Sofar no problem.
I put the maxInvalidPasswordAttempts="2" (so two attempts are allowed) and
passwordAttemptWindow="1" (attempts must occur in one minute).
Now, when i try to log with an invalid password several times, and then type
the right password, i still get the error message and i'm never be able to
login.

Here the whole members settings of web.config:

<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="true"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="2"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="1"
passwordStrengthRegularExpression=""/>
</providers>
</membership>

Thanks for help
Mich


.



Relevant Pages

  • Login control and restricted member pages
    ... I have setup a website to use the login control and have been following ... annonymous access set to deny all. ... default member page is navigated to a Windows Forms dialog appears and asks ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: problem with maxInvalidPasswordAttempts
    ... "maxInvalidPasswordAttempts" times, the account gets locked. ... unlock the account before it can be used again. ... i use the login control for authentification (in local aspnetdb.mdf ... The password is "hashed" and sent by mail to the member. ...
    (microsoft.public.dotnet.framework.aspnet)