Although number No. 2003 is a breakthrough in security, it defaults to the. NET architecture, while discarding the long, popular ASP's line is questionable and requires us to manually configure a lot of things.
In IIS 6.0, the default setting is particularly strict and secure, which minimizes the attack caused by previously too loose timeouts and restrictions. For example, the default metabase property enforces a maximum ASP posting size of 204,800 bytes and restricts each field to KB. There are no posting restrictions in the version prior to IIS 6.0. It's often a mistake to make the application system in our school migrate to 2003. These days walked several schools found some problems, now the summary solution is as follows.
First, enable ASP support
Windows Server 2003 is installed by default and is not installed with IIS 6 and requires additional installation. After you install IIS 6, you also need to turn on standalone support for ASP.
First step, enable ASP, Access: Control Panel-> management Tools->iis (Internet Server)-Web service Extensions-> Active Server Pages-> allow
Control Panel-> Management Tools->iis (Internet Server)-Web service extensions-> include files at the server-> allow
The second step is to enable the parent path support.
iis-Web Site-Home Directory-configuration-options-Enable parent path
Third step, permission assignment
iis-Web site-(specific site)-(right) permissions-users Full Control
Second, the resolution windows2003 maximum can upload only 200K limit.
Shut down the IIS Admin service in the service first
Find the MetaBase.xml under the Windowssystem32inesrv,
Open, find aspmaxrequestentityallowed to change him to the desired value,
Then restart the IIS Admin Service
1. Allow Active Server Pages and include files on server side in Web service extensions
2, modify the properties of each site
Home Directory-Configuration-options-Enable parent path
3, so that it can upload files larger than 200k (modified to the size you want, such as in the back of two 0, will allow 20m)
C:windowssystem32inetsrvmetabase.xml
(The Enterprise version of Windows2003 is on line No. 592, the default is aspmaxrequestentityallowed= "204800" or 200K.)
Add two to 0, that is, now the maximum can be uploaded 20M.
Aspmaxrequestentityallowed= "20480000"
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.