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.