I can't save the defaults page for some reason. Whether I select an Owned By and Assigned To user or not, it still crashes with the same error. I was trying to not specify a default user. This worked in BugNET 1.3 which I just upgraded from.
Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: 'ddlUsers' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
at System.Web.UI.WebControls.ListControl.set_SelectedValue(String value)
at BugNET.Administration.Projects.UserControls.ProjectDefaultValues.ReadDefaultValuesForProject()
at BugNET.Administration.Projects.UserControls.ProjectDefaultValues.Initialize()
at BugNET.Administration.Projects.EditProject.LoadTab(Int32 selectedTab)
at BugNET.Administration.Projects.EditProject.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at BugNET.UserInterfaceLayer.BasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.<LoadRecursiveAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
at System.Web.UI.Page.<ProcessRequestMainAsync>d__14.MoveNext()
Request information:
Request URL: http://bugnet.example.com/Administration/Projects/EditProject/1
Request path: /Administration/Projects/EditProject/1
User host address: x.x.x.x
User: exampleuser
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\BugNET
Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: 'ddlUsers' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
at System.Web.UI.WebControls.ListControl.set_SelectedValue(String value)
at BugNET.Administration.Projects.UserControls.ProjectDefaultValues.ReadDefaultValuesForProject()
at BugNET.Administration.Projects.UserControls.ProjectDefaultValues.Initialize()
at BugNET.Administration.Projects.EditProject.LoadTab(Int32 selectedTab)
at BugNET.Administration.Projects.EditProject.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at BugNET.UserInterfaceLayer.BasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.<LoadRecursiveAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
at System.Web.UI.Page.<ProcessRequestMainAsync>d__14.MoveNext()
Request information:
Request URL: http://bugnet.example.com/Administration/Projects/EditProject/1
Request path: /Administration/Projects/EditProject/1
User host address: x.x.x.x
User: exampleuser
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\BugNET