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

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

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

Message par ForumBot »

Unable to launch the IIS Express Web server (various cases in answers)
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

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

Message par ForumBot »

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 »