IIS does not list a website that matches the launch url

后端 未结 7 1067
失恋的感觉
失恋的感觉 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:07

    this worked for me, I updated VS 2017 version to Version 15.4.2, run with administrator, deleted document folder files(Visual Studio 2017) and restart the pc.

    0 讨论(0)
  • 2021-01-30 05:19

    I had this issue on a new machine - running as admin did not help. The solution was to execute aspnet_regiis.exe -i first. It has to be run from a command prompt that has also been started as an Administrator. Commonly the exe can be found in C:\Windows\Microsoft.NET\Framework\v4.0.30319 - if you need to change it, you most likely already know what to change.

    To always run the program as administrator without the right click, open the VS shortcut properties compatibility tab and check "Run this program as an adminsitrator". For detailed steps, see http://technet.microsoft.com/en-us/magazine/ff431742.aspx

    0 讨论(0)
  • 2021-01-30 05:26
    1. Start >> Control Panel >> Click Programs

    2. Click Turn Windows features on or off.

    3. In the User Account Control dialog box, click Continue

    4. Expand Internet Information Services, expand Web Management Tools, and then expand IIS 6 Management Compatibility

    5. Click to select the IIS Metabase and IIS 6 configuration compatibility check box, and then click OK.

    0 讨论(0)
  • 2021-01-30 05:29

    I'm using Visual Studio 2013 and set administrator privilege for shortcut as @karim said not worked for me, so i get to the devnev.exe file and set administrator privilege in compatibility tab and that's worked. I didn't want to add this as an answer but I couldn't assign a picture, so decided to post it as a new answer.

    Hope this helps.

    0 讨论(0)
  • 2021-01-30 05:30

    I hate answering my questions: in my question i stated that i was running VS under the administrator account. This was not true!!!

    So the solution (for me) was to run VS2010 as administrator (Start->In Vista menu right click-> Run as administrator)...so simple.

    As a side effect: VS2010 let me also create Virtual Directories without any problems (prior to that i got error messages stating that i have to manually adjust these)

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题