Thursday 29 November 2007

HTTP Error 413 Request Entity too Large

We ran into this issue via AJAX.

To be honest this is on a legacy page, where we haven't created a new version of the page. So it a little data intensive.

This was a page where we used the telerik ajax framework rather than the Microsoft ASP.NET Ajax framework (which we try and use in most situations).

The problem with Telerik, if an issue happens the AjaxManager doesn't report the issue, and just goes into a little animation loop.

Using IEWatch we discovered that this situation occured only when we had had client certificates enabled with a certain size of data.

In the end our temporary resolve is to increase the upload limit:

cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 204800

However you do need to be careful when doing this, and set approriate limits. The real resolve is to convert this legacy page so this issue doesn't occur, but this is a good temporary fix

No comments: