Visual Studio 2015 Update 1 - No IIS Express Respo

2019-01-21 11:36发布

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

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:
enter image description here

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...):
enter image description here

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."

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 ?

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.

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.

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. )

11条回答
聊天终结者
2楼-- · 2019-01-21 12:22

Simply running my Visual Studio (Update 2) in Admin mode solved it for me.

查看更多
一夜七次
3楼-- · 2019-01-21 12:24

I am not allowed to add a comment, as I do not have a rep of 50+ but I did want to chime in and say, I was experiencing this as well from work on Wednesday. I upgraded to VS 2015 Enterprise from VS 2015 Pro. Worked on the same solution/projects I do everyday and boom..

Run project in debug mode and symptoms: the pages stall on load to browser

I set breakpoints in the code -- Controller and in the Razor View to see all the way up until the page is finished on the "server side".

The breakpoints are hit in normal fashion, but the response never seems to make it to the browser.

All I can say, is it seems very similar to Lost_In_Library's issue.

Attempted but persists: /ResetUserData and /ResetSettings

Hope this helps in some way. I'd also like to point out, I have one non default use case, after resetting VS, I have to config for IIS express 64 bit, that is only non default setting I have configured.

查看更多
Summer. ? 凉城
4楼-- · 2019-01-21 12:24

Be sure to run Visual Studio as an Administrator. I was having the same issue and that solved being able to Debug with IIS Express.

查看更多
一纸荒年 Trace。
5楼-- · 2019-01-21 12:32

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 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).

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

查看更多
太酷不给撩
6楼-- · 2019-01-21 12:32

I faced this problem also. I think it's a BUG of VS2015 or something related.

I found a ugly solution: KILL the sub-process. use Process Explorer from SysInternals Suite 1. Right click the node of iisexpress.exe 2. select "Kill process tree" 3. F5 works.

查看更多
登录 后发表回答