Thursday, 3 September 2015

Error during serialization or deserialization using the JSON JavaScriptSerializer

Re: Error during serialization or deserialization using the JSON JavaScriptSerializer


You can configure the max length for json requests in your web.config file:
MaxJsonLength property is an integer so the max value you can set is: 2147483644
<configuration>
   <system.web.extensions>
       <scripting>
           <webServices>
               <jsonSerialization maxJsonLength="2147483644"/>
           </webServices>
       </scripting>
   </system.web.extensions>
</configuration>

No comments:

Post a Comment