For When You Can't Have The Real Thing
[ start | index | login ]
start > Windows > IIS > Upload and Download File Size Limits

Upload and Download File Size Limits

Created by dave. Last edited by dave, 5 years and 339 days ago. Viewed 2,421 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
(1 November 2012)

When trying to upload files over 200KB on IIS 6 the file may never upload and you either get an error or are sent to a blank screen. By default Windows 2003 server limits file uploads to about 200KB in size. To overcome this limit you must edit the IIS metabase.xml file.

  1. Before you can edit the metabase.xml file you must tell IIS to allow you to edit the file. In IIS, right click the name of the server and select properties. Check "Enable Direct Metabase Edit".
  2. Find the metabase.xml file located in C:\windows\sytem32\inetserv and open the file in Notepad.
  3. Search for AspMaxRequestEntityAllowed and increase the value. The default value is 204800 (200K). Setting the value to 1000000 will allow 1 MB file uploads.
  4. You may now wish to uncheck the IIS property called "Enable Direct Metabase Edit".
  5. To increase the file download size limit, repeat all steps above but in Step 3 find the parameter called AspBufferingLimit. The default download limit is 4MB.
(>>Source)
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt