aspnet_regiis.exe -ir does not work on windows 8
Solution 1:
Run the following command, which will install and register ASP.NET 4.5 in IIS:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all
Solution 2:
I'm having the same problem. So far I only found this forum thread of which one of the answers states that installing via Web Platform Installer solved the problem, though this doesn't work for me. The IIS ASP.NET 4.5 feature is disabled as it is already installed.
UPDATE: I got it to work finally.
Follow the instructions from this SO question to enable the wcf service in IIS: WCF on IIS8; *.svc handler mapping doesn't work
Here is also some information about how to get the handler mapping installed
Solution 3:
what worked for me is: - unchecking the 4.5 and 3.5 in remove/add windows features - restarted the computer - checked the 4.5 and 3.5 in remove/add windows features.
And from that point it all worked again.