visual-studioiis-express-10

iis express always reports port in use


Visual Studio Community 2019 16.10.0

enter image description here

Pressing [IIS Express] to debug...

Regardless of which Port I use, I get:

enter image description here

Log:

Failed to register URL "http://localhost:59001/" for site "...." application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)

Rebooted, deleted 'vs' folder, reinstalled VS 2019. Still the same error. Does anyone know what could be causing it?


Solution

  • Choosing the "Repair" option on Visual Studio fixed it. But uninstall/reinstall did not?!?