by Oscar
17. May 2009 20:10
You probably have experienced these symptoms when attempting to upload files larger than 30MB on SharePoint. In addition to standard SharePoint settings via the Central Administration for your Web Application, you have to set the allowed on the web.config file. What would be nice, is that when you change those settings, the web.config file also adds the section below if it does not exist.
Single File Upload via Document Library
You get a 404 page.
Single or Multiple File Upload/Copy/Paste using open with Windows Explorer
The file begins uploading but then towards the end you get the following error:
Could not find this item
This is no longer located in C:\filepath. Verify the item’s location and try again.
Multiple File Upload via Document Library
You don’t get error messages, but the file is not showing up on your doc lib
SOLUTION
Add the following code to the <configuration> section of the Web.config file:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/>
</requestFiltering>
</security>
</system.webServer>
Now go crazy uploading large files into SharePoint! Your DBAs may not like you after that :)
Cheers,
Oscar