Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

COM  COM Class Factory Errors may appear in Batch Manager when in Batch Manager when running workflows using text-recognition.  Typical symptoms of this are blank text layers or KeyFree OCR not recognizing any text on a text searchable document in GS LAN. COM Errors (Component Object Model) can be responsible for this. If these errors reside on the server, we're typically dealing with a DCOM issue, whereas client issues tend to be simple COM issues. 

...

Set DCOM/COM Permissions Manually

  1. Open CMD prompt as an administrator

  2. Run: cd C:\WINDOWS\System32

  3. Run: regsvr32 /n /i:"C:\getsmart\inc" "C:\getsmart\ocr\frengine.dll"

  4. Run: mmc comexp.msc /64

  5. Open "Computers" – "My Computer" – "DCOM Config" – "ABBYY Finereader Engine Loader"

    1. Note that by default they are presented in alphabetical order

  6. Right click on "ABBYY Finereader Engine Loader" and select properties

  7. Select the Security tab in the properties window

  8. Select customize for all 3 options and add the SSAdministrator user to the security with full permissions

Warning

The default location for the GetSmart folder in step 3 is the C: drive. If the GetSmart folder is located on a different drive, please update the command accordingly


To Set COM on a client:

  1. Open CMD prompt as an administrator

  2. Run: cd C:\WINDOWS\System32

  3. Run: regsvr32 /n /i:"C:

...

  1. \Users\<username>\AppData\Local\Apps\Square9_Apps\DataExtraction\inc" "C:\

...

  1. Users\<username>\AppData\Local\Apps\Square9_Apps\DataExtraction\OCR_x64\frengine.dll”

    1. Note that you will need to replace <username> with the user that has Data Extraction installed 

  2. Run: mmc comexp.msc /64

  3. Open "Computers" – "My Computer" – "DCOM Config" – "ABBYY Finereader Engine Loader"

    1. Note that by default they are presented in alphabetical order

  4. Right click on "ABBYY Finereader Engine Loader" and select properties

  5. Select the Security tab in the properties window

  6. Select customize for all 3 options and add the

...

  1. Everyone group to the security with full permissions

Warning

The default location for the GetSmart folder in step 3 is the C: drive. If the GetSmart folder is located on a different drive, please update the command accordinglythe inc and frengine.dll paths will vary depending on the version of GlobalSearch you have installed. Please contact support if you find that these steps do not work for your installation


Make sure to test the workflow once the workflow once you are done. If one way doesn’t work, trying setting the permissions using the other method.

title
Info

Please Be Advised

x86 Servers and Clients are not supported.


title
Info

External Link to Microsoft Developer Network Website

For more on COM and DCOM see the MSDN article HERE.