Search code examples
web-config

web.config : maxRequestLength not taking effect


I have the following seetings in my web.config file.

<httpRuntime executionTimeout="90000" maxRequestLength="204800" />

But I am not able to upload anyfile which are greater than 50MB. Wht could be the reason. The web browser keeps on waiting for the upload to finish but anyfile lesser than 50MB gets uploaded without any issues. Are there any other pleases I need to check?


Solution

  • Perhaps 50MB is the maximum allowed filesize upload on the webserver? If this is the case usually an error message is returned.

    Can you find out what the allowed maximum uploaded filesize on the webserver is?

    P.S.: Information about the system would also be nice. (Windows/Linux/Mac, IIS/Apache ...)