Good depressed, I now use is VS2010, the day before the start of the project when the next time there is "can not start asp.net Development Server" This problem, online search a lot of ways, tried, but all for the solution, and then reload VS2010, the result is not good, Then according to the investigation of a large pile of results, slowly pondering, finally OK.
That's how I solved it:
Control Panel → system and security →windows firewall → allows a program or function to Windows Firewall to have a Web Admin service that allows him to pass through the firewall (or you directly shut down the Windows Firewall, the general normal use of the computer, it will be OK).
Then run the →services.msc (service) →asp.net State Service, start it up and set it to start automatically.
OK, reboot the computer, it's done.
There is also a way to:
First step:
Open vs, tools → external tools → add
Title: Web Server port:8080
Command: C:/Program Files/common files/microsoft Shared/devserver/10.0/webdev.webserver20.exe
Parameters:/port:8080/path:$ (ProjectDir)
Step Two:
In the Tools menu, the Web Server port:8080 will appear, click it and activate it
Step Three:
Website → startup options. Server selected as: Using Custom Server (M), base URL (B): http://localhost:8080
OK, it's done. Now browse and try.
As for VS2008 and above do not go about, just the command path inconsistent, for: C:/Program Files/common files/microsoft Shared/devserver/9.0/webdev.webserver.exe
The VS2005 command path is: C:/windows/microsoft.net/framework/v2.0.50727/webdev.webserver.exe
Note that in the VS2005 External tool window, there is a check box that uses the Output window (O) and is selected.
In fact, before this problem occurs, you first in the site → startup options, properties also window to see if the server is not selected is the use of the default Web server (U),
If not, select First, then the browser to see if not, if not, try the above method to solve.
My friend has also seen this problem, is the bottom of this reason.