Upload bug in MOSS 2007 / Windows Server 2008

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

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

  1. April 14th, 2009 at 17:13
    Reply | Quote | #1

    Thanks you! Worked like a charm. MOSS 2007 on Server 2008 hyperv vm.

  2. May 27th, 2009 at 06:54
    Reply | Quote | #2

    thanks for your post,I had same problem and solve it with your help,please visite my web page http://sharepoint solutions.ir/blogs/hamid

  3. Jeff
    November 3rd, 2009 at 14:42
    Reply | Quote | #3

    Thanks. This solved my issue.

  4. Mike
    January 19th, 2010 at 15:29
    Reply | Quote | #4

    you are da man !!! was pulling out my hair for this one !!!!

    worked like a charm … thanks …

    :)

  5. Boris Gomiunik
    January 25th, 2010 at 09:33
    Reply | Quote | #5

    Thanks Mike :)

  6. Jon B
    January 28th, 2010 at 06:56
    Reply | Quote | #6

    That worked for me too. Been trying for ages to get a large file uploaded (86mb). You are a legend!!

  7. February 10th, 2010 at 18:40
    Reply | Quote | #7

    Worked a charm on 2008 Server R2, MOSS 2007 farm. Thanks!

  8. March 12th, 2010 at 10:53
    Reply | Quote | #8

    Thanks a lot! That did the trick for me too, although I had to add redirect-line too because of our environment.

  9. Svetlana
    March 22nd, 2010 at 16:54
    Reply | Quote | #9

    Thanks! This helped me to solve the issue as well.

  10. March 25th, 2010 at 04:54

    Thank you. Worked perfectly.
    Question…is this addressed in SP2, by chance?

    • Boris Gomiunik
      March 25th, 2010 at 22:47

      Not sure if it is…

  11. Faith
    April 22nd, 2010 at 14:53

    Thanks alot…it worked after searching over the internet for answers for such a long time.