IIS7 post #40 – Adjusting File upload size in IIS7

How-to increase the IIS7 upload setting.  This was posted on http://forums.iis.net


Here is the syntax.

"You are probably hitting a new limit in request-filtering feature (replacement for url-scan) in IIS7.  Try to set this to see if it helps

appcmd set config "My Site/MyApp" -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600 -commitpath:apphost

the default for this is 30000000 (slightly less than 30MB)"

Thanks to Anil Ruia for posting this tip.