Today, the tribe is here to discuss with you how to set up IIS to make the default upload file size of about 200K.
In fact, we only need to make some changes to IIS on the server to break through this 200K limit, the following methods:
The first step: Edit the metabase directly to allow
In IIS, right-click Local computer to select Properties and check "Allow direct editing of the metabase."
Step Two: Turn off the IIS Admin service
Turn on Control Panel-Administrative Tools-services, or (by running-enter services.msc), locate the IIS Admin service on the right, select the key and click the right mouse button, and then close the service by selecting Stop.
Step Three: Modify the "MetaBase.xml" file
Open "X:\WINDOWS\system32\inetsrv" in turn, locate the "MetaBase.xml" file in the folder, open "MetaBase.xml" in Notepad, and search for " AspMaxRequestEntityAllowed ", change the following" 204800 "to" 1024000000 "to save the file.
Note: "X" is the disk character of the system disk, make sure that the first step is already operational before performing the second step, or you will not be able to save the modified "MetaBase.xml" file.
Fourth step: Turn on the "IIS Admin Service" service
After the modification completes, follow the first step to turn on the IIS Admin service.
If not, you can start by restarting-run--iisreset/restart restart IIS.
After the simple three-step setup, we have changed the size limit of the IIS upload file to 100M, and of course you can change the size of the uploaded file at will.
Note: The operating environment for this example is Windows 2003, IIS6.0, and similar settings under other operating systems.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.