If a user tries to upload a file that exceeds the maximum allowed, they are greeted with an ugly server error
HTTP Error 404.13 - Not Found
The request filtering module is configured to deny a request that exceeds the request content length
Is it possible to give them a friendlier message than this?
I know IIS has the facility to assign custom error pages, but this is for primary error codes - for example a 404 error, if you try to enter a custom page for a 404.13 error it says '404.13 is an invalid status code. Status codes must be numbers in the form of 400 or 500. Status codes must be between 100 and 999"