Friday, January 27, 2012

Ajax call fails because of response size

I found that some times my Ajax call was returning failure. Checked the server side, which was found okay. This was because of the size of the response. The default value of JSON response is 102400. I changed it to higher value and it solved the problem. Added following to web.config: