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 175:                                                
Line 176:        szURL = Request.Url.OriginalString
Line 177:        Dim szThisURL As String = App.BaseURL
Line 178:        'If Right(szThisURL, 1) <> "/" Then szThisURL += "/"
Line 179:        'Session("BaseURL") = szThisURL

Source File: C:\inetpub\vhosts\automotive_domains\httpDocs\global.asax    Line: 177

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in C:\inetpub\vhosts\automotive_domains\httpDocs\global.asax:177
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +10082212
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +165
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1126
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +297
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


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