Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCritical Error after Admin or Host login.Critical Error after Admin or Host login.
Previous
 
Next
New Post
10/28/2005 12:33 PM
 

Hi guys,

First off... excellent module... I love it.  However, I have a consistently reproduceable problem that I was wondering if I could get some help on.  I've done some searching through the forums, and don't see this issue, so I apologize in advance if I've missed it.

DNN 3.1.1, Forums 3.10.04

I have a page with 1 forums module, and 1 gallery module.  The gallery is only visible to admins currently.

If I browse the site as an anonymous user, everything is fine.  If, when anonymous, I browse to the forums page, then log in as admin or host, the forums show a Critical Error.  "Object reference not set to instance of an object."  Stack trace is below.  If I log in as admin or host from other pages, I don't receive this error, and everything works fine.

Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Modules.Gallery.Container.Page_Load(Object sender, EventArgs e) +17
   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.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +750

[PageLoadException: Object reference not set to an instance of an object.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +346
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +365
   System.Web.UI.TemplateControl.OnError(EventArgs e) +109
   System.Web.UI.Page.HandleError(Exception e) +68
   System.Web.UI.Page.ProcessRequestMain() +2100
   System.Web.UI.Page.ProcessRequest() +218
   System.Web.UI.Page.ProcessRequest(HttpContext context) +18
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 
New Post
11/3/2005 10:54 AM
 
I would try moving the modules to seperate pages and then see if this keeps happening. 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCritical Error after Admin or Host login.Critical Error after Admin or Host login.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out