Will man am IIS 7 unter Vista eine Website am Localhost aufrufen, erhält man die oben stehende hübsche Fehlermeldung. Die ist tatsächlich irreführend, denn auch wenn man alles für den Kompatibilitätsmodus zum IIS 6 installiert hat, bleibt die Meldung.
Ursache: VS verlangt tatsächlich die Ausführung als Administrator. Also immer schön die Grundregeln beachten:
- Run Visual Studio with elevated administrator permissions
- Be a member of the "Administrators" group on the local machine
- Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu
Note You can create a shortcut to Visual Studio and select the option to always run with elevated administrator permissions. Using this shortcut would be the equivalent of the right-click method described above.