aspnet_regiis.exe -ir does not work on windows 8

前端 未结 3 1712
无人及你
无人及你 2020-12-08 03:57

I am trying to deploy an ASP.NET MVC3 app to my Windows 8 box with IIS8. When I try to route to the site I get the following error:

相关标签:
3条回答
  • 2020-12-08 04:34

    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

    0 讨论(0)
  • 2020-12-08 04:44

    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.

    0 讨论(0)
  • 2020-12-08 04:46

    Run the following command, which will install and register ASP.NET 4.5 in IIS:

    dism /online /enable-feature /featurename:IIS-ASPNET45 /all
    
    0 讨论(0)
提交回复
热议问题