Unable to start asp.net Development Server This problem can be solved __.net

Source: Internet
Author: User

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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.