« The importance of risk management | Main | Yahoo enters the mp3 world with an impresive replacement to iTunes »

Overcoming IIS http post file upload limit

To solve this problem go to C:\windows\system32\inetsvr and edit metabase.xml after stopping IIS.

The default setting of AspMaxRequestEntityAllowed is set to 204800. To
allow for larger upload, increase this setting. Example: To increase to 1MB
then 5 * 200kb = 1MB. Multiply 204800 * 5 =1024000 so change the setting
to 1024000.

Alternatively, if you install the IIS Resource Kit it includes a tool called Metabase Explorer which can alter the metabase while IIS is running.

In some cases, you may need to enable a setting called "Enable Direct Metabase Edit" in IIS. To do open up the properties dialog for the computer name at the top of the IIS Manager window and the option should be listed there.

Comments

do you have a solution for Windows 2000 server??

What a legend. First thing I find in Google and it's perfect. Terrific!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)