locked
Configuring SharePoint 3.0 to upload large files RRS feed

  • Question

  • I inherited the administration of a SharePoint Services 3.0 server (v12.0.0.6421) on a Window Server 2008 SP2 OS running IIS 7. Users have asked me to be able to upload large files to the SharePoint site. I followed all the instructions in both http://support.microsoft.com/kb/925083 and http://support.microsoft.com/kb/944981 . But when I navigate to the site after completing this, I receive the following error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

    I have isolated the error to the suggested fix in kb944981; when I remove the system.webServer XML code from the web.config, I do not receive the error (but I still can't upload large files). Does anyone know what is going on? How do I troubleshoot or fix this?

    Thanks,

    Steve

    Thursday, March 25, 2010 11:40 PM

Answers

  • Hi Stekre,

     

    This problem may occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file.

     

    You can refer to the following article to add a value that matches the size of the Content-Length header that the client sends as part of the request. By default, the value of the maxAllowedContentLength property is 30000000.

     

    Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE"

    http://support.microsoft.com/kb/942074/en-us

     

    In addition, you can use the following command line to configure a value for the maximum allowed length of content:

     

    appcmd set config /section:requestfiltering /requestlimits.maxallowedcontentlength: unit

     

    For detailed information about how to run the command, please refer to the following articles:

     

    Configure Request Filters in IIS 7

    http://technet.microsoft.com/en-us/library/cc754791(WS.10).aspx

     

    IIS 7.0: requestLimits Element for requestFiltering (IIS Settings Schema)

    http://msdn.microsoft.com/en-us/library/ms689462.aspx

     

    Hope this helps.

     

    Rock Wang


    Rock Wang– MSFT
    Sunday, March 28, 2010 12:33 PM

All replies

  • Hi Steve,

    You definitely found the right article to enable large files uploads.  It sounds like you might have changed something you should not have unfortunately.  Hopefully you backed up your web.config file before you started making any changes.  If you did, restore it.  Then redo the first article, that should get you where you need to be (I've used that article before).

    Chris


    Chris Givens CEO, Architecting Connected Systems Blog Twitter
    Friday, March 26, 2010 12:34 AM
  • Hi Stekre,

     

    This problem may occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file.

     

    You can refer to the following article to add a value that matches the size of the Content-Length header that the client sends as part of the request. By default, the value of the maxAllowedContentLength property is 30000000.

     

    Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE"

    http://support.microsoft.com/kb/942074/en-us

     

    In addition, you can use the following command line to configure a value for the maximum allowed length of content:

     

    appcmd set config /section:requestfiltering /requestlimits.maxallowedcontentlength: unit

     

    For detailed information about how to run the command, please refer to the following articles:

     

    Configure Request Filters in IIS 7

    http://technet.microsoft.com/en-us/library/cc754791(WS.10).aspx

     

    IIS 7.0: requestLimits Element for requestFiltering (IIS Settings Schema)

    http://msdn.microsoft.com/en-us/library/ms689462.aspx

     

    Hope this helps.

     

    Rock Wang


    Rock Wang– MSFT
    Sunday, March 28, 2010 12:33 PM
  • Thanks for your help!! I got it working correctly.
    Tuesday, March 30, 2010 7:49 PM