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 13:         Dim lEvent_sk As Integer = 0
Line 14:         If Not Request.QueryString("lEvent_sk") Is Nothing Then
Line 15:             lEvent_sk = Request.QueryString("lEvent_sk")
Line 16:         End If
Line 17: 

Source File: E:\inetpub\wwwroot\RSVP\RSVP.aspx.vb    Line: 15

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +299
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +98

[InvalidCastException: Conversion from string "249https://events.fullerton.edu/" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +273
   RSVP.RSVP_Init(Object sender, EventArgs e) in E:\inetpub\wwwroot\RSVP\RSVP.aspx.vb:15
   System.Web.UI.Control.OnInit(EventArgs e) +86
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +433
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1616


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