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


#1

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:

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