SharePoint 2007 – increase the maximum upload size

By default SharePoint 2007 allows a maximum of 50MB to be uploaded. I would recommend trying to keep the limits at this size as your web application can slow down if you have large documents in a library. But sometimes there is a need to increase the limits.

There are 4 things that you have to do:

1)      Change the limits on the web application

2)      Change the IIS timeout limits

3)      Add some code into the web.config file for the web application

4)      Restart IIS

 

Change the limit of the web application

1)      Open up SharePoint central admin

2)      Navigate to ‘Application Management’

3)      Under ‘SharePoint Web Application Management’ select ‘Web application general settings’

4)      Change the ‘Web Application’ in the top right hand corner to the web application that you wish to change the limits on

5)      Once you have selected the web application change the ‘Maximum Upload Size’ for example 500MB

Change the IIS timeout limits

1)      On the SharePoint web front end server open IIS

2)      Expand the server name

3)      Expand ‘Sites’

4)      Left click on the SharePoint web application

5)      On the right hand side under ‘Manage Web Site’ click ‘Advanced Settings’

6)      Expand ‘Connection Limits’

7)      Change the number in the field ‘Connection Time-out (seconds). It is recommended to use 120 per 50MB. So if you are setting the limits to 500MB you will need to use 1200.

8)      Click ‘OK’

Add some code into the web.config file for the web application

1)      On the SharePoint web front end server navigate to C:\inetpub\wwwroot\wss\VirtualDirectories\<WEBAPP>

2)      Find the file that is call ‘web.config’

3)      Locate in the code ‘<system.web>’

4)      Just before this code insert the following :

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

5)      The ‘524288000’ is bits. So if you are setting the limits to 500MB it needs to be ‘524288000’, 250MB it should be ‘262144000’.

Restart IIS

1)      On the SharePoint web front end server open cmd

2)      Type IISRESET

 

Now you will be able to upload documents larger than 50MB. Remember that this may slow down your site.

Advertisements

About Fuckthiscrapsite
It wont let me reuse passwords or delete my account so Fuckthiscrapsite change to random crap until they delete it

One Response to SharePoint 2007 – increase the maximum upload size

  1. SutoCom says:

    Reblogged this on Sutoprise Avenue, A SutoCom Source and commented:
    Add your thoughts here… (optional)

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: