web service via javascript error

I am calling a web service from javascript and it returns an array of objects. Everything works fine until the array returns a larger number of objects (601), and then I get the error shown below. Ideas

_exceptionType: System.InvalidOperationException

_message: Maximum length exceeded.

_stackTrace: at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData, IDictionary`2 rawParams)
at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)



Answer this question

web service via javascript error