iis express always reports port in use

245 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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