Server Error in '/' Application.

Conversion from string "" to type 'Date' is not valid.

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.InvalidCastException: Conversion from string "" to type 'Date' is not valid.

Source Error:


Line 28:         
Line 29:         pid = context.Request.QueryString("pid")
Line 30:         doa = context.Request.QueryString("doa")
Line 31:         l1 = context.Request.QueryString("l1")
Line 32:         l2 = context.Request.QueryString("l2")

Source File: E:\web\totalsys\FHABackups\!ExtraStuff\FHAONlineRescue\xmlGetCoursesFlt.ashx    Line: 30

Stack Trace:


[InvalidCastException: Conversion from string "" to type 'Date' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) +1307729
   xmlGetCourses.ProcessRequest(HttpContext context) in E:\web\totalsys\FHABackups\!ExtraStuff\FHAONlineRescue\xmlGetCoursesFlt.ashx:30
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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