Whilst uploading a large (70MB) file to an IIS 7 website I got a 404 error….which was odd, uploading a file in a postback shouldn’t give me that. I know that file exists!
On further investigation it turns out it was actually a 404.13 error from the Request Filtering feature of the Integrated Pipeline (More Info
To fix this I needed to add some additional configuration to the <system.webServer> element on top of the <httpRuntime> modifications – note the subtle change of units!
<httpRuntime maxRequestLength="204800" requestLengthDiskThreshold="204800" />
<requestLimits maxAllowedContentLength="204800000" />