IIS does not list a website that matches the launch url

后端 未结 7 1146
失恋的感觉
失恋的感觉 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条回答
  •  Happy的楠姐
    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

提交回复
热议问题