# RobHelperFactory.Init failed Error

**URL:** <https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948>\
**Category:** Robot Controller\
**Created:** [June 24, 2012, 7:33pm UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948 "2012-06-24T19:33:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 24, 2012, 7:33pm UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/1 "2012-06-24T19:33:50Z")

</div>

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

1. 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!

```auto

```

```auto

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 25, 2012, 8:06am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/2 "2012-06-25T08:06:22Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 25, 2012, 3:45pm UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/3 "2012-06-25T15:45:56Z")

</div>

Hello once again!

There is more to it than meets the eye. 😁

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!

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 27, 2012, 1:34am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/4 "2012-06-27T01:34:07Z")

</div>

Any answers? Anyone…?

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 27, 2012, 1:44am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/5 "2012-06-27T01:44:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 27, 2012, 1:47am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/6 "2012-06-27T01:47:55Z")

</div>

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! 😉

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 27, 2012, 2:23am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/7 "2012-06-27T02:23:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 27, 2012, 2:27am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/8 "2012-06-27T02:27:15Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 27, 2012, 2:38am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/9 "2012-06-27T02:38:17Z")

</div>

Hi

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

Regards  
Graeme

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 29, 2012, 2:39am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/10 "2012-06-29T02:39:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 29, 2012, 2:52am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/11 "2012-06-29T02:52:29Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 29, 2012, 3:05am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/12 "2012-06-29T03:05:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 29, 2012, 3:19am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/13 "2012-06-29T03:19:39Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 29, 2012, 3:28am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/14 "2012-06-29T03:28:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nishant](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/nishant/32/4046_2.png) [@Nishant](https://tech-community.robotics.abb.com/u/Nishant)\
**Post date:** [June 29, 2012, 4:19am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/15 "2012-06-29T04:19:56Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [June 29, 2012, 6:32am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/16 "2012-06-29T06:32:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![szily85](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@szily85](https://tech-community.robotics.abb.com/u/szily85)\
**Post date:** [August 21, 2012, 8:40am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/17 "2012-08-21T08:40:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![szily85](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@szily85](https://tech-community.robotics.abb.com/u/szily85)\
**Post date:** [August 21, 2012, 9:40am UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/18 "2012-08-21T09:40:29Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Steve\_Murphy](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Steve\_Murphy](https://tech-community.robotics.abb.com/u/Steve_Murphy)\
**Post date:** [August 21, 2012, 2:50pm UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/19 "2012-08-21T14:50:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexsdm](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@alexsdm](https://tech-community.robotics.abb.com/u/alexsdm)\
**Post date:** [September 12, 2013, 6:03pm UTC](https://tech-community.robotics.abb.com/t/robhelperfactory-init-failed-error/4948/20 "2013-09-12T18:03:32Z")

</div>

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  
)
