Uploading Large Files When Using Internet Information Services (IIS 6.0).

April 8, 2005 | KB: 1000935
Agenda Manager 6, Web Access 6,Agenda Manager 7, Web Access 7

Summary

Internet Information Services (IIS) 6.0 contains default settings that limit the size of requests that come into the web server. If a request is larger than the limit, the web server will reject the request.

Cause

The IIS 6.0 metabase contains settings that are not exposed through the standard Internet Information Services MMC console snap-in. The AspMaxRequestEntityAllowed property controls the maximum number of bytes allowed in the entity body of an ASP request. Normally, requests are small, but if you are uploading a file, the request may become large enough to reach the limit.

Workaround

Modify the IIS metabase and raise the limit on the AspMaxRequestEntityAllowed property.

To configure the IIS metabase

  1. Using a text editor, open the MetaBase.xml file located in C:\Windows\System32\Inetsrv.
  2. Locate the line that looks like the following:

    AspMaxRequestEntityAllowed=x

  3. Replace the existing value of x with a desired value.

Note: The default value is set at 204800 bytes. Specify a value that reflects the maximum size of any single file that can be uploaded through Web Access or Agenda Manager.