Hi Developers,
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
I got the Above mentioned error when i get base64 string length of 2974208 Jquery Ajax call on following line
"var Retdata = JSON.parse(response.ResponseContent);"
Added in Web.Config :
<add key="JSONMAXJSONLENGTH" value="2147483644" />
<add key="aspnet:MaxJsonDeserializerMembers" value="2147483644" />
<add key="aspnet:UpdatePanelMaxScriptLength" value="2147483644" />
<add key="aspnet:MaxJsonDeserializerMembers" value="2147483644"/>
<httpRuntime targetFramework="4.5" enableVersionHeader="false" executionTimeout="1" maxRequestLength="2000000000" maxQueryStringLength = "12288" maxUrlLength="12288"/>
If anyone know the solution for this problem kindly help me to done this task.
Thanks & Regards
Paul.S