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 50:         End If
Line 51: 
Line 52:         acceptEncoding = acceptEncoding.ToLower
Line 53: 
Line 54:         If acceptEncoding.Contains("gzip") Then

Source File: C:\Inetpub\vhosts\39422709.servicio-online.net\bosquedeluz.com\global.asax    Line: 52

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\vhosts\39422709.servicio-online.net\bosquedeluz.com\global.asax:52
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71


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