If a forum Admin, does not have permission to view a
topic, then an unhandled exception is raised:
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:
An unhandled exception was generated during the
execution of the current web request. Information
regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an
instance of an object.]
DotNetForum.WebSite.Controls.PostHeader.Page_Load(Object
sender, EventArgs e) in
c:\projects\dnfbb\wwwroot\controls\postheader.ascx.cs:72
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework
Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Logged In: YES
user_id=1154545
Issue resolved, now invalid topic will be raised.