I was developing just fine in VS 2008 and testing my ASP.NET web site on my development server when suddenly I was unable to run my web site anymore. As soon as I hit F5, th
I had the same issue. The problem was that I also had IIS configured to use those ports. Stopping IIS or changing the ports used in the solution was may solution.
For a webforms site:
I found a solution that doesn't require rebooting (for Windows 7).
Next to the clock, there's a tray of icons that is accessible if you click on the triangle icon that is next to the flag. Look for an icon with tooltip "ASP.net development server - port ###". Right click and select "stop"!
I had same problem, "unable to launch asp.net development server" The reason is virus program... I had disable it the it works properly...
I hope this helps...
You can check what software is running on given port by running netstat -o
from the command prompt. It will give the Process ID (PID) of the process. I've had this happen after installing Skype, that was bound to port 80 before IIS could.
You can also check the eventlog for messages why IIS won't start. It might give enough information to solve the problem or to google it.
Set Cassini (Visual studio's lightweight built in web server) to use a different port. You can do this in the project's configuration dialogs