|
Written by Website Tutorials
|
|
Friday, 08 September 2006 |
The default size for a file upload in IIS 6 is 200kb. This is not always optimal for sites with some type of upload functionality. Allowing users to upload larger files does not require a lot of time or effort. You must have administrative access to the web server and feel comfortable with modifying IIS settings.
Open up the Internet Information Services Manager (IIS) Right-click on the server and choose Properties…
 Check the “Enable Direct Metabase Edit” box
 Locate the MetaBase.xml file: %Windows dir%\System 32\Inetsrv\MetaBase.xml
 Find the AspMaxRequestEntityAllowed attribute in the XML file and change its value to the desired max upload in KB. For the example, I set ours to 5MB.
 Save MetaBase.xml and you’re finished! There is no need to reboot the server or restart IIS. Go back to Step 3 and uncheck the “Enable Direct Metabase Edit” box |
|
Last Updated ( Friday, 08 September 2006 )
|