Pages

Saturday, October 23, 2010

Sharepoint Web Application Settings for Upload Big Size Files in Windows Server 2008 with IIS 7.0 Version

Hello Friends

On a Windows Server 2008 computer that has IIS 7.0-only installations, you add the maxAllowedContentLength value. When you are running Windows SharePoint Services on a Windows Server 2008-based computer that has IIS 7.0, you find that you cannot upload files that are larger than 28 MB even though you have configured the large file upload settings. Usually, the error that users see is "The page cannot be displayed." In some circumstances, users may also see an "HTTP 404" error.

To work around this problem, set in the Web.config file for the Web application to have following settings under the <configuration> section:
  •       Use Notepad to open the Web application Web.config file. By default, this file is in the following folder: Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder
  •       Add the following settings under the <configuration> section of the Web.config file: <system.webServer><security><requestFiltering><requestLimits maxAllowedContentLength="52428800"/></requestFiltering></security></system.webServer>
Note maxAllowedContentLength="52428800" in bytes has to match the size of file that you are trying to upload. Also, when you set the number, increase it slightly beyond the maximum file upload size that you have configured in SharePoint. If the number is equal to or less, users will not receive the error message that they are exceeding the size limit if they try to upload a file size larger than that specified by the administrator.

This value is set is 
maxAllowedContentLength="2146435072"


Refer this article for more details http://support.microsoft.com/kb/925083
Disha Shah

No comments:

Post a Comment