IIS does not list a website that matches the launch url

后端 未结 7 1136
失恋的感觉
失恋的感觉 2021-01-30 04:29

I need to debug the website i \'m developing (ASP.NET MVC3, Razor, .NET 4, VS2010 SP1 (as administrator)) in IIS7 (Vista Home) and getting the error:

IIS does not list

7条回答
  •  無奈伤痛
    2021-01-30 05:30

    For the benefit of searchers, I was running as admin and still got this, so needed to follow this blog (obviously ignoring some of the stuff related to old .NET versions).

    Following that, did a rebuild and it worked.

    EDIT: (Following the comments)

    Section 2 was of particular interest. It states:

    In order to enable F5 debugging, you will need at minimum the following components:

    • ASP.NET
    • Windows Authentication Module (Provides support for Windows authentication with NTLM and Kerberous)
    • Metabase compatibility layer (Provides support for legacy IIS configuration APIs used by existing software to manage IIS. Note that this is required to connect to your ASP.NET application from Visual Studio, even before you attempt debugging.)

    Install them from Control Panel > Programs > Turn Windows Features on and off:

    EDIT: (added paths to features):

    • Internet Information Services -> World Wide Web Services -> Security -> Windows Authentication
    • Internet Information Services -> Web Management Tools -> IIS 6 Management Compatability -> IIS Metabase and IIS 6 configuration compatability

提交回复
热议问题