Salesforce

In SDL Web, deployment packages larger than 30 MB cannot be deployed via HTTPUpload in IIS

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentTridion 2011 SP1, Tridion 2013 SP1
Symptoms/Context

Deployment packages larger than 30 MB cannot be deployed via the HTTPUpload.aspx page on IIS. Deployment may fail with one of the below two errors:

HTTP/1.1 413 Request Entity Too Large

or

Unable to recognize the upload state data.

 

Resolution

You can manually override this size limit. To do this change the web.config for the HTTPUpload website as indicated below:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2000000000" />
</requestFiltering>
</security>

</system.webServer>
<system.web>
<httpRuntime maxRequestLength="20971512" executionTimeout="600"/>
</system.web>
</configuration>

In addition to this, locate your cd_deployer_conf.xml configuration file, and locate the HTTPSReceiver element, and add a MaxSize attribute:

<HTTPSReceiver MaxSize="2147483648" Location="C:\Program Files\Tridion\incoming" InProcessDeploy="true"/ >
Root Cause
IIS has an additional security setting limiting the size of uploads.
Reference
For SDL Web 8.1.1 and later product versions, refer to KB article Deployer microservice fails with error "Request Entity Too Large"
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by