Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect to ASP.Net Development Server issue

I am debugging codeplex simple project. I am using

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

I have not modified any code of this codeplex project, and just press F5 to run VideoPlayerWeb project.

The current issue I met with is error message --

Unable to connect to ASP.Net Development Server.

Here is my screen snapshots when clicking F5. Any ideas what is wrong?

screenshot 1

screenshot 2

like image 413
George2 Avatar asked Jun 13 '09 05:06

George2


2 Answers

I had this problem with VS 2010, and it was as simple as terminating the "WebDev.WebServer40.EXE" process. Although the icon was no longer showing in the system tray, the process was still running.

like image 165
Beau Avatar answered Sep 19 '22 17:09

Beau


Could be a number of things...try these (check the last one first)...

  • Disable IPv6
  • Make sure there isnt an edit in the hosts file for localhost
  • Check firewall/virus settings to allow connections to/from devenv.exe
  • If you can preview in the browser make sure the URL in the browser uses the same port number as the port number shown in the ASP.NET dev server taskbar icon.
  • Try setting a fixed, predefined port in project properties

I got these from a couple of forums elsewhere, hopefully they can help. Good luck. Let us know what works and some more about your environment (firewall, anti virus etc) can help as well.

like image 41
Marc Avatar answered Sep 21 '22 17:09

Marc