File Upload size limit solution for Win2008 or IIS7

Source: Internet
Author: User

By default, the upload limit for IIS7 is 200K. When the upload file is less than 30M, you can set it by the following methods:
Find the ASP settings in IIS7, and in the "Limit properties" of ASP, the last line of "Maximum request principal limit", modify the value to be what you want, such as 2G (2000000000, Unit B). When the upload file requires more than 30M, continue with the following modifications:

1. Stop IIS7

2. Find the "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 a file first, then remove the read-only attribute.

1. Right-click File---Properties--security, select Target user, tap Advanced, modify file owner;

2. Click Edit after OK, you can modify the current user's permissions, add "Write" permission. At this point, the permission setting is OK.

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

Open the file with Notepad, find "", and Change "30000000" to the value you want (such as 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 files through.

However, win2008 can only upload files that are less than 2G

Second, The IIS7.0 method is modified as follows:

Open IIS Manager – Double-click ASP in IIS – Open the Configure ASP properties for the program – expand throttling Properties, modify the value of Maximum request entity principal limit, and the default value is 200000 (that is, less than 200KB);
Change it to the size you want to modify, such as: 52000000 (50MB).
Edit Complete Click "Apply" ok!

File Upload size limit solution for Win2008 or IIS7

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.