我刚刚安装了IE8(最终版)并重新启动.我无法再在Windows Server 2003 Enterprise R2上使用Visual Studio 2005调试Web应用程序项目.我收到消息"Internet Explorer无法显示网页",然后WebDev.WebServer.exe退出,没有可见的错误消息,事件查看器中也没有任何内容.
有人有什么 idea 吗?
没有帮助的事情:
- 将本地主机添加到受信任的站点
- 将端口更改为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