Sitefinity V3.7 upload filesize limit problem
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
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.
Thanks for your response Vassil, I changed the maxAllowedContentLengthattribute. in IIS 7 and now am able to upload larger documents.
Thank you.