This issue arises when you have set some value in maxJsonLength and trying to use json value which is greater than that set value.
maxJsonLength is an int type so we can set it's maximum value equal to int type which is as 2147483647.
Example:-
----------------
<configuration>
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="2147483647">
</jsonSerialization>
</webServices>
</scripting>
</system.web.extensions>
0 comments:
Post a Comment