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?