#11 Viewing topic when no permissions exist (Admin)

Fixed Next Release
closed-accepted
Si
BOL (4)
7
2006-03-23
2006-03-20
Si
No

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

Discussion

  • Si
    Si
    2006-03-23

    • milestone: 581209 --> Fixed Next Release
    • status: open --> closed-accepted
     
  • Si
    Si
    2006-03-23

    Logged In: YES
    user_id=1154545

    Issue resolved, now invalid topic will be raised.