Thursday, September 18, 2008

You cannot upload files that are larger than 28 MB on a Windows Server 2008-based computer that is running Windows SharePoint Services 3.0

In the morning, I was asked to upload a file of 110 MB in our picture/vedio library. When I tried to do it after chainging the maximum file size in Central Administration, I started getting following symptoms:

  • Single File Upload via Document Library -- Nothing happens, you get a 404 page.

  • Multiple File Upload via Document Library -- It seems to upload the file but then after the page refreshes, the file is nowhere to be found.

  • 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.

To resolve the above error, go to web.config of your web application and add following tags at the end of web.config:

<system.webserver>

<security>

<requestfiltering>

<requestlimits maxallowedcontentlength="file size in bytes">

</requestfiltering>

</security>

</SYSTEM.WEBSERVER>

No comments: