Sharepoint 2007/2010: How To Increase File Upload Size Limit


Step 1: Central Administration -> General Settings -> Edit “Maximum Upload Size”:

Step 2: Edit web.config under C:\inetpub\wwwroot\wss\VirtualDirectories\[YourWeb]

<httpRuntime executionTimeout=”999999″ maxRequestLength=”51200″ />

Step 3: Edit web.config under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS

<location path=”upload.aspx”>
    <system.web>
      <httpRuntime executionTimeout=”999999″ maxRequestLength=”2097151″ />
    </system.web>
  </location>

Step 4: Add this lines to web.config under C:\inetpub\wwwroot\wss\VirtualDirectories\[YourWeb] (If you get 404 error after file upload)

<system.webServer>
      <security>
            <requestFiltering>
                  <requestLimits maxAllowedContentLength=”52428800″/>
            </requestFiltering>
      </security>

About these ads

One thought on “Sharepoint 2007/2010: How To Increase File Upload Size Limit

  1. Pingback: Changing MOSS 2007 Maximum File Size | lessthanlee

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s