Unable to connect to ASP.Net Development Server issue

前端 未结 20 1226
借酒劲吻你
借酒劲吻你 2020-11-27 07:02

I am debugging codeplex simple project. I am using

  • VSTS 2008
  • C#
  • Windows Vista x86 Enterprise.

I have not modified any code

20条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 07:56

    In my case, when I had the ASP.NET Development Server crash, one thing that worked was to change the port for the project.

    I suspect what happened was when the web server crashed it did not release a lock on the port. Even though it was not running in Task Manager, something was blocking a new instance of the web server from starting again on the original port. Changing the port was a decent enough work around. I could have rebooted, but who has time for that, right?

    Details: Windows 7 x64, VS2010, .NET Framework 4.0, ASP.NET web site using the built in web server to VS2010.

    BTW, I would be a little cautious with replacing the WebDev.WebServerServer.EXE as suggested in other posts. If that file has been corrupted then you have bigger problems with your OS.

提交回复
热议问题