Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 当我运行VisualStudio2010 web应用程序时,我得到;Internet Explorer无法显示网页";_Asp.net_Visual Studio 2010 - Fatal编程技术网

Asp.net 当我运行VisualStudio2010 web应用程序时,我得到;Internet Explorer无法显示网页";

Asp.net 当我运行VisualStudio2010 web应用程序时,我得到;Internet Explorer无法显示网页";,asp.net,visual-studio-2010,Asp.net,Visual Studio 2010,当我运行VisualStudio2010 web应用程序时,我得到 “Internet Explorer无法显示该网页” 我正在使用VisualStudioDevelopmentServer(意思是ASP.NET开发服务器不使用IIS)。我还对主机文件(127.0.0.1 localhost)进行了更改。有人能帮我吗? 我使用的是Visual Studio 2010 Ultimate,操作系统是Windows Server 2008 R2 Enterprise您是否尝试向LMHOSTS文件添加条

当我运行VisualStudio2010 web应用程序时,我得到

“Internet Explorer无法显示该网页”

我正在使用VisualStudioDevelopmentServer(意思是ASP.NET开发服务器不使用IIS)。我还对主机文件(127.0.0.1 localhost)进行了更改。有人能帮我吗?
我使用的是Visual Studio 2010 Ultimate,操作系统是Windows Server 2008 R2 Enterprise

您是否尝试向LMHOSTS文件添加条目:


“127.0.0.1 localhost”

这可能是由于内部服务器错误(HTTP 500错误)。在主页上的Page_Load事件上放一个断点,看看它可能在哪里断开。@CameronTinker。断点对我也不起作用…:(您对主机文件做了什么更改???@Darren:在主机文件中,我删除了127.0.0.1 localhost.Bcoz之前的“#”。我发现这是解决此问题的一种方法。但这对我来说不起作用。在IE(或真正的浏览器)中),打开开发人员工具,查看即将发出的网络请求。这可能会让您更深入地了解请求和响应,并希望了解实际错误的详细信息。请告诉我在哪里可以找到此文件。我使用的是Windows Server 2008 R2企业操作系统。默认情况下没有,我只是猜测,因为我有similar问题。如果您有兴趣,请检查@silverchair:LMHOSTS中的更改后,我也会遇到同样的问题。嗨..最后我解决了这个问题。通过取消选中internet explorer中的“绕过代理”设置。