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 377:
Line 378:
Line 379:                                        If AddWeb.Common.GeneralFunctions.RewriteFormatting(oAppOfferta_DTO.AppOffertaLingua_Nome) <> _offertaRewrite Then
Line 380:                                            PageFunctions.ResponseErrorPage(Enum_PageStatusCode.PAGE_NOT_FOUND)
Line 381:                                        End If

Source File: C:\inetpub\wwwroot\HotelEden2021\global.asax    Line: 379

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in C:\inetpub\wwwroot\HotelEden2021\global.asax:379
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   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.4700.0