Why can't I upload large assets over IIS?

IIS 7+ introduced the maxAllowedContentLength configuration setting, which by default limits the size of uploaded files to 30 mb. To increase this, we suggest the following value be added to the Web.config in the Asset Bank IIS site's root:
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000" />
</requestFiltering>
</security>
</system.webServer>
</configuration>
This will increase the upload limit to 500 mb.
If this change does not have the desired effect, please ensure the following:
  • That the IIS site is restarted after the change, so the new setting can take effect.
  • That the site's web.config file is in the correct location. This can be found in IIS by navigating to the site, looking at the Basic Settings, and then finding the Physical Path. By default this is C:\Inetpub\wwwroot, so the default path of web.config should be C:\Inetpub\wwwroot\web.config.

Was this article helpful?

Yes No

Thanks for your feedback!