Today, I tried to upload a file around 40 m to a library. but it failed with 404 error number. I tried to do the same on my other Sharepoint Server, successed. the defferences between these two server is the OS and IIS version. after I tested, the SharePoint Based on IIS 7 does not allow me upload one file greater than 29 m (include 29 m ). this problem is caused by IIS 7 default settings. to resolve this problem, please do following steps: 1. open
C: \ windows \ system32 \ inetsrv \ config \ applicationhost. config File. 2. Locate to the node
Configuration-system. webserver-security-requestfiltering-requestlimits . The requestlimits may not existing in this file. Please add this node manually if it is not existing. 3. Set the maxallowedcontentlength proterty and assign the value to this property. The sample XML is:
<Configuration>
<System. webserver>
<Security>
<Requestfiltering>
<Requestlimits maxallowedcontentlength = "100000000" type = "codeph" text = "/codeph"/>
</Requestfiltering>
</Security>
</System. webserver>
</Configuration>
Please keep in mind that this issue is not a Sharepoint issue. It is a issue about iis7. it will occurred on not only SharePoint environment.