Win2003 IIS limits file upload size issues

Source: Internet
Author: User
Tags metabase

wndows2003of theIISThere are limited file upload size issues over200Kthe file will not be passed up, we have to pay attention to,If you use it laterIIS6.0you need to be aware of the server., Win2003of theIIS 6.0theASPThe upload file size is200krestrictions,aspxUpload program has no effect. In theIIS6.0, the default setting is particularly strict and secure, and the most Big can only teleport 204,800 bytes, which minimizes the attack caused by a previously too loose timeout and limit. IIS 6 for security reasons, The default maximum request is 200K (The maximum submission data limit is200KByte,204800Byte). (In IIS 6.0 There is no such limit in previous versions).

Workaround:

< Span style= "font-family: Microsoft Jacob Black;" >1.   close   IIS Admin Service   service

< Span style= "font-family: Microsoft Jacob Black;" >2.   open   c:\windows\ system32\inetsrv\ metabase.xml file

3.   modify   aspmaxrequestentityallowed       204800 also changed to the same value, < Span style= "font-family: ' Times New Roman ';" >

< Span style= "font-family: Microsoft Jacob Black;" >4.   (Start   IIS Admin Service )   and then restart the server.

in IIS 6.0 , when you cannot download more than 4M attachments, you can resolve the following steps as follows:

1. Close The IIS Lanyan Service services in the service first .

< Span style= "font-family: Microsoft Jacob Black;" >2 , find   windows\system32\inetsrv\     MetaBase.xml   file.

3, open in plain text mode, find aspbufferinglimit to change it to the desired value (can be modified to 50M namely:51200000).

Win2003 IIS limits file upload size issues

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.