CLSID 0006F03A-0000-0000-C000-000000000046 Or IClassFactory failed due to the following error: 8001010a - application crash - Troubleshoot

Issue Explanation:

Creating an instance of the COM component with CLSID {0006F03A-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8001010a The message filter indicated that the application is busy . (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))

image

This may result when you are automating on a specific application.

Troubleshooting steps

{Approach 1}

As the error message highlights the application which one is trying to automate on is currently busy in processing other requests at the given time
It was unresponsive thus you ran into the issue. (Such information will be captured in eventviewer logs of Robot. )

Code changes to handle such scenarios:
Identify the application which faulted with the exception with proper logging of messages.

Handle this error in a Try-Catch activity - in such a way that if the error occurs again, one would catch the exception and execute a specific code (like killing the application process and start it again).

{Approach 2}

There is a possibility of the network fluctuations which lead to such issues: you may find below error in event viewer logs.


In case if you find any similar error logged in the event viewer, the Robot environment has connectivity issue due to internet fluctuations.

Solution for internet issue:
Reach out to your IT team to address the web-socket reconnecting issue. They should be able to provide a root cause of internet fluctuations.

Few common scenarios: In most common scenarios we see this problem usually happens when the Office application when the application is not in a state to accept any commands during automation.

  • Kill the application from Task manager
  • reboot the Robot server once
  • Implement the try catch module code in your automation to handle any future scenarios like Killing the application & relaunch the application.

Additionally, you can also look for information in posts of the forum with an error related to mentioned CLSID.
https://forum.uipath.com/search?q=CLSID%200006F03A-0000-0000-C000-000000000046%20