简体   繁体   English

初始化 applicationhost.config 文件失败。 找不到 IIS Express

[英]Initializing the applicationhost.config file failed. Cannot find IIS Express

I recently installed the Visual Studio 2017 RC and created AngularJS SPA application.我最近安装了 Visual Studio 2017 RC 并创建了 AngularJS SPA 应用程序。 I had to uninstall the VS 2017 RC as it was hanging multiple times.我不得不卸载 VS 2017 RC,因为它多次挂起。 Now, Whenever I try to open this SPA application using VS 2015 I get this error.现在,每当我尝试使用 VS 2015 打开此 SPA 应用程序时,都会出现此错误。 Any help to resolve this would be helpful.任何解决此问题的帮助都会有所帮助。 Thank you.谢谢你。

Initializing the applicationhost.config file failed.初始化 applicationhost.config 文件失败。 Cannot find IIS Express找不到 IIS Express

错误

I have got the same issue.我有同样的问题。 So I install the IIS Express from https://www.microsoft.com/en-us/download/details.aspx?id=48264所以我从https://www.microsoft.com/en-us/download/details.aspx?id=48264安装 IIS Express

Then reload the solution.然后重新加载解决方案。 problem solved.问题解决了。

Follow this link :按照这个链接:

https://drive.google.com/open?id=0B9Q8e7mRZ7_oaXRHX01yMUNPbUE https://drive.google.com/open?id=0B9Q8e7mRZ7_oaXRHX01yMUNPbUE

You need to modify the visual studio web services.您需要修改 Visual Studio Web 服务。 The video shows how to modify VS.该视频展示了如何修改 VS。 Modification depends on which type of template you are using that shows error.修改取决于您使用的显示错误的模板类型。 If its WCF, then you make web service updates during modification of VS.如果是 WCF,那么您在修改 VS 期间进行 Web 服务更新。

我无法解决这个问题,但我设法通过卸载并重新安装 Visual Studio 2015 来解决。

you can download IIS express from this link and install it您可以从此链接下载 IIS express 并安装它

https://www.microsoft.com/en-us/download/details.aspx?id=48264 https://www.microsoft.com/en-us/download/details.aspx?id=48264

I had faced the same problem while trying to "Live Share" my web development project on the web browser.我在尝试在 Web 浏览器上“实时共享”我的 Web 开发项目时遇到了同样的问题。 I was using the latest version of Visual Studio still I got this issue.我使用的是最新版本的 Visual Studio,但仍然遇到此问题。 Then I go to the Visual Studio Downloader to download the ASP.NET and web development Workloads which is available in the Workloads section.然后我去 Visual Studio 下载器下载ASP.NET 和 Web 开发工作负载,它在工作负载部分可用。 Here I had attached the image in which you can see in the details it is clearly written that Live Share is available.我在这里附上了一张图片,您可以在其中看到详细信息,它清楚地表明 Live Share 可用。 visual studio downloader where you can see the Live Share option您可以在其中看到 Live Share 选项的 Visual Studio 下载器

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

相关问题 applicationHost.config 错误:由于 IIS 共享配置的权限不足,无法写入配置文件 - applicationHost.config Error: Cannot write configuration file due to insufficient permissions with IIS shared configuration 如何将IIS ApplicationHost.config文件解析为.Net对象? - How to parse the IIS ApplicationHost.config file into .Net objects? 我是否必须手动编辑 applicationhost.config 以将特定绑定添加到 IIS Express - Must I manually edit the applicationhost.config to add specific bindings to IIS Express Applicationhost.config未更新 - Applicationhost.config not updated IIS CLI为我的项目生成带有site的applicationhost.config - IIS CLI generate applicationhost.config with site for my project 以编程方式解锁applicationHost.config中的部分 - Unlock section in applicationHost.config programmatically applicationhost.config中的位置路径未映射到程序集 - Location path in applicationhost.config not mapping to assembly C# applicationHost.config 未找到但存在 - C# applicationHost.config not found but exists Microsoft.Web.Administration-ApplicationHost.Config中带有httpError的NullReferenceException - Microsoft.Web.Administration - NullReferenceException with httpErrors in ApplicationHost.Config 由于applicationHost.config无效,.Net构建失败 - .Net build is failing due to invalid applicationHost.config
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM