error while trying to run project: unable to start program


  • getting an error in VS2012 when I try to start my WPF appl in debug mode: error while trying to run project: unable to start program.  The remote endpoint was not reachable.

    Only get this error when using Debug, start debugging.  The app runs fine when I run Debug, start without debugging.

    ( this solution has multiple projects in it. I have been moving all the projects to a new folder structure. Was getting some errors saying to use Config Manager to get the "platform" to match for all the projects. Currently they all match. All are set to "any CPU". )


    Wednesday, October 24, 2012 11:52 PM


All replies

  • Hi Steve,

    Thank you for posting in the MSDN forum.

    Error while trying to run project: unable to start program. The remote endpoint was not reachable.

    1. Try to change the "Platform Target" to "x86", check the result.
    2. It will generate this issue when there is some sort of 3rd party networking software running on your computer.


    "The remote endpoint was not reachable" when attempting to debug locally

    Cannot start or attach debugger: the remote endpoint was not reachable

    If still no help, please share us this WPF app, we will try to debug it in our Environment. Thanks for your understanding.

    Best Regards,

    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Steve Richter Thursday, October 25, 2012 1:49 PM
    Thursday, October 25, 2012 6:35 AM
  • Similiar issue(endpoint not reachable), different solution!

    From Properties->Build->Platform target, left Any CPU option alone. 

    But checked selection for prefer 32-bit

    This solved my problem.  NOTE: We are currently not using any 3rd party libraries, internal only


    Tuesday, January 22, 2013 1:24 PM