If you are getting the following error after trying to debug a website project:
Unable to launch the IIS Express Web server.
Failed to register URL "http://localhost:62940/" for site "SITE NAME" application "/". Error description: Access is denied. (0x80070005).
and if windows managed to reserve the specific port (such as 62940) you might want to change the port of your projects IISExpress server.
(You can check what ports are being used by running netstat
. You can also try killing Microsoft.VisualStudio.Web.Host.exe*32
.
Alas, if none of that works locate your project.sln
(where project is the name of your specific project) and you can edit the port.