Friday, 3 November 2017
Max Json length exceeded Error.
in: asp csharp mvc
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>
RELATED POSTS

Create Pdf Using ItextSharp in C#.
In this article I will explain about how to Create a new Pdf file using I ...

Difference between List and IEnumerable in C#.
In this article, We will discuss about What is the difference between Li ...

HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.)
The issue is caused by the pipeline mode in your Application Pool setting ...
-
This issue is Completely related to EntityFramework and this issue arises whenever you have installed EntityFramework in one project at th...
-
This is generally a Common Problem or the error could be like this, To Resolve this error, One Small Solution is Exists which is as b...
-
In this article, We will discuss What is the above Error and How to resolve this Error. Whenever, We are Restoring our database into A...
0 comments:
Post a Comment