Upload bug in MOSS 2007 / Windows Server 2008

February 9th, 2009 | Categories: SharePoint, SharePoint administration

With the new installation of MOSS 2007 on Windows Server 2008 you might run into a slight bump when trying to upload large files – to be more precise – files larger than 28 MB. Even though you’ve increased the maximum upload limit in SharePoint central administration, the upload still doesn’t work. Here are some symptoms that I received:

  • Page cannot be found error in Internet Explorer when trying to upload to MOSS document library through “Upload” button
  • Document not displaying in document library after uploading with “Upload multiple files” button even though the upload went to 100%
  • Windows delayed write failed when trying to upload document through Explorer view. After the error the file appears in document library, but it has a file size 0.

The error is not in SharePoint, the error is in IIS7 which limits the upload to 28 MB. To remove this limitation I’ve followed instructions from the KB article:

Error message when you try to upload a large file to a document library on a Windows SharePoint Services 3.0 site: “Request timed out”

Just in case: this did the trick: add the following lines at the end of your web’ application’s web.config file – just before the </configuration> closing tag:

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="2147483648"/>
    </requestFiltering>
   </security>
</system.webServer>

image