# Web form: File Upload error "Maximum request length exceeded"

**URL:** <https://discuss.workflowgen.com/t/web-form-file-upload-error-maximum-request-length-exceeded/219>\
**Category:** Visual Studio Web Forms\
**Created:** [September 4, 2013, 5:11am UTC](https://discuss.workflowgen.com/t/web-form-file-upload-error-maximum-request-length-exceeded/219 "2013-09-04T05:11:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [September 4, 2013, 5:11am UTC](https://discuss.workflowgen.com/t/web-form-file-upload-error-maximum-request-length-exceeded/219/1 "2013-09-04T05:11:09Z")

</div>

If you receive a `Maximum request length exceeded` error when uploading files larger than 4 MB, edit the the `maxRequestLength` parameter in the `web.config` file as follows:

```auto
<configuration>
   <system.web>
      <httpRuntime maxRequestLength="32768" />
   </system.web>
</configuration>

```
