Error during serialization or deserialization using the JSON JavaScriptSerializer.

Posted by Karthime under ASP.NET on 1/9/2013 | Points: 10 | Views : 1742 | Status : [Member] | Replies : 0
Hi,

I'm using asp.net mvc 3, i return the Array of Array data as json from the controller. but it throws the error.

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
I tried to resolve, by adding below code in web.config, but it throws the same error.

<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="2147483644">
<converters>
</converters>
</jsonSerialization>
</webServices>
</scripting>
</system.web.extensions>


How to resolve this.. ? please help me as soon as possible

A.Karthi


Responses

(No response found.)

Login to post response