Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:


Line 224:  Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
Line 225:    _schoolID = Request.Params("S")
Line 226:    Page.Theme = _conObj.GetDistrictTheme(_schoolID)
Line 227:    If Not String.IsNullOrWhiteSpace(Request.QueryString("MID")) Then
Line 228:      _meetingID = Integer.Parse(Request.QueryString("MID"))

Source File: D:\Project\Branch-SamlFrameUpgd\SourceCode\eBoard\eBoard\SB_Meetings\ViewMeeting.aspx.vb    Line: 226

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +267
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +175
   eBoard.ViewMeeting1.Page_PreInit(Object sender, EventArgs e) in D:\Project\Branch-SamlFrameUpgd\SourceCode\eBoard\eBoard\SB_Meetings\ViewMeeting.aspx.vb:226
   System.Web.UI.Page.OnPreInit(EventArgs e) +138
   System.Web.UI.Page.PerformPreInit() +46
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1178


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0