cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create ActiveX component.

guna_vardhanmee
Level 3
Hi all,

Here is the error message:
ERROR: Internal : Could not execute code stage because exception thrown by code stage: Cannot create ActiveX component.
While I try to Create Instance for Excel 
Please help me with this thanks in advance

------------------------------
guna vardhan meesala
rpa developer
------------------------------
14 REPLIES 14

jegendra
Staff
Staff

Generally, this issue is associated with Microsoft Office product when utilising a Visual Basic call to invoke it. Therefore, I would suggest you seeking information from the Microsoft websites of forums.

Also, please find the following knowledge base articles for further information.



------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism
------------------------------
Jega Avinasinathan Customer Support Engineer Blue Prism

PeterTarrant
Level 3
Do you experience the error on your runtime resources only (in resourcepc mode)? Or do you experience it in debug mode as well?

------------------------------
Peter Tarrant
Blue Prism Operations Specialist
Agilify
------------------------------

Vamshi_KrishnaD
Level 5
Hi

Is this issue resolved or still pending, if it resolved, can I know the solutions​

------------------------------
Vamshi Krishna Dasa
Developer
Fujitsu
Asia/Kolkata
------------------------------
VamshiKrihsna Dasa System Architect Fujitsu India Consulting Pvt. Ltd.

Hi Peter, 
We have this issue on Runtime Resource Only, but when we run in studio, don't have this issue. Do you have a fix for this? 

THanks, 
Karli

------------------------------
Karli Quintana
Automation Associate
EQUINIX INC
America/Los_Angeles
------------------------------

When you run the Blue Prism application in resourcepc mode, are you running with highest privileges? You generally want to be running Blue Prism as an administrator.

If you are utilizing RDP, competing terminal sessions can also interfere with a lot of application functions. Using the console command qwinsta can tell you what sessions are running on your device (really only applicable if you are using Windows Server)

A brute force method can always be to re-install office or even re-imaging the runtime resource.

------------------------------
Peter Tarrant
Blue Prism Operations Specialist
Agilify
America/Detroit
------------------------------

Hi Peter, 

What is your recommendation for making the Resource PC run with highest privileges? Through the task Scheduler Options? 


------------------------------
Karli Quintana
Automation Associate
EQUINIX INC
America/Los_Angeles
------------------------------

Hi Peter, 

Thanks for pointing us the right direction. We made it work in our 5.4 environment by running highest privileges. But the same method don't work in 6.4 environment though. Any further advice?

Thanks
Feng

------------------------------
Feng Wang
Sr Manager
Equinix
------------------------------

For runtime resources, yes, I would suggest creating a task to start Blue Prism in resourcepc mode upon logon of the domain account that your automation uses and set it to run with highest privileges. I prefer this so that if I RDP in to do maintenance on an admin account, I don't start Blue Prism. For interactive clients, I would suggest adjusting the setting on your desktop shortcut to always run as administrator.

------------------------------
Peter Tarrant
Blue Prism Operations Specialist
Agilify
America/Detroit
------------------------------

I presume the problem is the same, working fine in studio through the interactive client but not on runtime resources on resourcepc mode.

If your 6.4 is a production environment, there may be additional security that is not allowing you to launch an application in this manner. And it could be the device needs to be re-imaged. We have encountered cases where devices were not regularly rebooted and started having a myriad of issues (including this one) and a re-image solved all of the issues.....

------------------------------
Peter Tarrant
Blue Prism Operations Specialist
Agilify
America/Detroit
------------------------------