London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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)
/Kristian
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 ;)?)
Hi!
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