【发布时间】:2009-08-03 22:44:17
【问题描述】:
我使用 MVC 项目模板创建了一个新的 ASP.NET MVC 项目。根据我正在阅读我正在阅读的 ASP.NET MVC 书(APRESS 的 Pro ASP.NET MVC 框架)的书,该应用程序应该使用 Visual Studio 开发服务器开箱即用。
它可以编译并运行,但 IE 返回页面加载错误...特别是以下错误:
This problem can be caused by a variety of issues, including:
•Internet connectivity has been lost.
•The website is temporarily unavailable.
•The Domain Name Server (DNS) is not reachable.
•The Domain Name Server (DNS) does not have a listing for the website's domain.
•There might be a typing error in the address.
•If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
我在 Windows 7 RC1 上运行 Visual Studio 8。我的机器上确实安装并运行了 IIS。
我更希望使用 VS 开发服务器让它工作,但我不知道为什么页面无法加载。
编辑
即使防火墙关闭......同样的问题。我使用 Windows 防火墙。
我正在以管理员身份运行 Visual STudio...仅供参考。
赛斯
【问题讨论】:
-
该错误意味着IE无法连接到Web服务器。是否在任务栏中看到 Visual Studio Dev Server 图标?
-
是的...图标在那里并且引用了一个端口。
标签: asp.net asp.net-mvc visual-studio visual-studio-2008