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="VSW.Lib.MVC.ViewPage" %>

Source File: c:\inetpub\wwwroot\ving.com.vn\Default.aspx    Line: 1

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   VSW.Lib.Controllers.MMngEUserCPController..ctor() in D:\Work\Angkorich\Web\2021\ving.com.vn\VSW.Lib\Controllers\MMngEUserCPController.cs:16

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +119
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +83
   System.Activator.CreateInstance(Type type) +11
   ▹ほ듩焨됬㕨豂적.뢐᤬⺼ᮁക蒌鵞퀭(Type ♐ኡ氏髽ᢔ푉朹䕓) +15
   VSW.Core.Global.Class..ctor(Type module) +21
   VSW.Core.MVC.ViewPage.鷹괓晱髓볦㻿芁() +282
   VSW.Core.MVC.ViewPage.InitializeCulture() +788
   ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\wwwroot\ving.com.vn\Default.aspx:1
   ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\96e3619a\3a41c845\App_Web_default.aspx.cdcab7d2.16l78ejy.0.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +22
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\96e3619a\3a41c845\App_Web_default.aspx.cdcab7d2.16l78ejy.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188
   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.3062.0