File Size limit

Member since: 2006
 

Hi,

I am trying to upload a swf file of 64MB on a standard episerver cms 5 install. However, this is not working.

I am assuming the file is simply too large, what is the size limit for an upload?

Regards,

Ian

#26265 Nov 28, 2008 10:29
  • Member since: 2006
     

    Hi Ian.

    Have you tried to set the locations maxRequestLength? I think it is 4000 bytes by default.

    <location path="Global">
     <httpRuntime maxRequestLength="1000000" />

    Hope this helps!

    - Tore Gjerdrum -

    #26267 Nov 28, 2008 10:47
  • This message was deleted by Ivan Aprile at Aug 06, 2009 15:45.
  • Member since: 2009
     

    It doesn't work :-(

    <location path="Global">
     <httpRuntime maxRequestLength="1000000" />

    #31678 Aug 06, 2009 15:45
  •  

    When uploading a file with the file manager the request is posted to the filemanager which is inside the UI folder, so you have to set the maxRequestLength for the UI folder instead of the Global folder.

    If you're running on IIS7 there's also a request filtering module that has to be configured to allow for larger posts.

    system.webServer/security/requestFiltering/requestLimits/@maxAllowedContentLength 

    This directive is configured in bytes (not kB as is the case with maxRequestLength) 

    #31679 Aug 06, 2009 16:18
  • Member since: 2009
     

    I tested and it doesn't work :-(

     

    #32214 Aug 26, 2009 9:43
  •  

    you can use the advanced file upload.

    or add the tag 

    <requestLimits maxAllowedContentLength="your desired limit" />

    So the final code will be 

    <system.webServer>
    <security>
    <requestFiltering>
    <requestLimits maxAllowedContentLength="your desired limit" />
    </requestFiltering>
    </security>
    </system.webServer>

     

    #59016 May 16, 2012 9:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
Please login to post a reply