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="Forum.ForumHome" %>
Line 2:  <%@ Register Src="../Header.ascx" TagName="Header" TagPrefix="uc1" %>
Line 3:  <%@ Register Src="../Footer.ascx" TagName="Footer" TagPrefix="uc2" %>

Source File: C:\Thienan\UNISOFT_FULL6_DHNVHCM\UNISOFT_FULL6_DHNVHCM_STUDENT\Forum\ForumHome.aspx    Line: 1

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Forum.ForumHome.InitializeCulture() in c:\UniSoft_Project\UNISOFT_FULL6_PORTAL\Forum\code\Forum\ForumHome.cs:36
   ASP.forum_forumhome_aspx.__BuildControlTree(forum_forumhome_aspx __ctrl) in C:\Thienan\UNISOFT_FULL6_DHNVHCM\UNISOFT_FULL6_DHNVHCM_STUDENT\Forum\ForumHome.aspx:1
   ASP.forum_forumhome_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.forum_forumhome_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.4494.0