Thursday, September 18, 2008

You cannot upload files that are larger than 28 MB on a Windows Server 2008-based computer that is running Windows SharePoint Services 3.0

In the morning, I was asked to upload a file of 110 MB in our picture/vedio library. When I tried to do it after chainging the maximum file size in Central Administration, I started getting following symptoms:

  • Single File Upload via Document Library -- Nothing happens, you get a 404 page.

  • Multiple File Upload via Document Library -- It seems to upload the file but then after the page refreshes, the file is nowhere to be found.

  • Single or Multiple File Upload/Copy/Paste using open with Windows Explorer -- The file begins uploading but then towards the end you get the following error:
    Could not find this item
    This is no longer located in C:\filepath. Verify the item’s location and try again.

To resolve the above error, go to web.config of your web application and add following tags at the end of web.config:

<system.webserver>

<security>

<requestfiltering>

<requestlimits maxallowedcontentlength="file size in bytes">

</requestfiltering>

</security>

</SYSTEM.WEBSERVER>

Wednesday, September 17, 2008

Errors after installing Infrastructure update for MOSS 2007

During last month, I applied Infrastructure udate of SharePoint 2007 in my development envrionment and everything was working like a charm. So I decided to apply the same fix in my production environment this week.

Here I will like to mention one thing. I started this project as migration one where we were supposed to migrate MOSS 2007 + Windows 2003 environment to MOSS 2007 SP1 + Windows 2008 environment. So it was basically a restored farm.

After applying the Infrastructure upgrade, I started facing the issues:

"The resource object with key 'S2SearchAdminDashboard_Title' was not found" for Search Administration site

and

"The resource object with key 'S2LeftNav_Administration' was not found" for other search links.

After searching a while on Google, I was able to find the solution. Solution is quite simple. Sort all files within App_GlobalResources folder based on the date in the development environment where everything was working fine. Copy files which were modified on 3/25/2008. These will be the most new ones. Copy them over to the SSP virtual directory of your troubling farm within the same App_GlobalResources folder. These files are:

searchadmin.en-us.resx
SearchAdmin.resx
sps.en-US.resx
and sps.resx

Then if you will try, you will get the following error:

Could not find the sitemap node with URL '/SearchAdministration.aspx'.

Now this time, copy layouts.sitemap file which will be the most latest modified file within _app_bin folder from the development environment to production environment. As soon as that was copied over, the search administration page appeared fine.