Tom*_*son 32 asp.net debugging visual-studio-2005 internet-explorer-8
我刚刚安装了IE8(最终版)并重新启动.我无法再在Windows Server 2003 Enterprise R2上使用Visual Studio 2005调试Web应用程序项目.我收到消息"Internet Explorer无法显示网页",然后WebDev.WebServer.exe退出,没有可见的错误消息,事件查看器中没有任何内容.
有没有人有任何想法?
没有帮助的事情:
有点帮助的事情:
我的主机文件包含:
# 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
Run Code Online (Sandbox Code Playgroud)
Tom*_*son 43
我的一位同事遇到了类似的问题并发现了这一点:
IE 8有一个名为Loosely-Coupled Internet Explorer(LCIE)的功能,可以使IE在多个进程中运行.
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
较旧版本的Visual Studio Debugger因此而感到困惑,无法弄清楚如何附加到正确的进程.您可以通过禁用LCIE的流程增长功能来解决此问题.这是如何做:
- 打开RegEdit
- 浏览到HKEY_LOCALMACHINE - > SOFTWARE - > Microsoft - > Internet Explorer - > Main
- 在此键下添加一个名为TabProcGrowth的dword
- 将TabProcGrowth设置为0
由于您在Windows Server 2003上运行,因此您应该这样做.如果您在Vista或更新版本上遇到同样的问题,您还需要关闭保护模式.
图片来源:Visual Studio Debugger,MSFT项目经理Brad Sullivan
资料来源:http://social.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e
归档时间: |
|
查看次数: |
34003 次 |
最近记录: |