Email: Password:       Forgot Password 
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.

Handling max records in JSON response In ASP DOT NET

Viewed:  1471 
Posted On:  15/06/2015 20:17:37 
while working with JSON if we need to fetch maximum records then it throws error. 


While working with JSON in getting records beyond a limit I am getting below exception:

InvalidOperationException / Invalid Object
Error during serialization or deserialization using the JSON


To set maximum limit of your JSON response just go to your web.config file and do below setting:

        <jsonSerialization maxJsonLength="50000000"/>


Image 1.


         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us