james mckay dot net

because there are few things that are less logical than business logic
14
Jan

Missing ASP.NET tab in IIS on Windows Server 2003

One thing that’s been at the back of my mind since I upgraded to Windows Server 2003 is that the ASP.NET tab in IIS had taken a walk. Even running aspnet_regiis -i did nothing to solve the problem. Up till now I had no cause to fix it, but today I had to troubleshoot one of our apps that is (still!) using ASP.NET 1.1. This meant I needed to configure it to run version 1.1 in order to debug it using Visual Studio 2003. Might as well get to the bottom of this while I’m at it.

It turns out the problem is something to do with VMWare Server, which I also have running on the same machine, running a couple of instances of Ubuntu for my PHP work. For some reason this conflicts with the ASP.NET tab on Windows Server 2003. Fortunately, a quick Google search led me to this post, which has a fix described in the comments.

So, if you have the same problem:

  1. Stop IIS using iisreset /stop
  2. Open the file C:\WINDOWS\system32\inetsrv\MetaBase.xml in Notepad.
  3. Find and delete the line that says Enable32BitAppOnWin64="TRUE"
  4. Restart IIS using iisreset /start
  5. If you still don’t see your ASP.NET tab, aspnet_regiis -i should now work.

9 comments:

  • Reinhard Brongers
    23 Feb 2008
    00:46

    Thank you, your post just saved me from pulling my hairs out -)
    I had the same scenario (having to support an antique .NET 1.1 app). You’re tip did the trick!
    Regards, Reinhard

  • Rico
    23 Feb 2008
    15:07

    Thanks for sharing your solution. Worked!

  • berberecho123
    23 Apr 2008
    15:01

    It works!!! Thanks guy )

  • John Seger
    25 Jul 2008
    16:00

    Thanks for the helpful insructions. I too ignored it until I needed to change it. Worked great.

    John

  • kamal
    3 Aug 2008
    21:04

    thanks thanks haks you save me
    lol

  • Jak
    22 Apr 2009
    18:32

    Oh Yeah!! You are the MAN!

  • surendar/ jagadesh
    2 Jul 2009
    07:20

    lol

    This helps very much

  • Carlos Araujo
    6 Jul 2009
    18:20

    Thanks, you helped a Brazilian programmer.

  • subash
    19 Jul 2009
    16:28

    Thanks! .. but for me Windows XP professional so the said file is not found.

Comments on this entry are now closed.