javascript - Internal Server Error when response text from ajax POST call is big -


i using ajax call following:

$(function () {     $.ajax({         type: 'post',         url: 'frmhistoryreportfinal.aspx/getdatatable',         data: json_data,         contenttype: 'application/json;charset=utf-8',         datatype: 'json',         success: function (responsetext) {              if (responsetext.d == "")                 return;             parseddata = json.parse(responsetext.d);              alert(parseddata);              count = 0;           },         error: function (xhr, textstatus, errorthrown) {             //process error             alert(xhr);             alert(textstatus);             alert(errorthrown);         }     }); }); 

when have small set of data returned c# codebehind. ajax call functions well. when have json string larger data, 200 records returned ajax call gives error("internal server error"). please me resolve issue need handle large datasets.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -