SharePoint world of ECM and Information Management

SharePoint Infrastructure Update (WSS/MOSS) and exception with “Blocked file types” page

After installing SharePoint 2008 (WSS/MOSS) Infrastructure Update from July 2008 you may find that “Blocked file types” page is broken (Central Administration –> Operations –> Blocked file types). Albeit it worked before, 10 mins ago, but now you end up with the following exception

Object reference not set to an instance of an object.   at Microsoft.SharePoint.ApplicationPages.BlockedFileTypePage.InitializeValues()
   at Microsoft.SharePoint.ApplicationPages.BlockedFileTypePage.OnLoadComplete(EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

What it means, that SharePoint can’t resolve your WebApplicationID (GUID of your site) from Content DB.

The fully qualified URL for “Blocked file types” looks like “hxxp://<CentralAdmin>:<port>/_admin/BlockedFileType.aspx?WebApplicationId=fa221a6a-42a2-4a09-8aac-76a31f160880”.

I have no idea why SharePoint can’t resolve web application after Infrastructure Update, something wrong happened and your site just can’t be found. I didn’t test with SQL Profiler, but expect that nothing returning from Content DB

To fix this you need just to create new Web Application :) That’s all. At this time the Content DB tables will be updated with new web app and GUID, and “Blocked file types” will start work again.

 

Mirror: SharePoint Infrastructure Update (WSS/MOSS) and exception with “Blocked file types” page

Posted: Tue, Sep 2 2008 1:17 by Michael | with no comments
Filed under:
Leave a Comment

(required) 

(required) 

(optional)

(required)