Server Error in '/forums/Web' 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 5:  <mp:ContentContainer runat="server" id="MPContainer" MasterPageFile="~/Themes/MasterPage.ascx">
Line 6:  <mp:Content id="MainContent" runat="server">
Line 7:  	<Forums:PostFlatView runat="server" id="PostFlatView" />
Line 8:  </mp:Content>
Line 9:  </mp:ContentContainer>

Source File: e:\Baystreetjobs\site\forums\Web\ShowPost.aspx    Line: 7

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   AspNetForums.Controls.SkinnedForumWebControl..ctor() in Z:\sitedev\forums\Controls\BaseClasses\SkinnedForumWebControl.cs:42
   AspNetForums.Controls.PostFlatView..ctor() in Z:\sitedev\forums\Controls\Views\PostFlatView.cs:56
   ASP.showpost_aspx.__BuildControlPostFlatView() in e:\Baystreetjobs\site\forums\Web\ShowPost.aspx:7
   ASP.showpost_aspx.__BuildControlMainContent() in e:\Baystreetjobs\site\forums\Web\ShowPost.aspx:6
   ASP.showpost_aspx.__BuildControlMPContainer() in e:\Baystreetjobs\site\forums\Web\ShowPost.aspx:5
   ASP.showpost_aspx.__BuildControlTree(showpost_aspx __ctrl) in e:\Baystreetjobs\site\forums\Web\ShowPost.aspx:1
   ASP.showpost_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\forums_web\307bc199\c65917ce\App_Web_wfvyxjq6.9.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54
   System.Web.UI.Page.ProcessRequest() +90
   System.Web.UI.Page.ProcessRequest(HttpContext context) +239
   ASP.showpost_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\forums_web\307bc199\c65917ce\App_Web_wfvyxjq6.9.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +598
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975