Don's profileMy SharePoint Life and o...PhotosBlogListsMore ![]() | Help |
|
|
January 17 SharePoint Upload Size Limit on Server 2008 - IIS 7MOSS Upload Size and TImeout Issue
A funny thing happens when you go to central admin and change the web app settings to a higher setting while running MOSS on Server 2008.
It would appear you get an error whenever any file over 28MB's is uploaded even if you changed this setting in the web app settings all the way up to 2GB's. The security built into 2008 is at fault here. When you make the changes in the web app settings they do not get transfered to the web.config automatically. So you must manully update the web.config for all web apps needing this change and update the web.config in the 12 hive as well.
In the 12 hive we need this change. This is the web.config file in the templates gallery.
Change the web config for all web apps that need the change
This will stop the time out problem.
Now for the file size:
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:
Place the above code at the botom just before the close out config section like this:
Comments (9)
Don
has turned off comments on this page.
Trackbacks (12)The trackback URL for this entry is: http://donpistulka.spaces.live.com/blog/cns!1351C78C5D7326F4!1010.trak Weblogs that reference this entry
|
|
|