I\'m trying to setup Mercurial on IIS 7.5. I have a web.config for an application directory that is ignoring the maxAllowedContentLength
attribute and I simply
As explained in this rant, IIS 7.5 introduces a default setting for maxAllowedContentLength
in Machine.config
, which will apparently take precedence over whatever you specify in any Web.config
.
To fix this, open IIS Manager, click the server node, choose Configuration Editor, and expand system.webServer/security/requestFiltering
and then change requestLimits/maxAllowedContentLength
(which happens to default to 30000000 bytes). Remember to click Apply afterwards.