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 35:         {
Line 36:             //culture = m_DefaultCulture;
Line 37:             culture = Request.UserLanguages[0];
Line 38:         }
Line 39: 

Source File: d:\Inetpub\vhosts\vlcom-ablink.com\httpdocs\App_Code\BasePage.cs    Line: 37

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BasePage.InitializeCulture() in d:\Inetpub\vhosts\vlcom-ablink.com\httpdocs\App_Code\BasePage.cs:37
   ASP.accueil_login_aspx.__BuildControlTree(accueil_login_aspx __ctrl) in d:\Inetpub\vhosts\vlcom-ablink.com\httpdocs\Accueil\Login.aspx:1
   ASP.accueil_login_aspx.FrameworkInitialize() in d:\Inetpub\vhosts\vlcom-ablink.com\httpdocs\Accueil\Login.aspx.cs:912309
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
   System.Web.UI.Page.ProcessRequest() +76
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +24
   System.Web.UI.Page.ProcessRequest(HttpContext context) +62
   ASP.accueil_login_aspx.ProcessRequest(HttpContext context) in d:\Inetpub\vhosts\vlcom-ablink.com\tmp\root\a237cd5b\4c53c55a\App_Web_ejb1b5ym.2.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   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