简体   繁体   English

运行asp.net mvc项目时出现错误“无法启动iisexpress Web服务器”

[英]Error “Unable to launch iisexpress web server” While running asp.net mvc Project

enter image description here I was trying to run my project but getting error "Unable to launch iis express Web server" . 在此处输入图像描述,我试图运行我的项目,但出现错误“无法启动iis express Web服务器”。 i have tried deleting applicationhost.config file and also tried deleting .vs folder still getting same error. 我曾尝试删除applicationhost.config文件,还尝试删除.vs文件夹,但仍收到相同的错误。 Every morning i get this problem when i open project first time. 每天早晨,我第一次打开项目时都会遇到这个问题。

Thank you 谢谢

Try deleting the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, eg C:\\Users[you]\\Documents\\IISExpress. 尝试删除自动创建的IISExpress文件夹,该文件夹通常位于%userprofile%/ Documents中,例如C:\\ Users [you] \\ Documents \\ IISExpress。

Don't worry, VS should create it again - correctly, this time - once you run your solution again. 不用担心,一旦再次运行解决方案,VS应该再次创建它-这次是正确的。

EDIT: Command line for deleting the folder: 编辑:删除文件夹的命令行:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM