这是什么原因"连接中断"在localhost在ASP.NET调试时, [英] What could cause "Connection Interrupted" on LocalHost when debugging in ASP.NET
问题描述
我想用C#来运行刚创建ASP.NET网站,但是当我做到这一点,启动Firefox和尝试连接到的 HTTP://本地主机:1295 /的WebSite1 / Default.aspx的(例如),但大约10-15秒后,它会显示一个连接中断 - 到服务器连接被重置而页面加载了。错误。
I'm trying to run a freshly created ASP.NET Website using C#, however when I do so it launches FireFox and attempts to connect to http://localhost:1295/WebSite1/Default.aspx (for example), but after about 10-15 seconds it displays a "Connection Interrupted - The connection to the server was reset while the page was loading." Error.
这问题也present与旧ASP.NET C#页/ Web服务我已经建立在过去,没有什么实际运行了ASP.NET开发服务器。
This issue is also present with older ASP.NET C# pages/Web Services I've built in the past, nothing is actually running off the ASP.NET Development server.
我使用:Windows XP中专业版SP2,Visual Studio 2008中
I am using: Windows XP Pro SP2, Visual Studio 2008
有关引用我有SQL Server 2005开发版安装好了。
For reference I have SQL Server 2005 Developer Edition installed as well.
我曾尝试:
- 与IE浏览器,而不是Mozilla的浏览它
- 试图2.0框架,而不是3.5
- 重新安装Visual Studio 2008中
此问题似乎那么微不足道,我越去想它,但我没有带能够做得出来,只是还没有!鸭preciate对此事的任何帮助。
This problem seems so trivial the more I think about it, but I havn't been able to work it out just yet! Appreciate any help on the matter.
推荐答案
当你启动应用程序,一点点信息标记出现在屏幕的右下角,告知您的本地Web服务器已经开始,但至极端口。你应该端口比较出现在您的浏览器之一。如果它们是不同的,抗病毒可以负责这一问题。
另外一个寻找的地方就是你的主机文件。某些软件调整这个文件,可以让你的本地主机disbehave。
When you launch the application, a little info mark appears at the right bottom of your screen telling you that the local web server was started and on wich port. You should compare that port to the one that appears in your browser. If they are different, an anti-virus could be responsible for that problem. Another place to look is your host file. Some software tweak this file and can make your localhost disbehave.
这篇关于这是什么原因"连接中断"在localhost在ASP.NET调试时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!