Querystring too long in EPiServer Composer
Stumbled upon an issue with EPiServer Composer 4 and that the query string was too long. Not entirely sure how great this fix is out of a security stand point, but if anyone else knows a better solution please let me know.
The error
HTTP Error 404.15 - Not Found
The request filtering module is configured to deny a request where the query string is too long.
The solution
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="2097151" />
</requestFiltering>
</security>
</system.webServer>
I'm using W2008 and IIS 7.5, and experied problems when trying to edit a layout block containing several other layoutblocks containing contentblocks. The generated querystring was insanely huge.
I solved it by adding a requestLimits tag under the location path "dropit/plugin/extension/ui/edit".