Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

Sitecore IIS7 and large files

Modified: 2009/12/21 11:58 by jim - Categorized as: ASP.NET, Sitecore
To enable the uploading of large media files in a Sitecore application, the following should be added to the web.config, this in addition to the mutations done in IIS6 situations.

<configuration>
        <system.webServer>
            <security>
                <requestFiltering>
                    <requestLimits maxAllowedContentLength="70000000"/>
                </requestFiltering>
            </security>
        </system.webServer>
</configuration>

The IIS6 mutations were:

<setting name="Media.MaxSizeInDatabase" value="70MB" />
<setting name="Media.MaxSizeInMemory" value="70MB" />
<httpRuntime maxRequestLength="76384" executionTimeout="600" />

 © Evident Interactive BV