In IIS 6.0, the default settings are particularly strict and secure, which minimizes attacks caused by timeouts and limits that were previously too lenient. For example, the default metabase property implementation limits the maximum ASP post size to 204,800 bytes and limits individual fields to 100 KB. In versions prior to IIS 6.0, there were no posting restrictions. As a result, when the application system in our school is transplanted to 2003, errors often occur. I visited several schools in the past few days and found some problems. Here are the solutions.
1. Enable Asp support
Windows Server 2003 is installed by default and does not install IIS 6. It needs to be installed separately. After installing IIS 6, you need to enable ASP support separately.
The first step is to start Asp and go to: Control Panel->Administrative Tools->IIS (Internet Server)-Web Service Extension->Active Server Pages->Allow
Control Panel->Administrative Tools->IIS (Internet Server)-Web Service Extension->Inclusion file on the server side->Allow
The second step is to enable parent path support.
IIS-Website-Home Directory-Configuration-Options-Enable Parent Path
The third step is to assign permissions
IIS-Website-(Specific Site)-(right-click) Permissions-Users Full Control
2. Solve the limitation that windows2003 has to upload a maximum of 200K.
First close the iis admin service service in the service
Find metabase.xml under windows\system32\inesrv\,
Open it, find ASPMaxRequestEntityAllowed and modify it to the required value.
Then restart the iis admin service service
1. The web service extension allows active server pages and inclusion files on the server side.
2. Modify the properties of each site
Home Directory-Configuration-Options-Enable Parent Path
3. Make it possible to upload files larger than 200k (just change it to the size you want. If you add two zeros at the end, 20m will be allowed)
c:\WINDOWS\system32\inetsrv\MetaBase.xml
(In line 592 of the enterprise version of Windows 2003, the default is AspMaxRequestEntityAllowed="204800", which is 200K. Add two 0s to it, that is, change it to, now the maximum upload can be 20M.
AspMaxRequestEntityAllowed="20480000"