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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.0.1 Invalid JSON primitiveDNN 5.0.1 Invalid JSON primitive
Previous
 
Next
New Post
3/18/2009 7:14 AM
 

Hi,

we upgraded to DNN 5.0.0 a month ago and DNN 5.0.1 a week or so ago. Sorted out the last problem by making changes to web.config and 90% of DNN worked ok for a few days.

Now we are getting the following error after completing the user/pasword details to login.

 Fixed a similar problem in DNN 5.0.0 by correcting user permissions in the DNN folder, but doesn't help this time.

Regards

PeterDescription: 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.ArgumentException: Invalid JSON primitive: .

Source Error:

Line 208:                Select Case ModuleControl.ModuleContext.Configuration.Visibility
Line 209:                    Case Entities.Modules.VisibilityState.Maximized, Entities.Modules.VisibilityState.Minimized
Line 210:                        DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(cmdVisibility, ModuleContent, ModuleControl.ModuleContext.ModuleId, ModuleControl.ModuleContext.Configuration.Visibility = Entities.Modules.VisibilityState.Minimized, MinIconLoc, MaxIconLoc, Utilities.DNNClientAPI.MinMaxPersistanceType.Cookie, Me.AnimationFrames)
Line 211:                End Select
Line 212:            End If

Source File: C:\Storage\WebSites\DotNetNuke\Admin\Containers\Visibility.ascx.vb    Line: 210

Stack Trace:

[ArgumentException: Invalid JSON primitive: .]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +541762
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +242
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +51
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +37
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +70

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   DotNetNuke.UI.Utilities.Reflection.InvokeGenericMethod(Type Type, String MethodName, Object Target, Object[] Args) +247
   DotNetNuke.UI.Utilities.MSAJAX.Deserialize(String Data) +182
   DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableList(Page objPage) +159
   DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) +18
   DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) +195
   DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) +295
   DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames, String strPersonalizationNamingCtr, String strPersonalizationKey) +52
   DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) +32
   DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) in C:\Storage\WebSites\DotNetNuke\Admin\Containers\Visibility.ascx.vb:210
   System.Web.UI.Control.OnPreRender(EventArgs e) +8682870
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

[PageLoadException: Exception has been thrown by the target of an invocation.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +277
   DotNetNuke.Framework.PageBase.OnError(EventArgs e) +331
   System.Web.UI.Page.HandleError(Exception e) +84
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +37
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

 
New Post
3/26/2009 4:06 PM
 

Hi Peter, I have your same problem and I cannot understand where is the problem. I installed Dnn 5.0.0 on my Windows Server 2003 with Sql Server 2005 and installation successfully ended.

In fact, I was able to access to my site and add also some tabs. But after few days this error occurred. It's a known bug?

Thanks

 
New Post
3/26/2009 4:12 PM
 

Check this post for a bug in the web.config, I'm pretty sure that's your problem... Let us know!

 
New Post
3/30/2009 12:04 PM
 

I opened my web.config file but I didn't find code lines describe in the articole that you advised. In the System.web Runtime section I found only a line <probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;"> My server has not .NET 3.5 but only 2.0. Is this the issue?

 
New Post
7/16/2009 1:43 PM
 

Luca Quaranta wrote
 

I opened my web.config file but I didn't find code lines describe in the articole that you advised. In the System.web Runtime section I found only a line My server has not .NET 3.5 but only 2.0. Is this the issue?

I haven't been able to get around this error either.. this is on a fresh install to a root web using a separate sql 2005 server.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.0.1 Invalid JSON primitiveDNN 5.0.1 Invalid JSON primitive


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