I've tried many tutorials online on how to increase the upload file size for a SharePoint document library with no luck.
Any ideas on how to increase the limit of file upload to a document library?
I've tried:
http://spsstuff.blogspot.com/2006/03/how-to-change-maximum-file-upload-size.html http://www.eggheadcafe.com/software/aspnet/29380049/50mb-upload-limit--help.aspx http://www.msexperts.org/blogs/mark/archive/2008/10/23/increasing-the-maximum-upload-limit-on-a-sharepoint-site.aspx
I followed the 1st instruction from the 2nd link you provided:
- In SharePoint 3.0 Central Administration, Application Management tab, and Web application general settings configure the Maximum upload size to a maximum of 2047 MB.
and it worked fine.
Are you sure that you selected appropriate Web application when changing the maximum upload size?
You can also change the limit in code
SPWebApplication oWebApplication = SPWebApplication.Lookup(new Uri("http://MyServer:989"));
oWebApplication.MaximumFileSize = 2000;
oWebApplication.Update();
(example taken from MSDN)
It will probably require admin credentials (SPSecurity.RunWithElevatedPrivileges(delegate) should handle this). Of course I'd rather use the configuration change method mentioned above by @Marek Grzenkowicz
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With