How to fix the "Unable to launch the visual studio development server because port 9452 is in use" error

How to fix the “Unable to launch the visual studio development server because port 9452 is in use” error

The Problem

You are coding away, Visual Studio locks up for one of it’s many reasons, and reopen your project and run it again. You then get the “Unable to launch the visual studio development server because port 9452 is in use” error

The Cause

When Visual Studio crashed, the Web Server did not, so basically it thinks you are trying to run two instances at the same time, which is not allowed.

The Solution

Open up the process manager, go to the Processes tab, and select “WebDev.WebServer40.exe” and click “End Process”. Then try running your project again. Visual Studio will now start the project fresh and the problem should go away.

 

Written By Steve French

 

5 responses to “How to fix the “Unable to launch the visual studio development server because port 9452 is in use” error”

  1. There is more to it.

    Symptoms:
    – When I start a visual studio web services project at a certain port, e.g. 10080.
    – After a while Visual Studio compains “Unable to launch the Visual Studio Development Servr because port ‘10080’ is in use”
    – The webdev server might have crashed, so I close it and I even restart my computer.
    – The error persists. Even though netstat doen’t show an entry for port 10080
    – If I manually start WebDev.WebServer40.exe everything works fine.

    I moved to port 10081, then to 10082, and today to 10083. I’m running out of ports.

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.