且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法启动IIS Express Web服务器

更新时间:2022-03-20 23:33:32

我在VS2017/IIS Express 10中遇到了完全相同的问题. 尝试了一些技巧在论坛上发现了很多技巧,但是唯一可以真正修复该错误的技巧是:

I had exactly the same problem with VS2017 / IIS Express 10. Tried a few tips & tricks found at forums, but the only one that really fixed the bug definitively is the following:

  1. 关闭所有Visual Studio实例和IIS Express(如果正在运行)
  2. 转到Windows的程序和资源",在已安装的程序列表中找到IIS Express,然后对其进行卸载"
  3. 重新启动计算机,只需确保所有进程都已关闭
  4. 从Microsoft下载IIS Express 10独立安装程序: https: //www.microsoft.com/zh-CN/download/details.aspx?id=48264
  5. 安装它,打开Visual Studio,它应该可以正常工作.
  1. Close all Visual Studio instances and IIS Express (if it's running)
  2. Go to Windows' "Programs and Resources", find IIS Express in the list of installed programs, and "Uninstall" it
  3. Restart your computer, just be sure that all processes are closed
  4. Download IIS Express 10 standalone installer from Microsoft: https://www.microsoft.com/en-us/download/details.aspx?id=48264
  5. Install it, open Visual Studio, and it should work fine.