I am running a gallery template Windows Server 2012 VM instance on Azure. I've deployed a .NET site to the local IIS 8.0 but it doesn't work, just gives 404's for path that work fine on dev box (IIS Express).
I had a nightmare with Web Deploy already on this VM so I think this whole VM template is screwy.
I want to re-register ASP.NET with IIS using aspnet_regiis.exe but I see this message:
This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
The link goes to a page explaining how to add roles. I haven't the faintest idea how to remove roles.
There is a TechNet article about doing it via PowerShell and has almost a footnote for removing via a GUI, using "The Remove Roles Wizard" - which is nowhere to be found on Server 2012.
How can I remove IIS or ASP.NET or .NET Framework and reinstall it these days? It's so confusing.
In fact, its seem SO impossible, that I'm wondering whether this isn't some customization of the VM template on Azure; there's no way to remove anything.
