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="VB" autoeventwireup="false" inherits="GiaoVien, App_Web_giaovien.aspx.cdcab7d2" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" %>
Line 2:  <%@ Register Src="Forum/NewsShow.ascx" TagName="NewsShow" TagPrefix="uc1" %>
Line 3:  <%@ Register Src="HeaderGV.ascx" TagName="HeaderGV" TagPrefix="Portal_student" %>

Source File: E:\Tin Chi\dangky_new\GiaoVien.aspx    Line: 1

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   GiaoVien.InitializeCulture() +366
   ASP.giaovien_aspx.__BuildControlTree(giaovien_aspx __ctrl) in E:\Tin Chi\dangky_new\GiaoVien.aspx:1
   ASP.giaovien_aspx.FrameworkInitialize() +123
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +51
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequest(HttpContext context) +73
   ASP.giaovien_aspx.ProcessRequest(HttpContext context) +45
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +541
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


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