Search Persits Software Knowledge Base

 

Article PS100223175

AspUpload Upload Size Limit on IIS7+

Problem Description

When uploading files with AspUpload to Windows 2008+ running IIS 7+, the upload process fails with little or no information about the problem.

Solution

The problem may be related to the requestLimits configuration parameter. The file web.config for your application (or machine.config, if appropriate) needs to be modified as follows:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
   ...
   <system.webServer>
      <security>
         <requestFiltering>
            <requestLimits maxAllowedContentLength="524288000" />
         </requestFiltering>
      </security>
   </system.webServer>
</configuration>

The example above sets the upload size limit to 500 MB.

Created: 2/23/2010 11:48:17 AM
Last Modified: 2/24/2010 10:08:47 AM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.