IIS7 upload download file size limit settings

Source: Internet
Author: User
Tags trustedinstaller

This article from Iisboy Network

one, find the modified size of the configuration file and Configuration node This article from Iisboy network

Open your system disk (I am the C drive), find the C:\Windows\System32\inetsrv\config\schema directory, the directory has a iis_schema.xml, right-click Open File, Ctrl+f, Then enter " content from Iisboy

<attribute name= "maxAllowedContentLength" type= "uint" defaultvalue= "30000000"/> ", locate the configuration node, We see there is a defaultvalue=30000000, good, is that it restricts the size of the upload file, since found, then let us to modify it, for the moment 3 to 5 (about 50M) Try it! Ctrl+s, Popup cannot be saved, file is read-only property! Well, let's get rid of the read-only attribute of the file! Right-click Properties, remove read-only, save! Boom, pop up a dialog box,

Prompt does not have the right to modify the file attributes, with the administrator login, there is no permission, eh, permissions issues! Similarly, we would like to edit the administrator permissions to modify and Write permission to add to the same will pop up the above no permission prompt!

Second, modify the file permissions to be able to modify the file content from Iisboy

Found the modification of the place but can not be modified, but encountered a permission problem, and on this permission issue also engaged me half a day, depressed Ah! Talk less, keep working! Copyright Iisboy

Right-click File--Properties--security, let's see Administrator permissions

We see that administrator has only read permission and does not have the right to write and modify, we look at the following there is a TrustedInstaller

We found that this user group has all the permissions on this file! Baidu look, online said from the Vista to Windows 7 system began, the system joined the TrustedInstaller virtual accounts, permissions than administrator also big, hey, no matter it! Now I'm going to use administrator to modify the file. Click "Advanced", "owner", as follows:

The current owner is "TrustedInstaller", we want to change it to "Administrator", click "Edit", select "Administrator", click "Apply", then pop up a dialog box, such as:

Don't worry about it, click OK, at this point, we look at the current file owner has become administrator, such as:

The operation of all this, we look back to directly modify the file attributes is not enough, we need to put our administrator on the file permission to elevate, tick "full Control", such as:

Third, modify the configuration file

IIS installation configuration Troubleshooting Web site

OK, we now have the full control of the file permissions, we first take the file read-only properties, the next modification is very simple, the first step to find the configuration node will be resized to the size of their own size, and then restart the IIS can be verified is correct! The changes to the upload attachment size limit for IIS are now complete!

This article from Iisboy Network

Iv. Follow--Restore the file's permissions

Iisboy.com

We have changed the owner of the file to administrator, and now I want to restore the owner of the file, what do I do, according to the old way: Right click Properties---property TrustedInstaller ", check the name but said to find the user name and group, so continue Baidu Ah! The whole process should be "NT Service\trustedinstaller", check the name is correct, and then OK ... In this way, we restore the file to the pre-modification of the permissions, the finished, haha!

Note: Above is to modify the upload file limit, now this is to modify the download file limit:

Shut down the IIS Admin Service services in the service first.
2. Find the Iis_schema.xml file under Windows\system32\inetsrv\config\schema.
3. Cancels the read-only attribute of the file.
4, open with plain text, find bufferinglimit it corresponds to the defaultvalue= "4194304" that is 4096KB, modified to the desired value, the modified value is required between 0-2147483647.

Here's the same as the modified file properties!!!

IIS7 upload download file size limit settings

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.