Win2008 or IIS7 file upload size limit solution

Source: Internet
Author: User

By default, the IIS7 upload is limited to 200K. When the upload file is less than 30M, you can set the following methods:
Locate the ASP setting in IIS7, and modify the maximum request principal limit in the last line of the constraint properties for ASP, as you want, such as 2G (2000000000, Unit B). When the upload file requires greater than 30M, continue with the following modifications:


1. Stop IIS7


2, find "C:\Windows\System32\inetsrv\config\schema\IIS_schema.xml" file.


This file is read-only and cannot be modified with administrator privileges. To modify the permissions of the file first, and then remove the read-only property.


1. Right key file-> attribute-> security, select Target user, click Advanced, modify file owner;


2. After the confirmation click Edit, you can modify the current user's permissions, add "Write" permission. At this point, the permission settings are OK.


3. Remove the read-only property of the file.

Open the file in Notepad, find "", and Change "30000000" to the value you want (for example, 2000000000) to save.


Add a read-only property to the "C:\Windows\System32\inetsrv\config\schema\IIS_schema.xml" file.

Start IIS7. I upload 120M video file through.


However, the maximum number of win2008 can upload files less than 2G. This should be noted.

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.