When IIS7 transmits a video larger than 30M, there is a solution for not finding a file or directory error

  
        This situation occurs on systems that use iis7, because iis7 limits the upload file size and allows a maximum upload of 30M by default. Solution: Modify the IIS_schema.xml file to obtain control of this file first; enter the directory C:\\Windows\\System32\\inetsrv\\config\\schema, modify the file IIS_schema.xml permissions: Enter IIS_schema.xml file permissions to modify, select &rdquo ;Advanced">"Owner” Check administrators OK Enter the permission edit, modify the administrators full control. Then remove the read-only attribute of IIS_schema.xml. Modify the file configuration: Then search 3000000 means only upload files of 30MB size If you add a 0 to the back and become 300MB, it 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 around 1024 lines.
Copyright © Windows knowledge All Rights Reserved