Visual Studio 2015 更新 1 - 调试时没有 IIS Express 响应 [英] Visual Studio 2015 Update 1 - No IIS Express Response While Debugging

查看:19
本文介绍了Visual Studio 2015 更新 1 - 调试时没有 IIS Express 响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码开发环境有错误.我无法解决它,我现在无法正常工作.

I have an error in my code development environment. I can't solve it and I can't work properly rightnow.

详细信息:
我正在使用Visual Studio 2015 Update 1"、Windows 8.1(带有最新更新)".我正在 Visual Studio 启动 - 调试模式下启动一个 webapi2(资源服务)和两个 asp.net mvc 应用程序(后端和前端).我们使用的是 IIS express 而不是本地 IIS (inetmgr),因为我的队友不想在其中运行解决方案.

Details:
I'm working with "Visual Studio 2015 Update 1", "Windows 8.1 ( with latest updates )". I'm launching one webapi2(resource service) and two asp.net mvc applications(backend and frontend) in Visual Studio Start - debug mode. We are using IIS express not local IIS (inetmgr) because my team mates don't want to run solution in it.

这是一个项目的启动动作:

Here is the start action of one project:

问题在于:
当我(开始)为调试模式启动 Visual Studio 时;Visual Studio 会打开浏览器,但应用程序将无法运行.网站处于加载模式.有点卡住了我是说;浏览器仍在等待来自 IISexpress 的响应显示,但那里没有响应.这是我所看到的(Yükleniyor 表示正在加载...):

The problem is:
When I (start)launch the Visual Studio for debug mode; Visual Studio opens the browser but applications won't work. Sites are stay at loading mode. It's kinda stuck. I mean; Browser is still waiting a response from IISexpress to show, but there is no response there. Here is what I saw (Yükleniyor means Loading...):

如果我等待的时间太长,Browser-IIS 将给出以下错误:HTTP 错误 403.14 - 禁止 Web 服务器被配置为不列出此目录的内容."

If I wait too long, Browser-IIS will give this error: "HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory."

我在诊断工具窗口中看到此消息:线程 0x3714 已退出,代码为 0 (0x0).线程 0x2780 已退出,代码为 0 (0x0).线程 0x35d0 已退出,代码为 0 (0x0).等等等等……".Visual Studio 没有错误消息.我该如何解决这个问题?

And I see this message in Diagnosic Tools Window: "The thread 0x3714 has exited with code 0 (0x0). The thread 0x2780 has exited with code 0 (0x0). The thread 0x35d0 has exited with code 0 (0x0). etc etc...". There is no error message from Visual Studio. How can I solve this problem ?

重要提示:
如果我重新启动 Visual Studio,我可以只调试一次应用程序!.如果我点击停止并再次运行,问题又回来了.

Important Note:
If I restart Visual Studio, I can debug the application JUST one time!. If I click the stop and run again, the problem comes back.

另一个注意事项:我尝试与 Microsoft 联系.我给他们写了同样的问题.但是贴了2个星期了,还没回来.

Another Note: I tried to contact with Microsoft. I wrote the same problem to them. But 2 weeks pasted, they are not returned back yet.

我已经试过了:
在发布模式下工作
在安全模式下打开 Visual Studio.
恢复 Visual Studio
卸载并重新安装 Visual Studio
卸载并重新安装 IIS Express
仅卸载 VS 更新 1
在另外 2 台计算机上尝试过(解决方案和应用程序运行良好.)

I tried already:
Working in release mode
Open Visual Studio in Safe Mode.
Restore Visual Studio
Uninstall and reinstall Visual Studio
Uninstall and reinstall IIS Express
Uninstall only VS update 1
Tried in another 2 computers ( Solution and applications are working well. )

推荐答案

在我的系统中,问题似乎得到了解决.我通过 Visual Studio 2015 的工具/扩展和更新..."菜单更新了以下项目:

In my system the problem seems to be solved. I updates the following items by "Tools/Extensions and Updates ..." menu of Visual Studio 2015:

  1. Microsoft ASP Net Web 框架和工具(版本 5.2.40204.0).
  2. Microsoft ASP Net Web 工具(版本 14.201.20203.0).
  3. Web Essentials 2015.1(版本 1.0.207).
  1. Microsoft ASP Net Web Framework And Tools (Version 5.2.40204.0).
  2. Microsoft ASP Net Web Tools (Version 14.201.20203.0).
  3. Web Essentials 2015.1 (Version 1.0.207).

我认为问题已通过更新 N. 2 解决,但为了完整起见,我报告了所有更新的项目.

I think the problem was solved by update N. 2, but for completeness I reported all items updated.

这篇关于Visual Studio 2015 更新 1 - 调试时没有 IIS Express 响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆