As per the Microsoft, there is 50 MB limit is suggested for a file to upload into SharePoint document library for performance optimization. But when i tried to upload the 49 MB file, it start giving 404 error. I searched event viewer and SharePoint logs but not able to find the error.
Here is the solution to increase the upload file size limit in document library. Please follow the following steps
- Go to Central admin.
- Under the Application Management tab click Web Application General Settings.
- Increase the Maximum Upload Size. e.g. 50MB
- Press OK.
But these steps did not solve your problem, you have to made the following entry in the "web.config" of the website.
- Open Web.Config in any editor.
- Add the following section in web.config under the "<Configuration>" Section if doesn't exists
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/> (50*1024*1024 = 52428800 bytes)
</requestFiltering>
</security>
</system.webServer>
3.Save the Web.config file
4. Do IISreset.
Now try to Upload the file of 49 or 50 MB. it would be uploaded successfully in document library.
Thanks
Vikas dhingra
No comments:
Post a Comment