When you are trying to upload files into sharepoint document library list, it crash down because you exceeds the file size limit. You may encounter the following error messages
- "An unexpected error has occurred"
- "The page cannot be displayed”
- "An unknown error occurred"
- "HTTP 404 – Page Not Found”
- “Request timed Out’
Solution for the above issues are
1. Increase the Sharepoint site file upload limit through Central administration.
Steps are
a. Open central admin
b. Open Application Management Tab
c. Select Web application general Settings
d. Change the Maximum Upload value with the desired value in MB( e.g 250)
e. Ok
Now the sharepoint site is ready for accepting the desired file size.
2. Increase the IIS connection time out length
If you not increase the IIS connection timeout, there is a chance of connection time out of site when you are trying to upload bigger files into your Document Library . The standard time out value is 120. You can change it as the max time out value ie 6600
Steps are
a. Open IIS
b. Select Sites
c. Right click the sharepoint site open advanced Settings
On Advanced Settings Tab under connection Limits change the Connection time out (Seconds) value. For setting maximum time out value enter 6600.
3. Add httpRuntime Execution time-out in the web application- web.config file.
Browse to the web application's virtual directory and edit the web.config file
C:\inetpub\wwwroot\wss\VirtualDirectories\
<httpRuntime executionTimeout="1048576" maxRequestLength="216000" />
Increase the IIS request length to maximum level. ie increase the maxAllowedcontentlength
Ru this command on the machine you are running the IIS
%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:209715200
These are the all settings you need to set for increasing the file upload limit in Sharepoint Document Library
No comments:
Post a Comment