Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Recur Folder ErrorRecur Folder Error
New Post
8/15/2013 4:37 PM


We have been getting errors on DotNetNuke production site when trying to access the Site Setting page and add/edit articles using the DNNArticle module on our site. The error on the page displays "A critical error has occurred. Object reference not set to an instance of an object."

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. atDotNetNuke.Services.FileSystem.FolderManager.GetFolders(Int32 portalID, String permissions, Int32 userID) atDotNetNuke.Web.UI.WebControls.DnnFilePicker.LoadFolders() at DotNetNuke.Web.UI.WebControls.DnnFilePicker.AddFolderArea() at DotNetNuke.Web.UI.WebControls.DnnFilePicker.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Web.UI.WebControls.DnnFilePicker.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.LoadAjaxPanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) --- End of inner exception stack trace --- at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)

We resolved the issue by deleting all my extra folders that I didn't need and deleted the Folders table - you haveto do both at the same time or it recreates the folders, then I did a recursive synch and this rebuilt the Folders table. But the issue re-occur today, the same issue.

I checked and there's a folder called "DNNArticleLightBoxContent" that is huge, but we do use this folder at all. Last time we deleted this folder, apparently it came back. I suspect this is the cause of the error. Is there any way to eliminate this folder creation? How was it generated in the first place? 

Thank you for your help.


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Recur Folder ErrorRecur Folder Error

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?