Unable to Export Media Assets from between Environments


I am trying to export Media assets from my local environment to dev environment in my DXC.when I am trying to import the zip file which i have exported from the local environment in DXC I am getting failure message.It is almost 400 MB.I tried to increase  maxRequestLength parameter in Web.config but no luck.As  maxRequestLength is int32 my request size is beyond that limit.Can any one help me with this?

Dec 10, 2018 6:31

Hi Sai,

maxRequestLenght is setting for IIS 6.0. The IIS 7.0 uses setting maxAllowedContentLength to set max request length.

You should add more config to root level like this:

    <httpRuntime maxRequestLength="2097152" />
            <requestLimits maxAllowedContentLength="2147483648" />
Dec 10, 2018 8:43

To add to Binhs answer, just a small clarification: maxRequestLength value is in kilobytes AND maxAllowedContentLength is in bytes.

Links to MS documentation:

So for example if you want to limit uploads to 500MB then:

  • maxRequestLength value would be 512000 (500MB x 1024 => 512000 kilobytes)
  • maxAllowedContentLength value would be 524288000 (500MB x 1024 x 1024 => 524288000 bytes)
Edited, Dec 10, 2018 19:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.