Unable to connect the configured development Web server Visual Studio 2013
Solution 1
This happened to me.
For me, the reason was a bad IIS config file.
I was able to fix it by deleting the auto-generated IISExpress folder, which is usually located at %userprofile%/Documents
, e.g. C:\Users\[you]\Documents\IISExpress
.
When I ran the project again, it created a new folder with a valid IIS config file and I could run the debugger.
Solution 2
This happened to me in a Web Site Project. The solution was to close the solution, delete the project's .vs folder and rebuild.
Solution 3
I had to move the solution folder to a new location. ie: from C:\Documents and Settings\David\Desktop\MySolution to C:\SourceCode\MySolution
I tried many of the other suggestions to no avail, but this worked a treat.
Solution 4
you can change the default development server port no in Project(right click)-> Properties-> web->use visual studio web server-> use specific port-> and enter 1000 or any port no.
It will work !! Happy Coding
Bengi Besçeli
Hi, I'm Bengi. I'm 42 years old and I'm a Web Developer since 1998.
Updated on July 12, 2022Comments
-
Bengi Besçeli almost 2 years
I use
Visual Studio 2013
and when I run a project, I get this error :
Unable to connect the configured development Web server.
Here is a solution for Visual Studio 2008 and I'm searching through these steps :
What I have to select in
http://www.dotnetspider.com/forum/250134-Unable-connect-ASP-NET-development-Server.aspx
Here ;Tools->External Tools
is used.Command
inExternal Tools
for Visual Studio 2013 ?Thanks in advance.
-
Brabbeldas over 8 yearsThanks for the answer, a new IISExpress folder is indeed created, it just did not solve my problem.
-
prashantchalise over 7 yearsyour answer is exactly what I needed. I had a copied project and this was showing error while running. Wonder why would anyone down-vote this comment.