6 Jun 2012

Set Maximum Upload File Size in SharePoint

Simple question, how to set maximum upload file size in SharePoint? Here’s how….

SharePoint 2007

Here’s the simple steps:

  • Go to SharePoint Central Administration, click to Application Management.
  • Under SharePoint Web Application Management, click Web Application General Settings. Click / change the web application that you want to change.
  • Type the number in MB (Mega Bytes) in Maximum upload size. And then click OK. Based on Microsoft, the maximum you can set is 2047 MB.
  • Go to Internet Information Services (IIS) Manager from Start menu, and click Administrative Tools, then click Internet Information Services (IIS) Manager.
  • If you on IIS 6, right click the virtual server you want to configure, and click Properties. Click the Websites tab, and under Connections, change the Connection time-out to a higher value and click OK.
  • But if you on IIS 7, open the Sites node on tree view. Highlight the site you want to change the value, and watch the right pane, there’s a Advanced Settings link under Manage Web Site. Under Behaviour, under Connection Limits, change Connection time-outs (seconds) to a higher value and click OK.
  • Browse on the server (SharePoint Web Application server if your SharePoint server scaled to a larger topology), point to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS folder, and change web.config file using Notepad.
  • Change the following code.
    Previous Code
    1. <location path="upload.aspx">
    2.     <system.web>
    3.         <httpRuntime maxRequestLength="2097151" />
    4.     </system.web>
    5. </location>
  • To this code, and save it.
    New Code
    1. <location path="upload.aspx">
    2.     <system.web>
    3.         <httpRuntime executionTimeout="999999" maxRequestLength="2097151" />
    4.     </system.web>
    5. </location>
  • Change also the web.config under . From the following code.
    Previous Code
    1. <httpRuntime maxRequestLength="51200" />
  • To the following code.
    New Code
    1. <httpRuntime executionTimeout="999999" maxRequestLength="51200" />

 

SharePoint 2010

In SharePoint 2010 much easier to change, because the web.config file already changed to optimum size, so we don’t have to change the web.config.

  • Open the SharePoint 2010 Central Administration, and point it to Application Management, and then click Manage web applications.
  • Highlight the web application you want to change, and click General Settings on the ribbon.
  • There you go, you can change Maximum upload size to the size you want.

 

Consideration

If you want to change the max upload file size, consider that the bigger size you have, then the SharePoint crawler (in this case, will support SharePoint search) will crawl a little bit slow if you already have the big file in your SharePoint site. This simply because the crawler will try to parse and extract information from any file you upload.

Also consider that maximum recommended content database size (although you can use it more) is not more than 300GB. So, be careful when uploading some files to SharePoint site.

Tidak ada komentar:

Posting Komentar

[give me your ideas, hopes, comments and compliments below...]
[aaand...... +1 if you need to....]