HTTP error 413 - get and set uploadReadAheadSize in IIS
In this post, I describe how to get and set uploadReadAheadSize in IIS to fix the error:
"An unknown error occurred while processing the request on the server. The status code returned from the server was: 413"
Cause
This error occurred after I created a self-signed SSL certificate and tried to access a site in IIS over HTTPS.
Error code 413 means "Request Entity Too Large".
Resolution
To resolve the issue, I increased the uploadReadAheadSize in IIS as follows:
- Open IIS
- Select your site in the treeview on the left
- Open Configuration Editor:
- Open the Section drop down, expand system.webServer then select serverRuntime:
- Here you can check your current uploadReadAheadSize and set a new value in bytes between 0 and 2147483647 (more information from Microsoft)
- Click outside uploadReadAheadSize then press Apply in the top right to save your changes
Error 413 should now be resolved.
Related Posts
- NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM - IIS SSL Certificate
Comments
Post a Comment