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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: