In Windows7 (iis7.5), Win2008 (IIS 7.0), and Win2003 (IIS 6.0), the default settings are particularly strict and secure, which minimizes attacks caused by previously too loose timeouts and limitations.
Specifies that the entity body of an ASP request has an allowable size of 200,000 (IIS6 of 204,800) bytes, in versions prior to IIS 6.0, for example: Windows XP (IIS 5.1), without restrictions.
This causes the file upload cannot exceed 200k, but in fact the submission data cannot exceed 200k, you can send a very long post to try, also can appear this error.
the IIS7.0 method is modified as follows:
1. Open IIS Manager → Double-click ASP in IIS → Open the Configure ASP properties for the program → expand restricted properties;
2, modify the "Maximum request entity principal limit" value, the default value is 200000 (that is, less than 200KB);
3, change it to the size you want to modify, such as: 52000000 (50MB);
4. Click "Apply" to complete the modification ok!
Attached: IIS7 real solution for uploading large file limits
1. Open Internet Information Services (IIS) Manager;
2, close the IIS service;
3. Double-click on "Default Web Site" → Double-click on "Request Filter" in the pane of the right pane → "edit feature settings" → Modify the "Maximum allowed content length" under "Request Limit", the default is 30M, arbitrarily change the size, I changed to 300M, click "OK";
4, restart IIS, and then upload a try, 50M, 90M can be.
the IIS6.0 method is modified as follows:
1, in IIS right-click "Local Computer" select "Properties", check "allow direct editing of the configuration database";
2. Close the "IIS Admin Service" services in the service;
3, find c:\windows\system32\inetsrv\ under the "MetaBase.xml", open, find "aspmaxrequestentityallowed" to change him to the desired value, the default is 204800, that is, 200k, Modify it to 51200000 (50MB);
4. Then restart the IIS Admin service.
in the IIS 6.0 , you can resolve the following steps when you are unable to download more than 4M attachments :
1. Close the IIS Admin Service services in the service first.
2. Find the MetaBase.xml file under Windows\system32\inetsrv\.
3, open in plain text mode, find AspBufferingLimit to change it to the desired value, the default is 4194304 (can be modified to 20M, namely: 20480000).
4. Save and restart the IIS Admin service.
ISS Default upload size is