有没有任何想法?
没有帮助的事情:
>将localhost添加到受信任的站点
>将端口更改为8080或80
>检查我的主机文件(它只有127.0.0.1 localhost在它)
事情有帮助了一点:
>使用CTRL-F5运行(不调试),它工作正常(除非你需要调试)
>将默认的Visual Studio浏览器更改为Firefox,这允许我调试
我的主机文件包含:
# Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally,comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost
解决方法
IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes.
07000
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. You can work around this by disabling the process growth feature of LCIE. Here’s how:
- Open RegEdit
- Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
- Add a dword under this key called TabProcGrowth
- Set TabProcGrowth to 0
Since you are running on Windows Server 2003,this is all you should need to do. If you run into the same problem on Vista or newer,you will also need to turn off protected mode.
来源:Brad Sullivan,Visual Studio Debugger项目经理,MSFT
资料来源:http://social.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e