Skip to content

Instantly share code, notes, and snippets.

@mstum
Created July 23, 2012 20:06
Show Gist options
  • Save mstum/3165909 to your computer and use it in GitHub Desktop.
Save mstum/3165909 to your computer and use it in GitHub Desktop.
IIS File Upload Limit
<!-- You ALSO need to set this, which is KiloByte:
<httpRuntime maxRequestLength="51200" />
-->
<system.webServer>
<security>
<requestFiltering>
<!-- in bytes. Documentation says that 0 means Unlimited, but this is NOT true. 0 means zero bytes. 2 GB is the max. -->
<requestLimits maxAllowedContentLength="2147483647" />
</requestFiltering>
</security>
</system.webServer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment