Copied to clipboard

Flag this post as spam?

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


  • sun 403 posts 395 karma points
    Nov 19, 2010 @ 14:46
    sun
    0

    I want to upload a file bigger than 100M in media section, but I can't upload it, why?

    I want to upload a file bigger than 100M in media section, but I can't upload it, why?

    windows 2008 r2, .net 4.0 ,umbraco 4.5.2

    it seems the file is too big. How should I do?

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Nov 19, 2010 @ 15:00
    Jeroen Breuer
    0

    You probably need to update the web.config file:

    <httpRuntime requestValidationMode="2.0" maxRequestLength="102400" executionTimeout="3600" />

    With this you can upload file up to a 100 mb.

    Jeroen

  • Rich Green 2246 posts 4008 karma points
    Nov 19, 2010 @ 15:23
    Rich Green
    0

    I believe there are some circumstances where you may also need to run a command outlined in Zens post here

    http://our.umbraco.org/forum/using/ui-questions/7441-Another-uploading-large-files-and-zip-files-issue

    Rich

  • Geoff Baldwin 80 posts 100 karma points
    Nov 19, 2010 @ 16:36
    Geoff Baldwin
    0

    I second Rich Green - I used that procedure and it works a treat -- in fact I wrote a little batch file as I have a number of websites configured. Can't seem to see a way of uploading it so here it is just in case it is useful to anyone:

    Rem set top limit for uploads to site
    CLS

    @Echo off
    c:
    cd %windir%\system32\inetsrv
    set /p sitename="Enter the site name : "
    set /p maxupload="Enter the Maximum upload size in mb : "

    appcmd.exe set config "%sitenam%" -section:requestFiltering -requestLimits.maxAllowedContentLength:%maxupload% -commitpath:apphost
    /pause

    I leave the /pause in so I can see what occurred!

  • Sjors Pals 617 posts 270 karma points
    Nov 22, 2010 @ 14:05
    Sjors Pals
    0

    As an ugly hack you can upload a smaller file with the same file name as the large file, upload that one, and later replace it on the file system with the large file ;)

  • sun 403 posts 395 karma points
    Nov 22, 2010 @ 14:23
    sun
    0

    SjorsPals, I do it like you said. haha.

  • 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