System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0003003-0000-48FF-9197-57B7554849BA} failed due to the following error: 80040154 Class not registered Exception from HRESULT: 0x80040154

–We have ABBYY Flexicapture Standalone studio and Ui Path Studio in one system
–We have one attended Bot and ABBYY SDK Engine in another (VM) system
–We have created ABBYY .fcdot file in a system where the ABBYY FC Studio existed
–Used the Intelligent OCR activity - ‘Process Document’ & ‘Export Document’ to extract the Values
–Getting the comException. Question is
How to work with UIpath by connecting to SDK Engine which is located in another machine. Is there any connector is available for the standalone or any way to run in one machine without SDK engine.

Below is the error:

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0003003-0000-48FF-9197-57B7554849BA} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at UiPath.IntelligentOCR.Activities.FC.Scope.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.IntelligentOCR.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)

at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Please provide us the solution by guidelines…ASAP

Hi @Venugopal24

Could you try the below:

Error:
Message: Retrieving the COM class factory for component with CLSID {C0003003-0000-48FF-9197-57B7554849BA}

Cause:
Abby FlexiCapture engine components (FCEngine.dll) were incorrectly registered during installation.

Solution:
Unregister and reregister the FlexiCapture Engine components either through a silent reinstall or by following the steps below:

  1. Run cmd
  2. Unregister using the following command:
    *regsvr32 /u /i: "C:\ProgramData\ABBYY\SDK\12\FlexiCapture Engine\Inc" "C:\Program Files (x86)\ABBYY SDK\12\FlexiCapture Engine\Bin\FCEngine.dll"*
  3. Reregister using the following command:
    *regsvr32 /n /i:"C:\ProgramData\ABBYY\SDK\12\FlexiCapture Engine\Inc" "C:\Program Files (x86)\ABBYY SDK\12\FlexiCapture Engine\Bin\FCEngine.dll"*

If this fails to solve the issue there are further scenarios which need to be investigated. The following Abby KB Article may assist in troubleshooting: