IIS7 file or directory error is not found when video is greater than 30M _win server

Source: Internet
Author: User

This situation occurs on systems that use IIS7 because IIS7 limits the size of the uploaded file and allows maximum upload of 30M by default.

Solution:
Modify Iis_schema.xml This file to first obtain the control of this document;
Enter directory C:\Windows\System32\inetsrv\config\schema, modify file Iis_schema.xml permissions:

Enter Iis_schema.xml file permission modification, select "Advanced"

Select "Owner"

Check Administrators OK

Then enter the permission editor, modify administrators Full control.

Then remove the read-only property of the Iis_schema.xml.

To modify a file configuration:
Then the search 3000000 meaning is only allowed to upload 30MB file size, you add a 0 after this to become 300MB should be enough. Then restart IIS 7

Copy Code code as follows:

<element name= "RequestLimits" >
<attribute name= "maxAllowedContentLength" type= "uint" defaultvalue= "30000000"/>
<attribute name= "MaxUrl" type= "uint" defaultvalue= "4096"/>
<attribute name= "maxquerystring" type= "UINT" defaultvalue= "2048"/>
<element name= "Headerlimits" >
<collection addelement= "Add" clearelement= "clear" removeelement= "Remove" >
<attribute name= "Header" Type= "string" required= "true" isuniquekey= "true" validationtype= "nonemptystring"/>
<attribute name= "SizeLimit" type= "UINT" required= "true"/>
</collection>
</element>

About 1024 lines or so.

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.