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
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