Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 560329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:19:54+00:00 2026-05-13T12:19:54+00:00

I’m from PHP background. I used to use Apache, MySQL and PHP for web

  • 0

I’m from PHP background. I used to use Apache, MySQL and PHP for web development.
I’m just starting asp.net mvc.

  1. I’ve Visual Studio 2008 Pro SP1 & .NET 3.5 SP1 already installed on my computer.
  2. So, I installed ASP.NET MVC 1.0
  3. Created a “ASP.NET MVC Web Application” project
  4. when I hit F5 it gives error Unable to connect to the ASP.NET Development Server

No wonder. In this process I didn’t setup the webserver.

Can I use apache here? I guess IIS is the default. Where is it? How do I configure it? What is the WebRoot directory for IIS server? Where can I find it?

On searching for “Unable to connect to the ASP.NET Development Server” I found this solution:

Step 1: Select the “Tools->External
Tools” menu option in VS or Visual Web
Developer. This will allow you to
configure and add new menu items to
your Tools menu.

Step 2: Click the “Add” button to add
a new external tool menu item. Name
it “WebServer on Port 8010” (or
anything else you want).

Step 3: For the “Command” textbox
setting enter this value:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE
(note: this points to the web-server
that VS usually automatically runs).

Step 4: For the “Arguments” textbox
setting enter this value: /port:8010
/path:$(ProjectDir) (or any port you
like)

Step 5: Select the “Use Output Window”
checkbox (this will prevent the
command-shell window from popping up.

Once you hit apply and ok you will
now have a new menu item in your
“Tools” menu called “WebServer on Port
8010”. You can now select any web
project in your solution and then
choose this menu option to launch a
web-server that has a root site on
port 8010 (or whatever other port you
want) for the project. You can then
connect to this site in a browser by
simply saying http://localhost:8010/.
All root based references will work
fine.

Step 6: The last step is to configure
your web project to automatically
reference this web-server when you run
or debug a site instead of launching
the built-in web-server itself. To-do
this, select your web-project in the
solution explorer, right click and
select “property pages”. Select the
“start options” setting on the left,
and under server change the radio
button value from the default (which
is use built-in webserver) to instead
be “Use custom server”. Then set the
Base URL value to be:
http://localhost:8010/

But there is no C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE such file on my system. Did I forget to install something? Please help me in running my “Hello World” application.

EDIT:

I’m using Windows XP SP2 and logged in as a user with Administrative previlages.

from this Unable to connect to ASP.Net Development Server issue

  • Disable IPv6

Done!!

  • Make sure there isnt an edit in the hosts file for localhost

There is no single entry in my hosts file (%SystemRoot%\system32\drivers\etc\hosts) with ‘localhost’ in it.

  • Check firewall/virus settings to allow connections to/from devenv.exe

I tried by disabling the firewall/antivirus

  • 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.

No, Actually there is no such dev server taskbar icon.

  • Try setting a fixed, predefined port in project properties

Tried it. But no positive result.

Solution:

After trying everything. I came to conclusion that WebDev.WebServer.exe may be corrupt. So, I’ve replaced C:\Program Files\Common Files\microsoft shared\DevServer\9.0\WebDev.WebServer.EXE with a fresh copy : http://www.4shared.com/file/116555696/ff3b0dc8/WebDevWebServer.html

It worked!! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:19:54+00:00Added an answer on May 13, 2026 at 12:19 pm

    ASP.NET Development Server is a mini web server that comes with Visual Studio. The idea is that you wouldn’t need to set up IIS for development.

    Checkout this question for possible solutions. Mostly I would make sure that localhost is not redirected in your hosts file and also that you are not doing anything funky with a local firewall app that might be blocking certain ports on localhost.

    You cannot, as far as I am aware, use Apache. You could configure it to use IIS in your project Properties->Start Options screen by pointing it to a valid IIS directory you have set up.

    Edit:
    Also try this:

    1. Open a command window (cmd.exe)
    2. Run C:\Program Files\Common Files\microsoft shared\DevServer\9.0\WebDev.WebServer.Exe /port:8080 /path:c:\mywebpath\ (swap out c:\mywebpath for the path to your app)

    You should notice the WebDev server start up in your task bar. You should then be able to browse to http://localhost:8080/default.aspx (or whatever your page is).

    If that doesn’t work try the same thing but using http://127.0.0.1:8080/default.aspx. If this works but localhost does not then something is redirecting your localhost traffic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 354k
  • Answers 354k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer function compilePage($page, $path) { $contents = getMenuFor($page); ob_start(); include $path;… May 14, 2026 at 8:29 am
  • Editorial Team
    Editorial Team added an answer Your database url should look like this: jdbc:mysql://host:port/database Example, if… May 14, 2026 at 8:29 am
  • Editorial Team
    Editorial Team added an answer Alright, I'll answer my own question here :) In order… May 14, 2026 at 8:29 am

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I've got a string that has curly quotes in it. I'd like to replace
In order to apply a triggered animation to all ToolTip s in my app,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.