A client has reported an issue that users were not able to upload files larger than 50MB file which we can resolve easily by updating Web Application settings; however, users were getting Timeout exceptions as well. Furthermore, business told us that business requirement is to be able to upload up to 100MB files.
There are few simple configurations setting those needs to do in order to upload large files in to SharePoint document libraries….
1- Go to Start –> All Programs -> Administrative Tools –> SharePoint 3.0 Central Administration -> Applications Management. 2- Go to Web application general settings under SharePoint Web Application Management section. 3- Look for Maximum Upload Size and update that field as required up to 2 GB (2047MB) 4- Click OK to save Settings.
1- Open Command Prompt 2- Navigate to 12 Hive Bin Folder (usually C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Bin) 3- Run Command: Stsadm.exe –o setproperty –pn large–file–chunk–size –pv <Size in Bytes> 4- After making a change to this property, you must restart IIS. You can restart IIS by typing iisreset on the command line.
By default, timeout for is set to 120 seconds (2 minutes). Depending on your maximum file size and how long it takes for the file to be uploaded, you may not need to change this setting. If, however, IIS is timing out when you upload large files, you can change this property to ensure that larger files can be uploaded successfully.
1- Go to Start –> All Programs -> Administrative Tools –> Internet Information Services (IIS) Manager. 2- Right-click the virtual server you want to configure, and then click Properties. 3- Click the Web Site tab. 4- In the Connections section, in the Connection timeout box, type the number of seconds you want IIS to wait before timing out. 5- Click OK to save settings.
Those who are working in SPS 2003 and want to make changes for web parts, please have a look to this article and find Configuring Large File Support.
If large files needs to be crawl then we need to make following changes in the Registry and central administration.
1- Start Registry Editor (Start –> Run –> Regedit). 2- Locate the following key in the registry: HKEY_LOCAL_MACHINE -> SOFTWARE –> Microsoft –> Office Server -> 12.0 –> Search –> Global –> Gathering Manager 3- If already MaxDownloadSize exits then move to step 5. 4- Right click –> New –> DWORD Value. Name it MaxDownloadSize. 5- Double-click on MaxDownloadSize, change the value to Decimal, and type the maximum size (in MB) for files that the gatherer downloads. 6- Restart the server (this is an important step to do, otherwise changes will not effect). 7- Start Full Crawl.
NOTE: Increasing the file size may cause a timeout exception because the crawler can timeout if the file takes too long to crawl/index (because of its size). To increase timeout value, follow these steps:
1- Go to Start –> All Programs -> Administrative Tools –> SharePoint 3.0 Central Administration -> Applications Management. 2- In the Search section, click Manage search service 3- On the Manage Search Service page, in the Farm-Level Search Settings section, click Farm-level search settings. 4- In the Timeout Settings section change Connection and Request acknowledgement time. (here you need to do your math that how big files are suppose to be index and approximately how long it will take to crawl – for 100MB I haven’t change it so it’s still default 60 seconds for both).
You are all done and ready to test your scenarios :).
Enjoy!!!
What are the database recommendations when it comes to uploading large files.
would you upload them into the same content database or create a separate content database for this
Hi Suleman,
thank you very much for this detailed and helpfull post. I made a reference to it in my post "Storing Images in SharePoint". [www.henricodolfing.com/.../storing-images-in-sharepoint.html]
Cheers,
Henrico
Thanks for this. It's really good read.
I enjoy to browse www.imason.com!
<a href=http://teethwhiteningsmile.weebly.com>plano teeth whitening</a>
Hey J.
Actually, you raised a very good question. I've done some research on this and found that Microsoft recommends 100GB per Content database. Realistically this is not something that won't happen so solution would be to create new content databases for sites those suppose to have large attachments either in lists or in document libraries. for more info please check following Technet article,
technet.microsoft.com/.../cc262787.aspx
Thanks for the detail. Not working for me. Hit a weird limit at 29.9MB in my testing. But thanks for the detail. Perhaps a different web.config file...
Pingback from Sharepoint 2007 Indexing Limitations « Sladescross's Blog
TY for that great article. I love this site very much.
g
Great article. Thanks a lot!!!
Thanks for your detailed description ... but on my server it doesn't work ... if I want to upload a file which is bigger than 100 MB I always get the following error messge:
Server out of Memory. There is no memory on the server to run your program. Please contact ....
mmmhhhh that's strange ... because the Server has still 3 GB available. And the W3Wp.exe is limited to 1.7 GB but never gets higher than 350 MB ... has anybody any ideas to solve this problem?
You don't need to restart the whole server to have the MaxDownloadSize become effective: just stop and start the Search Service (net stop osearch, net start osearch)
jennifer