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 ...DNN 4.6.2  Object reference not set to an instance of an object.DNN 4.6.2 Object reference not set to an instance of an object.
Previous
 
Next
New Post
6/19/2017 3:12 PM
 

This error starting occurring on a portal that has been running w/o issues until last week - suspect a web admin might have done something, but says no.

The DNN site has approx 20 active portals, and this is the only portal that is throwing the error.
The object reference error occurs only an admin has logged in. The error occurs whenever the user tries to edit a module, or selects any of the host or admin pages from the menu

I'm not sure where to starts looking to fix this, I tried restoring the db from a point in time where the user said it was working ok, but no joy.
All help greatly appreciated

 

DotNetNuke Error: - Version 04.06.02


 

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
6/21/2017 12:42 AM
 
I'm not going to be much help sorry but two things I would try is clear the cache in host setting, I've had sites bug out on me before and this has been the fix. Second, do an upgrade of your install. 4.6.2 is really old, so take a backup of you site and database so you can return it if needed and upgrade to a newer version. remember to check the requirements of the version you are upgrading too to make sure your environment meets those first. This may help you avoid issues along the way: http://www.dnnsoftware.com/wiki/sugge...

REMEMBER TO BACK UP EVERY STEP.

I'm sure someone with more database knowledge will be able to help you more but hey, worth a shot.
 
New Post
6/21/2017 1:10 PM
 
Thanks, but I currently can not get to the Admin site settings page to clear the cache due to the object error - the page doesn't load at all.

Unfortunately, upgrading to a newer DNN version is not an option either, as there are a few custom modules that won't work with new versions without an upgrade to those, and they have decided not to go down that path.


IIRC, there is a way to have the BIN folder re-compile the DLL's, which in the past has fixed some strange issues - I just can't remember the process for that - can anyone provide the procedure ?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 4.6.2  Object reference not set to an instance of an object.DNN 4.6.2 Object reference not set to an instance of an object.


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