I try to do research about Lock out users after three unsuccessful attempts without using a database, and I found the answer that use it with SQLMemberShipProvider. I modify th Web.config :
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOnCust" timeout="2880" />
</authentication>
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="WebDBConnection"
maxInvalidPasswordAttempts="3"
minRequiredPasswordLength="6"
passwordAttemptWindow="10"
applicationName="/" />
</providers>
</membership>
But it doesn’t work, I don’t know why. What modifications do I need to make more?
try setting your default membership provider to see if that helps.
Also, check to make sure the stored procedures are properly installed, I know I ran into that issue with Oracle, but haven’t had many problems when using SQL Server. Doesn’t hurt to check.