views:

1690

answers:

6

Hmm. I'm trying to deploy a web service to a new server and there is no ASP.net tab. I've tried running aspnet_regiis from ASP.Net 2.0 directory but this doesn't seem to work. Any ideas anyone?

A: 

reinstall IIS

Greg Dean
+2  A: 

Did you try uninstalling and then reinstalling ASP.NET?

i.e.

aspnet_regiis -u

Then

aspnet_regiis -i

The uninstall and then reinstall have worked for me before.

David Mohundro
+1  A: 

Is this IIS6? I think you can go to the

  1. Add/Remove Software
  2. Windows Components
  3. IIS
  4. Make sure that ASP.NET is checked. I think this installs support for ASP.Net
  5. re-run aspnet_regiis
jwmiller5
ASP.net is checked unfortunately
John Nolan
+3  A: 

The default install for IIS doesn't include ASP or .Net. You need to enable those in Windows Features menu where you installed IIS from. This shows the basic steps - they may be different for your IIS version and host OS.

Rob Allen
+1  A: 

If you've had (or have...) VMware Server installed on this particular machine, the following steps will most likely fix the issue with minimal pain:

  1. Stop the IISAdmin service (and its dependencies)
  2. Open %windir%\system32\inetsrv\MetaBase.xml in a text editor
  3. Delete the line that reads Enable32BitAppOnWin64="TRUE"
  4. Restart your services using iisreset /start
mdb
+1  A: 

This can have multiple causes ranging from installing IIS after the .NET Framework or the IIS metabase getting corrupted. The order I would go with is:

  1. reinstall ASP.NET (as noted above: aspnet_regiis -u and then aspnet_regiis -i (found in the Windows\Microsoft.NET\Framework\vX.Y.Z directory)
  2. If #1 does not resolve it, then reinstall IIS (Remove/reinstall using Add/Remove Windows Components from Add/Remove Programs on XP/2003 or from Programs Control Panel Applet on Vista)
mjmarsh