简体   繁体   English

无法启动IIS表达错误Visual Studio 2015

[英]Unable to launch IIS express error Visual Studio 2015

I'm working on an Asp.Net MVC5 project and I have done quite of work on it, i tried to manage the architecture of my app by moving common functionality to a common project to remove unnecessary dependencies, so i removed references to those nuget packages DLLs and manually deleted them from bin directory instead of uninstalling, after that i rebuild the entire solution which was successful but VS is not hosting it to IIS Express and i'm getting following error dialog. 我正在研究Asp.Net MVC5项目,并且已经做了很多工作,我试图通过将通用功能移至通用项目中以消除不必要的依赖关系来管理应用的体系结构,因此我删除了对这些nuget的引用打包DLL并从bin目录中手动删除它们,而不是卸载它们,之后,我重新构建了成功的整个解决方案,但VS未将其托管到IIS Express,并且出现了以下错误对话框。 Can any one help me out if possible. 如果可能的话,任何人都可以帮助我。 Note: I have tried some solutions at Stack Overflow but those are not working in my case and also my other project's hosting is working fine. 注意:我已经在Stack Overflow尝试了一些解决方案,但是这些解决方案在我的情况下不起作用,而且我其他项目的托管工作正常。 Error Dialog 错误对话框

I just found the right solution to my problem. 我刚刚找到解决我问题的正确方法。 I just deleted the .vs folder which was hidden in my solutions directory and after that IIS is launching smoothly. 我只是删除了隐藏在解决方案目录中的.vs文件夹,然后IIS顺利启动。 Don't worry just delete the .vs folder visual studio will recreate it with new applicationhost.config file which is where host configuration is living. 不用担心,只需删除.vs文件夹,Visual Studio就会使用新的applicationhost.config文件(主机配置所在的位置)重新创建它。

  • Right-click on your solution and select Properties 右键单击您的解决方案,然后选择属性
  • Select “Web” from the left 从左侧选择“网络”
  • Under “Use local IIS server” change the port number 在“使用本地IIS服务器”下,更改端口号

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

相关问题 Visual Studio无法启动IIS Express服务器 - Visual Studio unable to launch IIS Express server Visual Studio 2015 IIS Express 500错误 - Visual Studio 2015 IIS Express 500 Error Visual Studio 2017 页面启动错误“无法启动 IIS Express Web 服务器” - Visual Studio 2017 Page Launching Error "Unable To Launch the IIS Express Web Server" 在Visual Studio 2015中使用IIS服务器而不是IIS Express - Using IIS Server instead of IIS Express in Visual Studio 2015 Visual Studio IIS Express 在启动时挂起,但 IIS 本地工作,为什么? - Visual Studio IIS Express hangs on launch, but IIS local works, why? Visual Studio Debug说无法启动IIS Express Web服务器(无法注册localhost:443) - Visual Studio Debug says Unable to launch IIS Express Web server (failed to register localhost:443) “无法启动 IIS Express Web 服务器”错误 - “Unable to launch the IIS Express Web server” error Visual Studio 2015和IIS Express会获得ERR_CONNECTION_REFUSED - Visual Studio 2015 and IIS Express get ERR_CONNECTION_REFUSED Visual Studio 2015和IIS Express在每个请求上续订会话ID - Visual Studio 2015 and IIS Express Renews Session ID on Each Request 是否可以在Visual Studio 2015的其他端口中发布asp.net Web API? IIS不是IIS Express - Is it possible to publish asp.net web api in a different port in Visual Studio 2015 ? IIS not IIS Express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM