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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable account lockoutDisable account lockout
Previous
 
Next
New Post
10/27/2010 6:34 AM
 
Hi, I've some question about account lockout:

1) there is any way to disable the account lockout?
2) can be configured after how many times the account must be locked?
3) is needed some schedule process to unlock the locked account?

The only one setting I know about this feature is the Auto-Unlock Accounts After: under Host settings!
 
New Post
10/27/2010 7:03 AM
 
DNN is using ASP.Net membership block, you may check MSDN.microsoft.com for all settings options.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/27/2010 8:34 AM
 
ThankYou Sebastian,
your help is always present!
 
New Post
10/27/2010 10:28 AM
 
Ok, I've found the setting for the number of login attemps! It is passwordAttemptThreshold="5" inside webconfig
After added this option I'm no more able to login and after restored my web.config I can view this exception in logviewer:

Method: System.Web.Security.Membership.Initialize
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Attributo 'passwordAttemptThreshold' non riconosciuto. (C:\Inetpub\Gruppo11\web.config line 257) ---> System.Configuration.ConfigurationErrorsException: Attributo 'passwordAttemptThreshold' non riconosciuto. (C:\Inetpub\Gruppo11\web.config line 257) in System.Web.Security.Membership.Initialize() in System.Web.Security.Membership.GetUser(String username, Boolean userIsOnline) in System.Web.Security.Membership.GetUser(String username) in DotNetNuke.Security.Membership.AspNetMembershipProvider.GetUserMembership(UserInfo& user) in DotNetNuke.Entities.Users.UserController.FillUserInfo(Int32 portalId, IDataReader dr, Boolean closeDataReader) in DotNetNuke.Security.Membership.AspNetMembershipProvider.GetUserByUserName(Int32 portalId, String username) in DotNetNuke.Security.Membership.AspNetMembershipProvider.GetUserByUserName(Int32 portalId, String username, Boolean isHydrated) in DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus) in DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String Username, String Password, String authType, String VerificationCode, String PortalName, String IP, UserLoginStatus& loginStatus) in DotNetNuke.Modules.Admin.Authentication.Login.cmdLogin_Click(Object sender, EventArgs e) in System.Web.UI.WebControls.Button.OnClick(EventArgs e) in System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) in System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) in System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) in System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in System.Web.UI.Page.ProcessRequest() in System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) in System.Web.UI.Page.ProcessRequest(HttpContext context) in ASP.default_aspx.ProcessRequest(HttpContext context) in System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() in System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- Fine dell'analisi dello stack dell'eccezione interna ---

This is how I've added into web.config:

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" passwordAttemptThreshold="5" 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" />



How I can work around passwordAttemptThreshold setting without get this exception?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable account lockoutDisable account 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