What setting is the file upload component using when determining how large files it´s possible to upload?
Is it in web.config or where can I adjust the maximum requesat length for the file upload component?
Best regards Kristian
I think I found the answer. Please confirm if it's the right way to do it.
It's two places in web.config where you have to set the request value:
Web.Config/system.web/httpRuntime/maxRequestLength (size in KB)
Web.Config/system.webServer/security/requestFiltering/requestLimits/maxAllowedContentLength (size in bytes)
Hi, short answer you need to set them both.
Under system.webserver affects IIS and the system.web affects asp.net application. Bonus: You can define also different values per location -> system.web section ;)
(Good that you noticed that one uses kilobytes and the other uses bytes, how convinient is this, right ;)?)