Поделиться через


ASP.NET Tab Missing

A common issue we see customers having is after installing ASP.NET 2.0, the ASP.NET Tab is missing from IIS.

This tab is used for setting the version of ASP.NET and a lot of other things.

aspnettab

When this tab is missing, it can be rather difficult to get it to appear.  So we now have a way to fix this quickly and easily.  Just download the attachment to this post and follow the steps below:

This tool will run and fix the problem and get the tab to appear properly.  The steps to run this tool are:

  1. Close the IIS Management Console (inetmgr) and *any* other open MMCs.
  2. Run the asptabtest.vbs. It will check various known issues, correct some of them, and write results to a log file. Use the output to determine whether the issue is resolved, and if not, what steps to take next.
  3. Also note that after making any corrective changes to COM/DCOM settings, specifically DCOM security settings, make sure to either terminate (kill) ****ALL**** dllhost.exe processes, OR reboot the computer ****BEFORE**** testing again. Otherwise you may have well 'fixed' the problem, but a latent dllhost will prevent things from working. This is seen consistently when DCOM permissions were the problem.

Below is the output log of a working machine to give you an idea of the things it checks:

 Bellow is what the output log of a working machine will look like... It also shows the different things the script checks. 
PASS: The value of Enable32BitAppOnWin64 in metabase is set to: False

PASS: The current value of Restrict_Run is: 0

PASS: Successfully registered mmcaspext.dll 

PASS: Successfully registered AspNetMMC 
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.1433
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Assembly exported to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AspNetMMCExt.tlb', and the type library was registered successfully

PASS: Successfully registered Assembly 

Running aspmantst.exe to test the ASP.NET Tab snap-in
Attempting to create the object as CLSCTX_LOCAL_SERVER.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Attempting to create the object as CLSCTX_REMOTE_SERVER to IIS6EN1.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Attempting to create the object as CLSCTX_INPROC_SERVER.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Special thanks to Jeremy and Vandana for creating the tool.

kick it on DotNetKicks.com

asptabtest.zip