IBM Support

RecognizeFieldEx error with RecognizePageOCR_S in IBM Datacap Taskmaster Capture

Troubleshooting


Problem

When Rulerunner executes the RecognizePageOCR_S action, it returns the following error in the Profiler_rrs.log: 16:26:14.353 (0) t:1290 p:A29438 Executing 'RecognizeFieldEx' from 'DCOCRS.Net.OCRSEngine'. Parameter : PickTicket 16:26:14.509 (156) t:1290 p:A29438 DCOProcessor failed to call 'RecognizeFieldEx' on the first attempt. Message: Error (-2147352567 =hex:80020009). In : Failed to call "RecognizeFieldEx" for "DCOCRS.Net. OCRSEngine" [api source:] 16:26:14.509 (0) t:1290 p:A29438 Recognition return status: 13(General Error encountered when invoking recognition (action side))

Symptom

The following are also observed with this issue:

  • Action runs without error when run with a thick client.
  • Action only fails when batch patch contains a UNC name (\\servername\datacap...) as opposed to a local batch path (c:\...)
  • The tif file is only 1KB in size after the error occurs.
  • Changing the .tif extension to .txt, and opening up the file in notepad shows that the file had some XML text in it.

Cause

The RecognizePageOCR_S from the old action library OCR_S is being used.

Resolving The Problem

Use the RecognizePageOCR_S from the new action library OCR_SR instead.

[{"Product":{"code":"SSZRWV","label":"IBM Datacap"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1.0;8.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21631856