Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 886 posts 2415 karma points
    Apr 24, 2020 @ 06:37
    Claushingebjerg
    0

    Uploading large files in v8

    I need to upload a 90mb mp4 file to the media section.

    I have changed this in web.config

     <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.7.2" maxRequestLength="104857600" executionTimeout="240" fcnMode="Single" />
    

    but when trying to upload anything larger than around 50mb i get a red cross after uploading and no further explanation.

    enter image description here

    Are there more settings to be set or what am i missing?

  • Kevin Jump 1867 posts 11859 karma points MVP 4x c-trib
    Apr 24, 2020 @ 08:09
    Kevin Jump
    100

    Hi,

    there is also another setting in the web.server section of the web.config that you might need to update

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

    this value is in bytes (maxRequestLength is in KB - so in your above line you've actually set the request limit to around 100gb).

    so the snipit above sets the second limit t 100mb.

  • Claushingebjerg 886 posts 2415 karma points
    Apr 24, 2020 @ 08:13
    Claushingebjerg
    0

    Perfect, thanks

  • 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