Server Error in '/' 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 146:
Line 147:        string sitename = GlobalSettings.SiteName;
Line 148:        qryListingID = Page.RouteData.Values["ListingID"].ToString();
Line 149:
Line 150:        if (string.IsNullOrEmpty(qryListingID))

Source File: C:\ALL\LiveSites\MakeMyCredit.com\site\PostBookAppointment.aspx.cs    Line: 148

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   PostBookAppointment.Page_Load(Object sender, EventArgs e) in C:\ALL\LiveSites\MakeMyCredit.com\site\PostBookAppointment.aspx.cs:148
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4497


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