A developer recently reported a problem that when a customer attempted to upload an attachment, they would sometime receive the error:
The page was not displayed because the request entity is too large.
In our case it did not include an error number, but it will sometimes include the error number:
HTTPS 413
The fix for us is listed below:
How to set the uploadReadAheadSize in IIS 7.5
- Launch "Internet Information Services (IIS) Manager"
- Expand the Server field
- Expand Sites
- Select the site you want to make the modification for.
- In the Features section, double click "Configuration Editor"
- Under "Section" select: system.webServer>serverRuntime
- Modify the "uploadReadAheadSize" section
- Click Apply
- Note that the value is in BYTES