+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity V3.7 upload filesize limit problem

Sitefinity V3.7 upload filesize limit problem

3 posts, 2 answered
  1. Jim
    Jim avatar
    4 posts
    Registered:
    08 Nov 2012
    24 Sep 2014
    Link to this post
    Hi,
    I get an error when trying to upload a file greater than 26MB.

    The error I get is: Error 404 – File or directory not found

    Details:
    Getting error 404 – File or directory not found when trying to upload a document with a file size greater than 26MB.Max 
    The file size on library details set to 97.66MB
     Web.config entry:<httpRuntime maxRequestLength="204800" requestValidationMode="2.0" executionTimeout="999999"/>

    It doesn't matter what type of file or if it is zipped or not,,, it just seems that if the file size is too big, this is the error.
    Nothing shows up in the sitefinity.log
    Answered
  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    29 Sep 2014
    Link to this post
    Hello Jim,

    Maximum request filesize is globally controlled through the application web.config httpRuntime element.

    The maxRequestLength attribute specifies the limit for the input stream buffering threshold, in KB. This limit can be used to prevent denial of service attacks that are caused, for example, by users posting large files to the server.

    To enable large file uploads, you need to change the value of this attribute to the largest allowed combined file size for your application. If someone selects and uploads files, with total size larger than maxRequestLength, s/he will get the "Page not found" error (which is the default error of the Framework).

    If you use IIS 7 you should also modify requestLimits Element for requestFiltering (IIS Settings Schema) and maxAllowedContentLength attribute.


    All the best,

    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Jim
    Jim avatar
    4 posts
    Registered:
    08 Nov 2012
    02 Oct 2014 in reply to Vassil Vassilev
    Link to this post

    Thanks for your response Vassil, I changed the maxAllowedContentLengthattribute. in IIS 7 and now am able to upload larger documents.

    Thank you. 

    Answered
3 posts, 2 answered