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 Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Site.Home" %>
Line 2:  <%@ Register src="~/map/control/MapControlJS.ascx" tagname="MapControlJS" tagprefix="CSG" %>
Line 3:  <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

Source File: c:\inetpub\wwwroot\Site\Home.aspx    Line: 1

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Site.PageBase.InitializeCulture() in d:\br_vs2010\src\Site\PageBase.cs:49
   ASP.home_aspx.__BuildControlTree(home_aspx __ctrl) in c:\inetpub\wwwroot\Site\Home.aspx:1
   ASP.home_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\1da25280\65df3ee1\App_Web_o5xdfznl.6.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) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.home_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\1da25280\65df3ee1\App_Web_o5xdfznl.6.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


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