Server Error in '/TripPlanner20' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 148:
Line 149: Catch ex As System.Exception
Line 150: Throw ex
Line 151: lblError.Text = "An error has occurred with the departure location in your trip schedule.<BR>Please resubmit your trip plan."
Line 152: 'lblError.Text = ex.Message.ToString
Source File: D:\Inetpub\wwwroot\TripPlanner20\ItineraryMain.aspx.vb Line: 150
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
ItineraryMain.SetTripPlanner() in D:\Inetpub\wwwroot\TripPlanner20\ItineraryMain.aspx.vb:150
ItineraryMain.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\TripPlanner20\ItineraryMain.aspx.vb:117
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272