“Unable to launch the IIS Express Web server” error

前端 未结 25 2766
梦谈多话
梦谈多话 2020-11-30 02:48

I receive this error when trying to launch IIS Express from Visual Studio with a project that\'s configured to listen to an address other than localhost. Visual Studio free

25条回答
  •  盖世英雄少女心
    2020-11-30 03:35

    1. Close your project.
    2. Go to folder settings and select show hidden folders option.
    3. Open the folder where your application is. You will see a .vs folder.
    4. Open the .vs folder, you will see a config folder in it. Delete its content.
    5. Run Visual Studio in admin mode. Open your solution from the File menu.
    6. Clean your solution.
    7. Build it.
    8. Run it and voila!

    I do not recommend deleting IIS Express folder or messing with the config file in it.

提交回复
热议问题