Copied to clipboard

Flag this post as spam?

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


  • Robert Dyson 50 posts 147 karma points c-trib
    Mar 25, 2014 @ 16:41
    Robert Dyson
    0

    Media File Size Limit

    I have looked through the various forum posts about having to add settings to the web.config to alter the requestlimits. However, the don't seem to help me. I am running Umbraco 7.0.4 on IIS8 and I am trying to upload an 8MB PDF. I immediately get an unhelpful error message saying:

    Server error: Contact administrator, see log for full details. undefined

    Nothing seems to be added to the logs. 

    Does anyone know what to do here?

  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Mar 25, 2014 @ 16:50
    Jan Skovgaard
    0

    Hi Robert

    Could you please share what your looks like? Are you certain you have set it to a proper amount? and have you added the timeout as well?

    If you add the above attributes to your

    Perhaps you also need to add this

    If setting the above stuff does not help then try having a look at this post http://our.umbraco.org/forum/using/ui-questions/7441-Another-uploading-large-files-and-zip-files-issue#comment27330

    Hope this helps.

    /Jan

  • Robert Dyson 50 posts 147 karma points c-trib
    Mar 25, 2014 @ 17:01
    Robert Dyson
    0

    I have added the following:

     

     <system.web>
        <httpRuntime maxRequestLength="204800" executionTimeout="99999" />
    </system.web>
    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="204800000"/>
            </requestFiltering>
        </security>
    </system.webServer>
  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Mar 25, 2014 @ 17:03
    Jan Skovgaard
    0

    Hi Robert

    Ok - Did you also try the tip from the post I linked too?

    Have you checked to see if the /app_data/logs file reveals any usefull information?

    /Jan

  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Mar 25, 2014 @ 17:04
    Jan Skovgaard
    0

    Argh, just realised the code in my first post did not make it. But it suggested what you have posted above yourself.

    Damn markdown editor! :)

    /Jan

  • Robert Dyson 50 posts 147 karma points c-trib
    Mar 25, 2014 @ 17:40
    Robert Dyson
    0

    Jan,

    Thanks for the response. The code above worked.. Although I'm a little embarrased to admit it... I think I was adding these settings in the wrong place.....

    Sorry for wasting your time!

    Rob

  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Mar 25, 2014 @ 21:14
    Jan Skovgaard
    0

    Hi Robert

    Glad you figured it out - those silly little mistakes happen to all of us - Don't worry about that :)

    Cheers, Jan

Please Sign in or register to post replies

Write your reply to:

Draft