一、 报错信息
Starting IIS Express …
Unable to start iisexpress.For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).
二、 运行环境
- Windows 10 Professional 64bit
- JetBrain Rider 2017.2
三、 解决方案
删除项目文件夹中.idea/config/applicationhost.config
四、 小结
由于习惯JetBrain家的IDE,所以使用了Rider(跨平台的.NET IDE)。在运行一个ASP.NET MVC项目时报了
Unable to start iisexpress
。尝试了重装iis、删除iisexpress文件夹中的applicationhost.config等解决方案。谁知道.idea/下自动生成了该文件。Thanks MS and JB!