IIS7 file or directory error is not found when transmitting video larger than 30M

Source: Internet
Author: User

IIS7 a solution that does not find a file or directory error when you pass a video that is greater than 30M




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





Solution:


Modify Iis_schema.xml This document to first obtain the control of this document;





Enter directory C:windowssystem32inetsrvconfigschema, modify file iis_schema.xml permissions:








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





Select "Owner"





Select Administrators OK





again into the permission to edit, modify administrators Full control.





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


Modify file configuration:


then search for 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 <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> is about 1024 lines.
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.