Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Error during serialization or deserialization using the JSON JavaScriptSerializer (Read 3672 times)
rhujuta
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Aug 1st, 2016
Error during serialization or deserialization using the JSON JavaScriptSerializer
Aug 1st, 2016 at 6:52pm
Print Post  
Hi,

I am getting error as below while loading large diagramview:
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
at

  MindFusion.Diagramming.Mvc.DiagramView.c8255b40c22e7ffeed24cb7fdc478118d() +557
   MindFusion.Diagramming.Mvc.DiagramViewExtensions.c8d86f4656270fbf332a5582b277a4e
48(DiagramView c67f9b944ba216a7f6ea36a52c0d8c744, String cd840bb3f7cb77eeda13c64e30d25ad3b) +281
   MindFusion.Diagramming.Mvc.DiagramViewExtensions.DiagramView(HtmlHelper helper, DiagramView diagramView) +13

how can I override the jsonmaxlength property of midfusion.Diagramming.MVC.DiagramView ??
Please assist.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3436
Joined: Oct 19th, 2005
Re: Error during serialization or deserialization using the JSON JavaScriptSerializer
Reply #1 - Aug 1st, 2016 at 7:40pm
Print Post  
Hi,

We have added a DiagramView.MaxJsonLength property for the v2.7 release -
http://mindfusion.eu/Forum/YaBB.pl?num=1467029813

Its value is assigned to corresponding property of all internal JavaScriptSerializer objects.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
rhujuta
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Aug 1st, 2016
Re: Error during serialization or deserialization using the JSON JavaScriptSerializer
Reply #2 - Aug 1st, 2016 at 8:32pm
Print Post  
Thank you for prompt response.

Regards,
Rhujuta
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint