Copied to clipboard

Flag this post as spam?

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


  • Denford 132 posts 323 karma points
    Apr 02, 2014 @ 11:48
    Denford
    0

    Error Uploading media (mp3 files) bigger that 25mb in Umbraco 7

    Hi Guys,

    building a new music sitwe to test umbraco 7, so far so good until i need to upload a .mp3 file which is bigger than 25mb to the media section i get the error below. i have increased the web config runtime limit to 10gb which works in v6 and v4 as bellow, but makes no difference.

    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" maxRequestLength="10485760" executionTimeout="360" />

    the error i am getting is in the modal image below;

    Got a work around for the time being, create my media item in the back end , rename a small mp3 file to the name i want to use on my media item upload that one and save it, once saved go to the media folder and replace that file with the actual one bigger than 25mb, go back in the back end re-save the medai item and walla got my file bigger than 25mb. As you can image this isnt ideal but works for now.

     

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Apr 02, 2014 @ 11:59
    Jeavon Leopold
    101

    Hi, you also need to add the size limit to the security section if you are using IIS7+ See this article for a complete sample of the config.

    Jeavon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 02, 2014 @ 12:42
    Jan Skovgaard
    1

    Also make sure that the mime-type is recognized by the server.

    /Jan

  • Denford 132 posts 323 karma points
    Apr 02, 2014 @ 12:48
    Denford
    0

    Nice one dude works like a charm, got the link to the 24days articles as well helps to actually read them lol.

  • Denford 132 posts 323 karma points
    Apr 02, 2014 @ 12:51
    Denford
    0

    @jan thanks did check that before as a sanity check lol and because i could also add smaller mp3 files couldnt work out why it was freaking out on bigger ones.

Please Sign in or register to post replies

Write your reply to:

Draft