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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DayPilot component problems : Invalid primitive JSONDayPilot component problems : Invalid primitive JSON
Previous
 
Next
New Post
7/14/2009 4:36 AM
 

Hi everybody, we use daypilot component and we have problems in dot net nuke.

We have posted also in daypilot forum.

The reason to generate problems are:

  • Change Month
  • Add filter
  • View tooltip

The error is in Nav.ascx.vb : the firt code line

Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
            InitializeNavControl(Me, "SolpartMenuNavigationProvider")
   AddHandler Control.NodeClick, AddressOf Control_NodeClick
   AddHandler Control.PopulateOnDemand, AddressOf Control_PopulateOnDemand

   MyBase.OnInit(e)
  End Sub

the error is: {"Invalid JSON primitive: "}

System.Reflection.TargetInvocationException was unhandled by user code
  Message="Eccezione generata dalla destinazione di una chiamata."
  Source="mscorlib"
  StackTrace:
       in System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
       in DotNetNuke.UI.Utilities.Reflection.InvokeGenericMethod[T](Type Type, String MethodName, Object Target, Object[] Args)
       in DotNetNuke.UI.Utilities.MSAJAX.Deserialize[T](String Data)
       in DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableList(Page objPage)
       in DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableNameValuePair(Page objPage, String strVar)
       in DotNetNuke.UI.Utilities.ClientAPI.GetClientVariable(Page objPage, String strVar)
       in DotNetNuke.UI.WebControls.DNNMenu.LoadPostedJSON()
       in DotNetNuke.UI.WebControls.DNNMenu.OnInit(EventArgs e)
       in System.Web.UI.Control.InitRecursive(Control namingContainer)
       in System.Web.UI.Control.AddedControl(Control control, Int32 index)
       in System.Web.UI.ControlCollection.Add(Control child)
       in DotNetNuke.UI.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider)
       in DotNetNuke.UI.Skins.Controls.Nav.OnInit(EventArgs e) in C:\Progetti\Pasta Zara\VS2005\IntranetApps\PZ.INTRANETAPPS.DNN\WebSite\Admin\Skins\Nav.ascx.vb:riga 177
       in System.Web.UI.Control.InitRecursive(Control namingContainer)
       in System.Web.UI.Control.InitRecursive(Control namingContainer)
       in System.Web.UI.Control.AddedControl(Control control, Int32 index)
       in System.Web.UI.ControlCollection.Add(Control child)
       in DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in C:\Progetti\XXXX\VS2005\IntranetApps\PZ.INTRANETAPPS.DNN\WebSite\Default.aspx.vb:riga 517
       in System.Web.UI.Control.OnInit(EventArgs e)
       in System.Web.UI.Page.OnInit(EventArgs e)
       in DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
       in System.Web.UI.Control.InitRecursive(Control namingContainer)
       in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

Thanks

 
New Post
7/15/2009 3:29 AM
 

Nobody?

We use 5.01 versione of DNN. In others posts I see this problem is often in version 5.0. I see this post but the solution is already used in  5.01 version

 http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/293871/scope/posts/Default.aspx

What can I do? Downgrade to 4.X version?

 

 

 

 

 
New Post
7/15/2009 3:41 AM
 

this is the event log of DNN

 

AssemblyVersion: 5.1.0
PortalID: 0
PortalName: Intranet Apps DNN
UserID: 1
UserName: host
ActiveTabID: 60
ActiveTabName: CALENDARIO
RawURL: /intranetappsdnn/CALENDARIO/tabid/60/language/en-US/Default.aspx
AbsoluteURL: /IntranetAppsDNN/Default.aspx
AbsoluteURLReferrer: http://localhost/intranetappsdnn/CALENDARIO/tabid/60/language/en-US/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: eb6072a3-98a6-4559-9c6b-13482ba01872
InnerException: Exception has been thrown by the target of an invocation.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> 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.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider) at DotNetNuke.UI.Skins.Controls.Nav.OnInit(EventArgs e) in C:\Progetti\XXXX\VS2005\IntranetApps\PZ.INTRANETAPPS.DNN\WebSite\Admin\Skins\Nav.ascx.vb:line 177 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.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in C:\Progetti\XXX\VS2005\IntranetApps\PZ.INTRANETAPPS.DNN\WebSite\Default.aspx.vb:line 517 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 ---
Source:
Server Name: HPMZ

 
New Post
8/4/2009 9:26 AM
 

Hi,

I have facing the same problem from couple of days but found no solution , Please If u got a solution then kindly help me.

Thanks,

 

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DayPilot component problems : Invalid primitive JSONDayPilot component problems : Invalid primitive JSON


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