Monday, April 23, 2012

Action of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed

I recently had to upgrade our SharePoint 2007 environment from Service 2 to Service 3. We encountered failed upgrade errors. In this blog post I would like to guide you through some of the issues we experienced. I will also walk you through how you can use IIS Metabase Explorer to identify problematic web applications. 

Post installation and running the Configuration Wizard. We got the error below in the upgrade log file.
[SPIisWebSiteWssSequence] [ERROR] [10/10/2007 10:21:25 AM]: Action of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed.
[SPIisWebSiteWssSequence] [ERROR] [10/10/2007 10:21:25 AM]: InstallAspNet 566609673 failed.
[SPIisWebSiteWssSequence] [ERROR] [10/10/2007 10:21:25 AM]:    at Microsoft.SharePoint.Upgrade.EnsureAspNetScriptMapInstalled.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

This issue is well documented by Microsoft here: KB from Microsoft and blog post by Bill Baer. I'm going to address issues that were not clear in the post. 

Now as stated in the blog the issue above relates to incorrect registration of ASP.NET in the IIS metabase. Also if you look closely on this InstallAspNet 566609673 failed. You will notice that the number shows an error on specific Web application. To see this web application you need Metabase explorer downloadable here:

IIS Metabase Explorer

Once downloaded. Navigate to "C:\Program\IIS Resources\Metabase Explorer". Open Metabase Explorer, then collapse tree menu until you find W3SVC.

 If you click on the number you will find the following details:

The ServerComment row shows the name of the Web application in the IIS. So if this is unwanted web appllication you can do necessary steps to delete it.

Now to resolve ASP.NET registration problem in the metabase to the following

  1. Open a Command Prompt and navigate to the following directory “%windir%\\framework\v2.0.50727\”
  2. Execute the following command: “aspnet_regiis.exe -i"
To continue with your upgrade easily do the following:
  1. Open another Command window and navigate to 
  2. Run this command. Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
  3. psconfig - cmd upgrade -inplace b2b –force 

If you have problems again. Observe your log files, and solve offending ASPNET errors as stated above.

1 comment: