Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Change Max number of Attempts of Login to lockoutChange Max number of Attempts of Login to lockout
Previous
 
Next
New Post
9/24/2007 10:40 AM
 

I need to change the max number of attempts of login before lockout one account. The default value is 5 and i want increase to 15. I don't find any easy way to do this...Any ideas are appreciated, many thanks in advance for your time...

 

 
New Post
9/24/2007 10:51 AM
 

JavieroBCN,,

Add passwordAttemptThreshold="15" to your AspNetSqlMembershipProvider string in your web.config.

 

 



 
New Post
9/24/2007 11:48 AM
 

Do you refer to this section?

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true"  requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

I'm trying to add passwordAttemptThreshold="15"  but don't works

 
New Post
9/24/2007 6:15 PM
 

Try to add maxInvalidPasswordAttempts="15" in that section.

 
New Post
9/25/2007 4:31 AM
 

i tested with maxInvalidPasswordAttempts="15" but the same server error

System.Exception: Unhandled Error: ---> System.Configuration.ConfigurationErrorsException: Attribute not recognized 'MaxInvalidPasswordAttempts' (C:\********.com\wwwroot\web.config line 185)at System.Web.Security.Membership.Initialize()at System.Web.Security.Membership.GetUser(String username, Boolean userIsOnline)at System.Web.Security.Membership.GetUser(String username)at DotNetNuke.Security.Membership.AspNetMembershipProvider.GetUserMembership(UserInfo& user)at DotNetNuke.Entities.Users.UserInfo.get_Membership()at DotNetNuke.Entities.Users.UserInfo.set_Username(String Value)at DotNetNuke.Security.Membership.AspNetMembershipProvider.FillUserInfo(Int32 portalId, IDataReader dr, Boolean isHydrated, Boolean CheckForOpenDataReader)at DotNetNuke.Security.Membership.AspNetMembershipProvider.GetUserByUserName(Int32 portalId, String username, Boolean isHydrated)at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String verificationCode, UserLoginStatus& loginStatus)at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String Username, String Password, String VerificationCode, String PortalName, String IP, UserLoginStatus& loginStatus)at DotNetNuke.Modules.Admin.Security.Signin.cmdLogin_Click(Object sender, EventArgs e)at System.Web.UI.WebControls.Button.OnClick(EventArgs e)at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest()at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)at System.Web.UI.Page.ProcessRequest(HttpContext context)at ASP.default_aspx.ProcessRequest(HttpContext context)at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--- End of inner exception stack trace ---

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Change Max number of Attempts of Login to lockoutChange Max number of Attempts of Login to lockout


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out