Have you gotten a client side message along the lines of "Message Length Exceeded" when working with an ASP.NET AJAX application? If so, check into the web.config tag:
Depending on the payload that you are trying to send to the client, you may need touncomment this line and put a large enough value in for the maxJsonLength attribute. I would suggest caution in doing this. By setting this value to a really high number, you can solve the problem, but you can cause problems on the client if the payload is too large instead of just generating the error. As we do more development, I am finding that browsers are fickle apps and can be fairly easily overwhelmed by too much data. I am sure that no one is surprised by that.
For more information on maxJsonLegnth, check out: