Main Page
 The gatekeeper of reality is
 quantified imagination.

Stay notified when site changes by adding your email address:

Your Email:

Bookmark and Share
Email Notification
Project "Metabase.xml"
    Purpose
The purpose of this project is to demonstrate how to modify the Microsoft IIS 6 (Metabase.xml) and 7 (applicationHost.config) file so that websites you may have can handle upload streams (such as uploading a file) greater than the default 200kb limit. There's a lot more you can do with the metabase, too.


STEP 1
IIS6/7

(Enlarge)
  1. Locate the metabase.xml file on the web server; usually located at windows\system32\inetsrv.
  2. Open the metabase.xml file with Notepad.
STEP 2
IIS6/7

(Enlarge)
  1. For IIS 6, locate the text "AspMaxRequestEntityAllowed" and set to the value needed.
  2. For IIS 7, "maxRequestEntityAllowed" can be changed via the command-line via appcmd set config/section:asp maxRequestEntityAllowed:123456 (where 123456 is the actual value). If you prefer, you can use the GUI for IIS7 as shown below.
  3. NOTE: Before saving the metabase file, be sure IIS has been stopped. After saving you will need to restart IIS.
STEP 1
IIS7 Only

(Enlarge)
  1. For IIS 7 (and editing via the GUI under Windows Server 2008 Standard), select the main website folder in IIS7.
  2. Double-click on the ASP icon.
STEP 2
IIS7 Only

(Enlarge)
  1. Expand the section "Limits Properties".
  2. The two key sections that you may need to modify are "Maximum Requesting Entity Body Limit" for the filesize limit and "Script Time-out" for the duration of time to keep a connection open.
  3. Under "Actions" click "Apply". You should not need to stop or restart IIS 7.
About Joe