none
Error : "Could not start the DSS node" RRS feed

  • Question

  • Hello everyone,

    I am new to the MSRS and have been encountering a problem.

    Whenever I try , like the VPL robotics tutorials, as soon as I click "Run", I get an error saying " Could not start the DSS node. Please check if there is another DSS node already running on the system."


    I am running Microsoft Robotics Developer Studio 2008 Express Edition.
    My port settings are HTTP:50000 and TCP:50001.

    What should I do?


    Thanks
    Thursday, January 1, 2009 9:03 AM

Answers

  • There is a utility called httpreserve. Just open a DSS command prompt and type:
    httpreserve /?

    This will list the help. There is also a page in the Help file.

    Trevor
    Saturday, April 25, 2009 1:17 AM

All replies

  • On some systems port 50000 is already in use. To find out, you can open a DSS Command Prompt and enter the command:
    netstat -an -p tcp 

    Look in the list and see if 50000 is used.

    Alternatively, just try using 40000 and 40001. These often work too. It is just a matter of finding a couple of port numbers that are not in use. They should be high numbers because numbers below 32767 are used for "well known" ports for common services like e-mail, web servers, etc.

    Trevor



    Tuesday, January 6, 2009 8:21 PM
  • Hi,

    Somehow I did something that broke my environment and is preventing me from starting dsshost as well.  I was running some experiments using my MRDS program, the program crashed, and when I went to restart it, I got nothing. it just hangs before anything even tries to start.  I don't even get any error message.  I have tried to start the DSS environment on various ports without any manifests or anything as well, and the same thing happens.  I have tried restarting, re-installing MRDS, logging in as a different (administrator) account, and even copying all the \bin DLLs from another (identically setup) machine, but all to no avail. it is very strange and very frustrating!   the netstat command above shows that none of the ports i am trying to start with are in use.   i've done all i can to track down what is going on, but am out of ideas.  btw, I'm using the July CTP.  I'm not quite ready to upgrade yet if i don't have to...  

    Thanks to anybody who may have any ideas...
    -Steve

    UMass Amherst
    Thursday, January 15, 2009 9:12 PM
  • Hi,
       I also faced the same problem when I upgraded from the April to July CTP. I had uninstalled the complete MRDS and re-installed it, but somehow the DssHost will just freeze and not even start up the constructor service. I checked the SecuritySettings.xml and saw that i had all the privileges. I also tried various different ports but that didn't help either. My code base is also completely tested in July CTP on other machines and I am not quite ready to upgrade.


    Thanks.

    -Shiraj


    Thursday, January 15, 2009 9:32 PM
  • A few thoughts:

    When you uninstalled did you check to be sure the entire install directory was removed? When I uninstalled MRDS I went back and deleted the directory structure it left behind before I installed the next version.

    Also, are you sure you have a default copy of the dsshost.exe.config file?

    Bryan
    Friday, January 16, 2009 6:59 PM
  • Hi,


    Uninstalling MRDS and then reinstalling it after I delete the residual directory structure, seems to work for me.  Thanks Bryan!

    -Steve



    UMass Amherst
    Tuesday, January 27, 2009 11:29 PM
  • Hi, i would just like to ask  how do we reserve the port.? What command can use? i am a newbie so sorry if it sounds rather simple

    Friday, April 24, 2009 2:19 AM
  • There is a utility called httpreserve. Just open a DSS command prompt and type:
    httpreserve /?

    This will list the help. There is also a page in the Help file.

    Trevor
    Saturday, April 25, 2009 1:17 AM
  • I currently started with this programming environment and I had the same problem where I keep getting " Could not start the DSS node. Please check if there is another DSS node already running on the system." error everytime i run and I tried the solutions in this forum as much for my understanding.
    Tuesday, August 3, 2010 10:07 AM
  • I had the same problem described in here. I'm not sure what OS you are using, but I bet if it's Windows 7 or Vista, then you need to run the simulation as administrator (e.g. right click shortcut and select "Run as administrator"). For whatever reason, there is something going on that needs that access level (even thought it returns an error for something that seems to be not related to that) and this has resolved the issue for me.
    Sunday, October 10, 2010 11:38 PM
  • Solved the DSS node issue for me!

    Thanks a lot Mills!

    Monday, July 25, 2011 11:57 AM
  • It is not necessary to Run as Administrator if you  just use httpreserve to reserve the ports that you want to use. You need to run httpreserve as an Administrator, but after that you can just use your normal user account to run DssHost (or DssHost32).

    In a DSS Command Prompt window, enter the command:

    httpreserve /?

    This will display the help for httpreserve.

    Trevor

     

    Thursday, July 28, 2011 4:08 AM
  • How to solve this problem? Could you help me?
    Thursday, August 29, 2013 7:55 AM
  • My solution is that:

    firstly, you must "run as a administrator".

    secondly, you must set "Port settings" on which change the port which has been not used.

    I has succeeded.

    My vesion is VPL4.


    • Edited by Will_wit Thursday, August 29, 2013 8:13 AM
    • Proposed as answer by yassertaw14 Monday, February 16, 2015 10:56 PM
    Thursday, August 29, 2013 8:05 AM
  • Right click on Visual Programming Language and Run as administrator problem will be resolved 
    Thursday, February 15, 2018 4:59 AM