Copied to clipboard

Flag this post as spam?

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


  • Ennija 44 posts 126 karma points
    Jan 07, 2016 @ 09:33
    Ennija
    0

    Application error

    I have Application error

    An attempt to download a remote file has been halted because the file is larger than allowed.

    where you can change the size?

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jan 07, 2016 @ 09:44
    Dennis Aaen
    0

    Hi Ennija,

    If you mean how you can change the file size so you can upload bigger files and image into Umbraco media library.

    Then what you need to do is to go the web.config file, and find this piece of code.

    <system.web>
    ....
    <httpRuntime maxRequestLength="32768" executionTimeout="300" />
    ....
    </system.web> 
    

    And change the maxRequestLength so it match the type of file size that you want to upload. With the code above, it´s increases the max upload size to 32MB and increases the timeout.

    When working with IIS 7+, also requires adding requestFiltering under the system.webServer section:

    <system.web>
        <httpRuntime maxRequestLength="32768" executionTimeout="300"/>
    </system.web>
    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimitsmaxAllowedContentLength="32768"/>
            </requestFiltering>
        </security>
    </system.webServer>
    

    Hope this helps,

    /Dennis

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jan 07, 2016 @ 09:50
    Dennis Aaen
    0

    And here you can find some documentation from Microsoft on the different attributes.

    https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.85).aspx

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft