1

Closed

Exception thrown to user on invalid password from editboard.ascx

description

I was trying to create a new board with a new admin. I entered a password of 1234 and instead of getting an user type error message, I got an exception report instead.

Server Error in '/YAF' Application.

Create User Failed: The password provided is invalid. Please enter a valid password value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: Create User Failed: The password provided is invalid. Please enter a valid password value.

Source Error:


Line 294: this.PageContext.AddLoadMessage(
Line 295: "Create User Failed: {0}".FormatWith(this.GetMembershipErrorMessage(createStatus)));
Line 296: throw new ApplicationException(
Line 297: "Create User Failed: {0}".FormatWith(this.GetMembershipErrorMessage(createStatus)));
Line 298: }


Source File: C:\Development\YAF\YetAnotherForum.NET\pages\admin\editboard.ascx.cs Line: 296

Stack Trace:


[ApplicationException: Create User Failed: The password provided is invalid. Please enter a valid password value.]
YAF.Pages.Admin.editboard.CreateBoard(String adminName, String adminPassword, String adminEmail, String adminPasswordQuestion, String adminPasswordAnswer, String boardName, String boardMembershipAppName, String boardRolesAppName, Boolean createUserAndRoles) in C:\Development\YAF\YetAnotherForum.NET\pages\admin\editboard.ascx.cs:296
YAF.Pages.Admin.editboard.Save_Click(Object sender, EventArgs e) in C:\Development\YAF\YetAnotherForum.NET\pages\admin\editboard.ascx.cs:545
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
Closed Jul 21, 2013 at 10:45 AM by tha_watcha
fixed in 3ed01b34f981

comments

nabramovitz wrote Oct 30, 2012 at 4:49 PM

Version 1.9.6 Commercial