This is a migrated thread and some comments may be shown as answers.

JSON JavascriptSerializer Error with Kendo Editor ASP.NET MVC

1 Answer 823 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Syleps
Top achievements
Rank 1
Veteran
Syleps asked on 13 Feb 2018, 10:19 AM

Hi,

I use Kendo Editor ASP.NET MVC .

I paste some pictures and I save the content of the editor in my database.

The size of the content is ~20Mo.

Later, when I want to resume the content to modify it, I have the error :

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

In my web.config file I added a maxJsonLength, but that doesn't change anything

What solution(s) do I have?

 

Thanks,

Regards

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 15 Feb 2018, 07:59 AM
Hi,

This error you are getting is a general ASP.NET MVC exception related to maximum response size limit. This issue and possible solutions are discussed in the following and other stackoverflow threads. We would recommend trying out some of the posted suggestions.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Syleps
Top achievements
Rank 1
Veteran
Answers by
Ivan Danchev
Telerik team
Share this question
or