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 1:  <%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" Inherits="W.Lib.MVC.ViewPage" %>

Source File: c:\WEB\kienvang.com\Default.aspx    Line: 1

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   W.Lib.Models.SysPageService.W_Core_CurrentPage(ViewPage viewPage) +2702
   W.Core.MVC.ViewPage.InitializeCulture() +832
   ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\WEB\kienvang.com\Default.aspx:1
   ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\4f212095\e5767928\App_Web_default.aspx.cdcab7d2.nvqy4khq.0.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +51
   System.Web.UI.Page.ProcessRequest() +74
   System.Web.UI.Page.ProcessRequest(HttpContext context) +69
   ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\4f212095\e5767928\App_Web_default.aspx.cdcab7d2.nvqy4khq.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +789
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +194
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


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