My Datatable is working fine with records under 367 but if record count is more than 368
My Datatable is working fine with records under 367 but if record count is more than 368

My Datatable is working fine with records under 367 but if record count is more than 368, it throws javascript error with out much details. below is error. Any help is much appreciated
Request Status: 500 Status Text: Internal Server Error {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this}
This question has an accepted answers - jump to answer
Answers
This thread might help, it sounds similar. If not, it still provides some diagnostic steps for you to try,
Colin
Thanks Colin, actually we have to increase the JSon length
in WebConfig under <Configuration> tag
<configuration>
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="50000000"/>
</webServices>
</scripting>
</system.web.extensions>
</configuration>