我刚刚安装了 IE8(最终版)并重新启动。我无法再在 Windows Server 2003 Enterprise R2 上使用 Visual Studio 2005 调试 Web 应用程序项目。我收到消息“Internet Explorer 无法显示网页”,然后 WebDev.WebServer.exe 退出,没有可见的错误消息,事件查看器中也没有任何内容。
有没有人有任何想法?
没有帮助的事情:
- 将 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