The Web Application Project […] is configured to use IIS. The Web server […] could not be found.

前端 未结 26 1500
醉酒成梦
醉酒成梦 2020-12-07 07:30

I have a web project in my solution file that is \"unavailable\" when I open the solution. When I right-click on the web project and reload the project, I get the following

相关标签:
26条回答
  • 2020-12-07 08:30

    For you Win8 users out there, if you follow the steps in the accepted answer, console spits out a message at you saying "thou shalt not use the command-line to execute this command" (paraphrasing). Instead, access the Programs & Features via Control Panel (or Windows + R > appwiz.cpl), click 'Turn Windows features on or off', and make sure you have the following installed:

    Internet Information Services
      > World Wide Web Services
        > Application Development Features
          > ASP.NET 4.5
    

    This will check a bunch of other options as well. As soon as I installed these features, and ran VS2012 with elevated permissions, I was able to launch my app successfully.

    0 讨论(0)
  • 2020-12-07 08:30

    in my case, make sure you have a "Default" website

    0 讨论(0)
提交回复
热议问题