Unable to launch the IIS Express Web server (various cases in answers)

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Unable to launch the IIS Express Web server (various cases in answers)

Message par Clippy »

Unable to launch the IIS Express Web server (various cases in answers)
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Unable to launch the IIS Express Web server (various cases in answers)

Message par Clippy »

I had the exact same problem.

The reason - bad IIS config file.

Try deleting the automatically-created `IISExpress` folder, which is usually located at `%userprofile%/Documents`, e.g. `C:\Users\[you]\Documents\IISExpress`.

Don't worry, VS should create it again - correctly, this time - once you run your solution again.

EDIT: Command line for deleting the folder:

```
rmdir /s /q "%userprofile%\Documents\IISExpress"

```
Répondre

Revenir à « Visual Studio & VS Code »