Error Caught in Page_Error event (BasePage.cs)


Error in: https://bowling-stats.com/default.aspx
Error Message: Index and length must refer to a location within the string. Parameter name: length
Stack Trace:
at System.String.Substring(Int32 startIndex, Int32 length) at Master_Main.SetControlsValue() at Master_Main.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)