Skip to content

Instantly share code, notes, and snippets.

@orvigas
Last active May 8, 2018 16:46
Show Gist options
  • Save orvigas/a41791867f7406cfb80c6433e4e578de to your computer and use it in GitHub Desktop.
Save orvigas/a41791867f7406cfb80c6433e4e578de to your computer and use it in GitHub Desktop.
Solve IIS 8.5 Error message "The page was not displayed because the request entity is too large"
This is a quick overview about te IIS 8.5 error message "The page was not displayed because the request entity is too large", Our team
was trying to publish a PHP app on IIS server, in this app our team was working on the improvement of app folder structure, after that
when some clients was trying to work with it, the app had been throwing "The page was not displayed because the request entity is too
large" as response.
After an extensive search on the web we found a solution:
Command: appcmd.exe set config -section:system.webserver/serverruntime/uploadreadaheadsize: 1048576 /commit:apphost
IIS Manager: <Server Instance> -> Management -> Configuration editor -> System.webServer -> serverRuntime -> UploadReadAheadSize, set 1048576
Restart server.
And take a rest...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment