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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Moduleload & Pageload exception captures at frequently levels everydayModuleload & Pageload exception captures at frequently levels everyday
Previous
 
Next
New Post
6/20/2014 1:36 AM
 

Hi,

ModuleLoad and Page Load exceptions are occuring frequently, pls. suggest

 

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid JSON primitive: . at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at DotNetNuke.UI.Utilities.Reflection.InvokeGenericMethod[T](Type Type, String MethodName, Object Target, Object[] Args) at DotNetNuke.UI.Utilities.MSAJAX.Deserialize[T](String Data) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableList(Page objPage) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableNameValuePair(Page objPage, String strVar) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariable(Page objPage, String strVar) at DotNetNuke.UI.WebControls.DNNMenu.LoadPostedJSON() at DotNetNuke.UI.WebControls.DNNMenu.OnInit(EventArgs e) 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.WebControls.SolPartActions.OnInit(EventArgs e) in \Library\UI\WebControls\SolPartActions.vb:line 175 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.Skins.Pane.InjectModule(ModuleInfo objModule) in \Library\UI\Skins\Pane.vb:line 398

 

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.UI.Containers.ActionButtonList.get_ModuleActions() in \Library\UI\Containers\ActionButtonList.vb:line 75 at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) in .Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace 

 

DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ModuleContext() in \Library\UI\Containers\ActionBase.vb:line 104 at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() in D:\Websites\NiitStudent\India\staffzone05\FacTEchHub\kc\Library\UI\Containers\ActionBase.vb:line 87 at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) in \Library\UI\Containers\ActionBase.vb:line 186

 
New Post
6/20/2014 4:58 PM
 

Have you recently upgraded the base DNN install or any modules? Are you doing custom development on the site or using a new/updated skin? What version of DNN is this?

The problem appears, from the error, to be related to the container's actions (and client-side oriented) and something likely changed in the environment recently that caused this. 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
6/20/2014 8:38 PM
 
I notice by the file names (Pane.vb etc.) that you're using a very old version of DNN (prior to 6.0) -as Chris says theres a good chance that something environmental (such as the .net version, which affects the MS Ajax version which is also mentioned in the stack trace) has changed and is not working well with that older version. I'd suggest you consider testing an upgrade to a more recent version - if nothing else that will ensure that you're not running a site with known security issues (http://www.dnnsoftware.com/platform/m...)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/21/2014 12:20 AM
 

Hi Chris,

DNN and existing modules are not upgraded, DNN version is 5.1.1 still same version in use. Installed new DNN skin (3rd party skin) 10 months before.

And yes regarding custom development, Login module will undergo frequent changes other modules are not disturbed.

We use this version for past 5 years and recent times usage is around 100 users per day and the exception raised approx 10 to 15 times a day and due to this exception app pool gets fulled and site stops working.

 

 
New Post
6/21/2014 12:26 AM
 

Hi Cathal,

 Yes DNN version is 5.1.1 and 10 months before we changed the .net framework version from 2.0 to 3.5, but if the issue is related to version or environment changes then exception would have raised for all users accessing the portal. On an average we have 100 users accessing the portal but eventlog captures 10 to 15 exceptions per day.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Moduleload & Pageload exception captures at frequently levels everydayModuleload & Pageload exception captures at frequently levels everyday


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