Large Files, Sharepoint, and Windows 2008

I ran across this problem and thought I’d share.  After much troubleshooting, I found that Sharepoint 3.0 on Windows 2008 is limited to 28MB file uploads – this includes multiple file uploads that, combined, equate to a total of 28MB.

There’s a fix or workaround for it, but you have to modify web.config file in the Sharepoint virtual directory.

To work around this problem, follow these steps:

  1. Use Notepad to open the Web application Web.config file. By default, this file is in the following folder:

    Microsoft Windows SharePoint Services 3.0
    C:\Inetpub\Wwwroot\Wss\VirtualDirectories\ VirtualDirectoryFolder

  2. Navigate all the way down to the bottom of the web.config file, and right before the </configuration> tag, add the following code:
<system.webServer>
<security>
 
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/>
</requestFiltering>
</security>
</system.webServer>

 

3. Save the file and upload larger files.

 

NOTE:  you can modify the maxAllowedContentLength value to the limit of the file(s) size(s) you want to be allowable.

Leave a Reply

Your email address will not be published. Required fields are marked *