Plip's Weblog

Phil Winstanley - British .NET chap based in Lancashire. Enjoys tea and tech. Working for Microsoft.

Where's the ASP.NET Tab in IIS? It's Missing! I've installed .NET 2.0 ...

I've been watching a thread on an e-mail list which gave me a little insight into a problem I wasn't even aware of.

Apparently on Windows Server 2003 64 Bit Editions and Windows Server 2003 R2 the ASP.NET Tab in IIS doesn't appear, no fix, that's it, it's gone!

"The ASP.NET tab does not appear on x64-based editions of Windows Server 2003 and Windows Server 2003 R2. This tab also does not appear if only one version of ASP.NET is allowed in the web service extensions." 

What?! :-)

Edit: It appears this post is all LIES !!!! Apparently the MS Documentation is wrong (shock horror).

Edit: Apparently there is some registry hacking which can resolve this too: -

 

If you find following register keys, would you please delete them and

re-register the framework ?  

 

[HKEY_CLASSES_ROOT\CLSID\{FD5CD8B1-6FE0-44F3-BBFB-65E3655B096E}\InprocSe

rver32\2.0.XXXX.0]

[HKEY_CLASSES_ROOT\CLSID\{7D23CCC6-A390-406F-AB67-2F8B7558F6F6}\InprocSe

rver32\2.0.XXXX.0]

[HKEY_CLASSES_ROOT\CLSID\{FEDB2179-2335-48F0-AA28-5CDA35A2B36D}\InprocSe

rver32\2.0.XXXX.0]

 

The CLR team made changes to the version number which messes with the the setup scripts removal. 

 

 

Comments

rajbk said:


That is not correct. I have the asp.net tab on both my AMD 64 bit server running 2003 R2 and my Intel 32bit running 2003 R2.
# May 25, 2006 11:30 AM

Travis said:

Yes, I also have them on my 64 bit server.  This smells like FUD.
# May 25, 2006 6:07 PM

Plip said:

Oops, I've had confirmation from someone inside Microsoft that this is a blatent lie and the office documentation is talking out of it's rectal cavity.
# May 26, 2006 4:23 AM

Wim Hollebrandse said:

I have the same problem on a laptop from work, running Windows XP Professional.

There are definitely issues with various Windows versions where the ASP.NET 2.0/1.1 switch tab does not appear.

Re-registering the ASP.NET ISAPI using aspnet_regiis for either version 1.1 and/or 2.0 doesn't seem to solve it.
# May 26, 2006 7:31 AM

Plip said:

# May 27, 2006 7:49 AM

John said:

check [HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}]

look for

[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\0\win32]

value to be "Path"

and

[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\HELPDIR]

value to be "Path"

Changing these to the actual path of the 2.o file solved my tab from being missing when the above did not work.

[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\0\win32]="C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\AspNetMmcExt.tlb"

and

[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\HELPDIR]

@="C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727"

To be sure, compare these key against a machine that is showing the tab

# January 19, 2007 10:33 AM

Long, Cao said:

Greate, It works well.

# March 28, 2007 4:15 AM

allroadCole said:

Restarting IIS and then reopening the IIS MMC worked for me :P

# April 3, 2007 3:16 PM

Dudester said:

I had this problem before on my Windows 2003 Server Enterprise Edition SP2. Here's what I did to solve it:

1.  Uninstalled IIS (including ASP.Net)

2.  Rebooted the machine (maybe not required but did it anyway).

3.  Reinstalled IIS

4.  Run aspnet_regiis -ir

Regards

# April 27, 2007 10:40 AM

ClifRa said:

John is DA MAN! Thank you!

# May 25, 2007 10:38 AM

chandan said:

asp.net tab is not appearing. My system is XP professional sp2 64 bit amd and IIS is 5.1

how it disppeared as it was present before

# May 30, 2007 6:23 AM

Jim Holcomb said:

Setting the IIS Metabase value Enable32BitAppOnWin64 Metabase Property to false finally fixed this for me.

# August 23, 2007 8:25 PM

JBL said:

Here are the steps to fix the issue:

1) Stop the IIS Admin service (and any services that depend on it)

2) Open C:\WINDOWS\system32\inetsrv\MetaBase.xml in notepad or your favorite XML Editor. _DELETE_ the line that reads ‘Enable32BitAppOnWin64=”TRUE”’

3) Start -> Run -> iisreset

Your tab should now be back and functional.

# October 9, 2007 3:12 AM

Yannick Lavanant said:

Thanks for the information on your page. Spent 2 f###ing trying to get that stupid tab to show. The registry settings did the trick.

Yannick

# November 12, 2007 6:51 AM

Dave said:

WARNING to all users of VMWare, its web management interface is responsible for causing many of the above problems. I have spent many months looking at forums for a solution to the 'missing tab' issue and have now discovered that VMware was the cause.

To fix : Uninstall the web tool and apply the above 'Enable32BItAppOnWin64'

If installing VMware then I recommend that you backup your IIS config

1. in IIS manager right click the server name

2. Click on 'all Tasks' then 'Backup/restore configuration...'

3. Click 'Create backup'

4. Type a sensible name like 'Pre-vmware install'

After installing Vmware - restore the backup to ensure that any naff metabase entries are removed.

# November 22, 2007 8:52 AM

Rutger said:

I've had the same problem. Before converting my machine from physical to virtual the setting 'Enable32BItAppOnWin64' didn't exist in the matabase.xml. After converting it did. Removing the setting solved the problem.

Thanks for the tip!

Rutger

# November 26, 2007 6:16 AM

Ron said:

I suspected VMware, but would not have known the fix.  Thank you much Dave!

# January 15, 2008 12:11 AM

Raul Pereda said:

The change about Enable32BitAppOnWin64 works for me, many thanks!

# May 26, 2008 8:52 PM

Ronny Berntzen said:

I can confirm i have same problem, and as i was aware of it, i found that as soon as any vmware product was installed it was fu... up. Thanks for the solution btw

# July 4, 2008 4:40 PM

Nick said:

The Enable32BitAppOnWin64 change worked for me, thanks a lot JBL.

# July 24, 2008 5:52 AM

FerArias said:

I had IIS on a VMWare VM. Removing the Metabase 'Enable32BItAppOnWin64' line did the trick. Thanks a lot to everyone that has spent so many time on solving this issue.

# August 1, 2008 3:33 AM

Suresh meenakshisundaram said:

I have IIS and removing Enable32BItAppOnWin64 entry is working fine. :)

Thanks lot...

# November 17, 2008 7:41 AM

Andy said:

Two and a half years later and you're post is still saving us tons of hassle.  Thank you very much!

# December 17, 2008 1:28 AM

Mike said:

THIS WORKED.  THIS WORKED.  THIS WORKED.  THIS WORKED.

Here are the steps to fix the issue:

1) Stop the IIS Admin service (and any services that depend on it)

2) Open C:\WINDOWS\system32\inetsrv\MetaBase.xml in notepad or your favorite XML Editor. _DELETE_ the line that reads ‘Enable32BitAppOnWin64=”TRUE”’

3) Restart IIS

Your tab should now be back and functional.

# January 20, 2009 2:44 PM

OysteinS said:

Enable32BItAppOnWin64 did it after installing VMWare, but no need to stop IIS admin service, just rightclick your servername in IIS and under properties "Enable Direct Metabase Edit", edit the xml file and then restart IIS service

# March 12, 2009 6:49 AM

Plutoz said:

Doesn't setting Enable32bitAppOnWin64 to 0, or 'FALSE', or removing it from the MetaBase.xml force IIS to run in 64-bit mode - which means you can't use ASP.NET 1.1? Which makes having the ASP.NET tab sort of useless?

I tried all of these things - IIS would only load ASP.NET 2.0 x64 (according to Web Service Extensions) and 1.1 / 2.0 (32-bit) always stayed turned off, until I went back and set Enable32bitAppOnWin64 to TRUE (and restored it in the MetaBase.xml)

In either mode I had no ASP.NET tab on the properties for any of my virtual directories *shrug*

# May 15, 2009 12:40 PM

Srinivas Chintakindi said:

I tried deleting the entry Enable32bitAppOnWin64 from Metabase.xml file and restart, but still the ASP.NET tab is not showing up in my virtual directory properties page. I am having windows 2003 64 bit OS.

# June 24, 2009 11:25 AM

J. Horn said:

Right, removing the Enable32BitAppOnWin64="TRUE" line did finally fix my problem.  I never would have found that on my own.  Thanks.

# August 4, 2009 11:49 AM

LEB said:

Jim, JBL,

Removing the Enable32BitAppOnWin64 statement works!!!

Thanks a bunch.

# August 16, 2009 10:57 AM

J.M. Ariza said:

Full control on [HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8} for Local Administrators under permission. This works for me.

# November 6, 2009 5:06 AM

Kamleshkumar Gujarathi said:

Thanks you guys...

aspnet_regiis -ir "Command really works to get the ASP.NET Missing tab back to place"

Just run it for all the version of visual studio in ascending order (ie. 2003,2005 etc) and reset the IIS.

Thanks again

# December 21, 2009 6:10 AM

wag said:

THIS WORKS!

-------------------------------------

Here are the steps to fix the issue:

1) Stop the IIS Admin service (and any services that depend on it)

2) Open C:\WINDOWS\system32\inetsrv\MetaBase.xml in notepad or your favorite XML Editor. _DELETE_ the line that reads ‘Enable32BitAppOnWin64=”TRUE”’

3) Start -> Run -> iisreset

Your tab should now be back and functional.

-------------------------------------

But sadly plutoz is right, what use is the tab if you cant change version?

# January 14, 2010 3:28 PM

AJ said:

I am sorry guys. I am having the same issue but niether of the solutions you mention applies to me.  Those keys are not present and the MetaBase.xml does ot have that line.

Any Ideas?

# February 5, 2010 3:56 PM

Kiran Chandran said:

Many Thanks JBL, it worked for me !!

# March 1, 2010 3:05 AM

PaKo said:

Just install a fresh Windows 2003 x64 R2 version, 2 times, (but cancel when asking for CD2, perhaps CD2 as the DOTNET?).

I can confirm there are no "ASP.NET" on the Windows Components into the "Application Server".

And also no "ASP.NET any version" inside the "Web Service Extension" into IIS.

So the make it there, I do the: aspnet_regiis -i

"

C:\WINDOWS>cd C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727

C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i

Start installing ASP.NET (2.0.50727).

...............................

Finished installing ASP.NET (2.0.50727).

"

And it is ok...

Don't understand why some others tell here got the "ASP.NET", I suppose additionnal items installation before.

Best regards.

# August 27, 2010 3:40 PM

Michael said:

Create 3 scripts for your 64-bit server (below).  Check the status (first script).  Then use the other two to toggle the setting.  My Enable32bitAppOnWin64 was set to true.  I disable it, Open ISM, change Asp.Net settings, re-enable it, then restart IIS.  Voila.

enable32on64status-status.bat

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs get W3SVC/AppPools/Enable32bitAppOnWin64

pause

enable32on64status-on.bat

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

pause

enable32on64status-off.bat

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

pause

# November 4, 2010 11:20 PM

training Indore said:

Thanks Michael ,

It works .

I was looking for it .

# November 26, 2010 5:36 PM

Nith said:

Guys,

Even after removing the Enable32BitAppOnWin64="TRUE" on metabase.xml i m not able to get the Asp tab.

Can some one pl help me in this.

# January 22, 2011 11:53 PM

Luis said:

Ran the Service Pack 1 of ASP.NET 2.0 and fixed the problem.

# March 8, 2011 8:03 AM

Joe said:

nice work Michael.  Unfortunately, we have to file this under 'sad but true' !!! :-)  

# April 25, 2011 4:14 PM

weblogs.asp.net said:

Where_2700_s the ASP NET Tab in IIS_3F00_ It_2700_s Missing_2100_ I_2700_ve installed NET 2 0 _2E002E002E00_.. Nifty :)

# May 14, 2011 4:27 AM

weblogs.asp.net said:

Where_2700_s the ASP NET Tab in IIS_3F00_ It_2700_s Missing_2100_ I_2700_ve installed NET 2 0 _2E002E002E00_.. Keen :)

# June 28, 2011 11:57 AM