Tuesday, August 25, 2009

ASP.NET is registered incorrectly in the Internet Information Services (IIS) metabase

ASP.NET is registered incorrectly in the Internet Information Services (IIS) metabase


Symptoms
If ASP.NET is registered incorrectly in the IIS metabase, the Upgrade.log file will contain an error message that resembles the following:
[SPIisWebSiteWssSequence] [ERROR] [10/10/2007 10:21:25 AM]: Action 3.0.3.0 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()
In this case, the number between "InstallAspNet" and "failed" in this message is the ID of the affected IIS Web site.
Cause
This problem occurs because ASP.NET is registered incorrectly in the IIS metabase.
Resolution
To resolve this problem, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, move to the following folder:
    %windir%\Microsoft.net\framework\v2.0.50727
  3. At the command prompt, type the following command, and then press ENTER:
    aspnet_regiis.exe –s W3SVC/number/ROOT
    Note number is the ID of the affected IIS Web site.
A second cause can be a timing issue in the Windows SharePoint Administration service. To address this cause, set the following registry subkey:
Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\SPAdmin
DWORD value: SleepOnStart set to 20000 decimal

No comments:

Post a Comment