Copied to clipboard

Flag this post as spam?

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


  • Jamie 35 posts 87 karma points
    May 03, 2011 @ 05:17
    Jamie
    0

    File size error uploads > 4MB

    I get an error uploading files gretaer then 4Mb in the media section.

    What I've done fresh install of umbraco v 4.6.1 , no starter kits, installed GekoUploader from the builtin package installer. It errored like it does in 4.6 and I manually created the Data Type and added it to an upload tab in the Media Type .. all things I have done befor and it has been OK. I can upload 500kb Jpgs no problem. However 5-10MB flv files get a error in the upload box e.g.

    Marshall_Directions.... (4.68MB) - File Size Error

    I have checked my IIS 7 settins for upload limits and it is currently

            <security>
                <requestFiltering>
                    <requestLimits maxAllowedContentLength="60000000" />
                </requestFiltering>
            </security>

    Which should give ~60Mb for uploaded files.

    The mime type is also correctly in IIS - as it is by default.

    I have tried the DLL replacement files suggested here http://our.umbraco.org/projects/website-utilities/gecko-uploadify/feedback,-suggestions,-bugs/12822-Size-limit above even though the thread was 7+ months old.

    Anyone have any suggestions?

     

     

    BTW - the only thing I could ask for normally from this package could be that when creating the datatype you could set such things as size limits and allowed file types.

  • Sean Mooney 131 posts 158 karma points c-trib
    May 03, 2011 @ 14:40
    Sean Mooney
    0

    I think you need to adjust the httpruntime maxrequest - http://msdn.microsoft.com/en-us/library/e1f13641(v=vs.71).aspx

    <system.web>
        <httpRuntime maxRequestLength="60000000">
    </system.web>

     

  • Sascha Wolter 615 posts 1101 karma points
    May 04, 2011 @ 04:29
    Sascha Wolter
    0

    Additionally you might want to set the executionTimeout attribute as well, 600 will give you 10 minutes for the server to do the upload.

    Adding these directions to your page obviously creates a bit of a security issue though as the default values are there for a reason, so if you don't need to upload large(r) files ongoing it's better to reduce the values/remove the statement.

    Cheers,

    Sascha

Please Sign in or register to post replies

Write your reply to:

Draft