Visual Studio的2015年 - ASP.Net应用程序将无法启动,直到重新启动Visual Studio中 [英] Visual Studio 2015 - ASP.Net application won’t start until restarting Visual Studio

查看:354
本文介绍了Visual Studio的2015年 - ASP.Net应用程序将无法启动,直到重新启动Visual Studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,当我尝试启动ASP.Net应用程序(调试)应用程序将无法启动。
Visual Studio中看起来像应用程序运行时,状态栏改变其颜色为橙色。
浏览器打开并加载永远。
IIS防爆preSS正在运行,该网站被显示在IIS应用程序尝试的上下文菜单。
我没有得到任何异常;该应用程序只是将无法启动。

Sometimes when I try to start a ASP.Net application (debugging) the application will not start. Visual studio looks like the application is running, the status bar changes its color to orange. A Browser opens and is loading "forever". IIS Express is running and the site gets displayed in the context menu of the IIS try application. I do not get any exception; the application just won’t start.

我试图阻止调试和手动停止IIS防爆preSS又开始调试,但没有奏效。其作品的唯一事情就是关闭Visual Studio并再次打开它。然后,直到我再次得到了同样的问题,我可以启动应用程序n次。

I tried to stop debugging and manually stopped IIS Express and started debugging again, but it didn’t work. The only thing which works is closing Visual Studio and open it again. Then I can start the application n times until I get the same problem again.

该应用程序是没有问题的,我从来没有这个问题的调试与Visual Studio 2013相同的应用程序。

The application is not the problem, I never had this problem debugging the same application with Visual Studio 2013.


  • 有没有一个解决这个问题?

  • 请日志文件或类似这样的东西存在,我可以找到什么是错的信息?

我与Visual Studio 2015年工作1更新

I’m working with Visual Studio 2015 Update 1.

推荐答案

解决方案/解决方法:

我仍然有同样的问题,我无法找到一个方法来解决它。

但是,下面的脚本可以作为一种解决方法:

I still have the same problem and I can’t find a way to solve it.
But the following script works as a workaround:

taskkill /f /im iisexpress.exe 

它杀死iisex preSS这接缝导致此问题。

It kills iisexpress which seams to cause the problem.

这篇关于Visual Studio的2015年 - ASP.Net应用程序将无法启动,直到重新启动Visual Studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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