Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James 251 posts 1169 karma points
    Oct 03, 2014 @ 15:22
    James
    0

    Request Limit When Installing Package

    I have just downloaded a package called Dialogue. It is around 40MB in size.

     

    When i go to installt he package using the local package option i get the following error:

    The request filtering module is configured to deny a request that exceeds the request content length.

     

    So as per the instructions when I googled the topic i inserted the following code into my webconfig file:

    <configuration>
        <system.web>
            <httpRuntime maxRequestLength="1048576" />
        </system.web>
    </configuration>

    I then go to install/ upload the package using the same options and get a similar error.

     

    I am using IIS8 and The latest Umbraco through install on visual studio express for web.

     

    Any ideas?

     

    Kind regards,

     

    James.

     


  • James 251 posts 1169 karma points
    Oct 03, 2014 @ 15:24
    James
    0

    I tried pasting the following code into my web config after the first configuration tag too:

    <system.webServer>     <security>       <requestFiltering>         <requestLimitsmaxAllowedContentLength="2147483648"/>       </requestFiltering>     </security>   </system.webServer>   <system.web>     <httpRuntimemaxRequestLength="1048576"/>   </system.web>

     

     

    To no avail :(

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 03, 2014 @ 15:39
    Stefan Kip
    1

    1048576 bytes is just 1 MB.
    You'll need at least the size of Dialogue in bytes, so approx. 40 * 1024 * 1024 = 41943040

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Oct 03, 2014 @ 15:40
    Dennis Aaen
    100

    Hi James,

    Try to remove the requestLimitsmaxAllowedContentLength, and set the digits on the httpRuntime instead. something like this:

    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" maxRequestLength="52428800" targetFramework="4.5"/>

    Hope this helps,

    /Dennis

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies