Thursday, December 3, 2009

Missing ASP.NET tab in IIS MMC (6.0)

Had an issue today with the dreaded ASP.NET tab missing in IIS.  After doing quite a bit of googling, it seems others have had this same issue, but mostly with 64-bit systems.  In this case, the system is 32-bit with .NET 3.5 SP1 (and associated post-fixes).  Found a rather handy tool to supposedly address the issue, however the problem persisted:

http://blogs.msdn.com/tom/archive/2008/04/17/asp-net-tab-missing.aspx

Did some further investigation and noticed most of the values under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0 were missing, yes, missing.  Compared the values to that of another machine, then manually created each.  After re-creating the keys, closing the MMC, then re-opening, the tab re-appeared.  Most likely the issue was related to the missing keys, however the script may have assisted as well.

The missing keys also caused this exception in the log aspnet_regiis log file:

Failure  Reading the registry: Software\Microsoft\ASP.NET\2.0.50727.0/DllFullPath: Reading the registry:  failed with HRESULT 80070002: 'The system cannot find the file specified.  '

No comments:

Post a Comment