Maximum request length exceeded

If you are using IIS(Internet Information Services) for hosting your web application, then the default upload file size is 4 MB. To increase it, please copy following code in your web.config.

        <httpRuntime maxRequestLength="1048576" />

If you are using IIS7 or above version then add following code in your web.config

        <requestLimits maxAllowedContentLength="1073741824" />



Leave a Comment