RobotStudio event

RobHelperFactory.Init failed Error

Hi all!

I am using the RobotStudio School Edition 5.13.02 provided by my college. I am connecting to the license server via a VPN connection.

After I installed RobotStudio about a week ago, it worked really fine. But since Friday, I started getting the following error:

RobHelperFactory.Init failed failed, hr=c0040402
Error connecting to controller
Additional information: Init. Failed to initialize
communication: RobHelperFactoryImpl.cpp[590];

I found out from this very forum and some other pages on the internet that this error mostly means that the virtual controller is not able to connect to the network. Also, I found out that the software needs ports 5512, 5513, 5514 and 5515 to work. I did 'netstat -na' in cmd, and I found that only ports 5512 and 5513 actually connect over UDP. Ports 5514 and 5515 (The virtual controller ports) do not connect. I then tried the following:
1) Turn OFF windows firewall and run RobotStudio
2) Turn OFF Avast! AntiVirus and run RobotStudio
3) Turn OFF both the above said software and run RobotStudio
4) Configure Windows firewall to allow the following executables:
- RobComCtrlServer.exe
- RobNetScanHost.exe
- RobotStudio.exe
- RobVC.exe
5) Uninstalled and reinstalled RobotStudio once again.

However, NONE of the above techniques seem to get rid of the above said error. Everytime I stat RobotStudio, I get that error. What is surprising is that this started suddenly! It was working fine till Friday morning!

Please help me out here. I need RobotStudio for my work, and so this is kind of urgent for me. 
Any help is highly appreciated. Thansk so much for your time!




Nishant Kelkar
Graduate Student
CMU

Comments


  • Hi all!

    I would like to add that the problem I posted above has been solved(or atleast temporarily). What I did was uninstalled RobotStudio, deleted the .zip file from which I unzipped the RobotStudio setup, and downloaded the zip file again from my college website. I tried all the solutions suggested by various people regarding this very same error that I was facing.

     Here is another one that comes from my own experience:

    Uninstall, delete every file existing of RobotStudio, and download everything and install again. 

    Thanks! 


    Nishant2012-06-25 08:37:12
    Nishant Kelkar
    Graduate Student
    CMU
  • Hello once again!

    There is more to it than meets the eye. Shocked

    I am at  work right now, and on my office LAN, I get the SAME error that I was getting over the weekend at my home. Here is the full story:

    1) About a week ago, I installed RobotStudio on my PC at work. I ran everything at work, and it was all fine. When I came home on Friday and tried to run RobotStudio, it started giving me the above said error. 

    2) So on Sunday (yesterday), I removed all RobotStudio files and freshly installed it at home. And then it started working fine at home. Now today, as I sit in my office, RobotStudio is giving me the very same error it gave me over the weekend!

    Question: Does RobotStudio associate itself in ANY way to the LAN network which was used during installation? Once associated, is it dedicated to that network only? If so, that basically means I will be able to use RobotStudio at EITHER my work OR home network. 

    Any help highly appreciated!
    Nishant Kelkar
    Graduate Student
    CMU
  • Any answers? Anyone...?
    Nishant Kelkar
    Graduate Student
    CMU
  • Hi,
     

    To work away from the license server (ie where you are on the LAN with the license server)you should check out a license.

    It sounds like the VPN may causing some issue with the license.

     

    Hope this helps

    Graeme
    graemepaulin2012-06-27 01:44:43
  • What does "checking out" a commuter license mean? Similarly, what does
    "checking in" a license mean?

    I never checked in/out the commuter licenses as the instructions on my college website never told me to do so. I will definitely try it though! Smile
    Nishant Kelkar
    Graduate Student
    CMU
  • Hi
     

    I am not very familiar with the school edition but try:

    Clicking the RobotStudio application button (the round button in the upper left corner) and pressing ?__RobotStudio options?__. Then select ?__Licensing?__ in the left pane. Can you check it out from there?

     

     Regards

    Graeme
    graemepaulin2012-06-27 02:24:24
  • Hey, 

    Yes, I know where the option to check in/out a license is. I just don't know what it means to check in/out licenses, and so I never touched those buttons. What does checking in/out a license mean?

    Thanks,
    Nishant Kelkar
    Graduate Student
    CMU
  • Hi
     

    It means the license it transfered temporarily to your laptop (max 30 days).

     

    Regards

    Graeme
    graemepaulin2012-06-27 02:40:18
  • Hey Graeme, 

    I tried checking out licenses, and it is still not working. I get the same error, and now it is frustrating! Well, I tried checking out the "RobotStudio Full" license, and then uninstalled the VPN connection provider! And STILL it did not work. It doesn't look like the VPN is faulty. I tried my everyday routine again (Turn off windows firewall, turn off Avast! antivirus/firewall, turn both off) but it didn't work. I tried doing "ipconfig /release" and "ipconfig /renew" but it did not help either. I am totally stuck right now. :(

    Let me know if you can think of anything else. Thanks! 

    Nishant Kelkar
    Graduate Student
    CMU
  • Also, one detail I forgot to mention (It may be irrelevant) is that I am trying to work on backup files. And the backup system was created using an older version of RobotWare. Can this be an issue? 

    Thanks!
    Nishant Kelkar
    Graduate Student
    CMU
  • Hi,
     

    You are not getting a license error so all good on that side of things.

     

    Have you tried creating a system from the backup (in system builder), then once this system is running restoring the backup (from the offline tab)?

     

    Regards

    Graeme

     
  • Hi,

    Yes, that is how I created this system in the first place. It still doesn't work. Even if I try
    creating an empty station with just a Robot, it doesn't work. What other things can I do/try out?

    If I ever get the solution to this problem, I am thinking of writing a booklet of instructions one should follow to make SURE that this doesn't happen with other people! 

    Thanks!
    Nishant Kelkar
    Graduate Student
    CMU
  • Hi,
     

    From what you said earlier if you uninstalled RobotStudio then reinstalled it it worked OK untill you changed locations.

    So did you uninstall and re-install at work (then check it works OK) before checking out the license?

     

    Regards

    Graeme

     

     
  • Right, this is what happened the last time I uninstalled/reinstalled:
    1) Installed RobotStudio at Home. It worked fine.
    2) Went to Office, and tried it out. It did not work.
    3) Came back home, and tried RobotStudio. It did not work on the first try, but then suddenly it started working (after doing "ipconfig /release" and "ipconfig /renew" I guess).
    4) Then I didn't start RobotStudio for like 2 days.
    5) Today I tried running RobotStudio, and it did not work. I tried tweaking almost every knob that I know of (VPN, firewalls, license keys, warmstart, ipconfig release/renew, etc). 

    Let me know what you think. Thanks!

    Nishant Kelkar
    Graduate Student
    CMU
  • Hi,
     

    The only thing I can suggest is to completly uninstall RobotStudio and re install it at work.

    You should then be back where you were - with it working at work.

    Then check out a license and disconnect from the network - you should still be working OK.

     

    Regards

    Graeme
  • Hey,

    I read this topic, and as I can see, you are talking about system. So it might be the right place for my question. Can someone tell me, where I can find the path (on PC) for the actual robot system? I have a PC connected to the rob controller and I`d like to add some additional features to the existing system. But I can`t find where is the folder for it. I read the HELP but can`t get any useful info.

    Thanks
    Regards Szily
  • Whaa..I founded, BUT, than why can`t add additional options (615-1 FlexPendant Interface) there is NOT on the list.Why? Is it possible that we have to "pay"/buy for additional options?
    Regards Szily
  • Hello Nishant,
     

    I suspect that something deeper is going on that just the license server access.  This should not affect the startup of the virtual controller on your PC whatsoever.  The error you are getting are indicative of a COM issue and possibly a service-start issue on your laptop.

     

    More things to try: 

      -- make sure that you are running as administrator and that your IT group (if you have one) has not set up some restrictive group policies.

     

      -- as a temporary action, you can uninstall everything and try the commercial version of RobotStudio 5.14 for 30 days.

     

    Regards,

       Steve

     
  • Make one bat with this code, and run.
    This bat is used, for installation of robotstudio.
    Enjoy!

    @echo off
    echo Registering RobComCtrlServer and RobNetScanHost

    if exist "%CommonProgramFiles(x86)%" (
    "%CommonProgramFiles(x86)%\ABB Industrial IT\Robotics IT\RobAPI\RobComCtrlServer.exe" /unregserver
    "%CommonProgramFiles(x86)%\ABB Industrial IT\Robotics IT\RobAPI\RobComCtrlServer.exe" /service
    "%CommonProgramFiles(x86)%\ABB Industrial IT\Robotics IT\RobAPI\RobNetScanHost.exe" /unregserver
    "%CommonProgramFiles(x86)%\ABB Industrial IT\Robotics IT\RobAPI\RobNetScanHost.exe" /service
    ) else (
    "%CommonProgramFiles%\ABB Industrial IT\Robotics IT\RobAPI\RobComCtrlServer.exe" /unregserver
    "%CommonProgramFiles%\ABB Industrial IT\Robotics IT\RobAPI\RobComCtrlServer.exe" /service
    "%CommonProgramFiles%\ABB Industrial IT\Robotics IT\RobAPI\RobNetScanHost.exe" /unregserver
    "%CommonProgramFiles%\ABB Industrial IT\Robotics IT\RobAPI\RobNetScanHost.exe" /service
    )