Configuring IIS and Content Manager for large file uploads

IIS and Content Manager default settings allow users to upload only relatively small files to a Web site (30 MB or less). Using the Content Manager often requires the ability to upload larger files. To enable larger uploads, edit your Application Host configuration file and the web.config file of your SDL Tridion Web site.

Before you begin

You need to be logged in as an administrator, or edit files as an administrator, to perform this task.

About this task

You can enable large uploads in the following ways:

Procedure

  1. On the Content Manager server, navigate to %WINDIR%\system32\inetsrv\config\.
  2. In this location, open ApplicationHost.config for editing.
  3. In the <system.web> section, find the httpRuntime element.
  4. In this element, remove the maxRequestLength attribute altogether or set it to your expected maximum value (in kilobytes).
  5. Also in this element, set or change the executionTimeout to the number of seconds you want to allow IIS to upload content.
  6. In the <system.webServer> section, find the requestLimits element, which has a maxAllowedContentLength attribute. Either remove this attribute altogether or set it to your expected maximum value (in bytes).
  7. Save and close ApplicationHost.config.
  8. Navigate to %TRIDION_HOME%\Web\
  9. In this location, open web.config for editing.
  10. Ensure that the file contains the following:
    <configuration>
    	<system.webServer>
    		<security>
    			<requestFiltering>
    				<requestLimits maxAllowedContentLength="MAXSIZE" />
    			</requestFiltering>
    		</security>
    	</system.webServer>
    </configuration>

    where MAXSIZE is your expected maximum upload size (in bytes).