Overview
The user may observe the following "The text recognition engine was not able to perform the requested task" error when converting a new file to searchable PDF via Scanning and text recognition (OCR) functionality.
The error may occur when adding a new document to the document vault or converting existing documents to PDF with OCR.
ProgressThread.cpp, 1231, Conversion to searchable PDF failed (document file: <file name>). (0x80040852)
ProgressThread.cpp, 1231, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
SearchablePDFConverter.cpp, 520, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
CoVaultMountingScanningAndOCR.cpp, 661, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
DocumentCache.cpp, 15841, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
IRPCScanningAndOCR.generated.cpp, 80, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
gRPCClient.cpp, 497, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
gRPCClient.cpp, 466, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
gRPCClient.cpp, 99, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
gRPC.generated.cpp, 23039, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
RPCScanningAndOCR.cpp, 313, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
RPCScanningAndOCRHelper.cpp, 433, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
RPCScanningAndOCRHelper.cpp, 704, The text recognition engine was not able to perform the requested task. (C:\WINDOWS\TEMP\OCRCED8.tmp.hO2cT8rb.pdf) (0x8004084D)
CoOCR.cpp, 4716, The text recognition engine was not able to perform the requested task. (0x8004084D)
CoOCR.cpp, 4249, The text recognition engine was not able to perform the requested task. (0x8004084D)
CoOCR.cpp, 1640, The text recognition engine was not able to perform the requested task. (0x8004084D)
CoOCR.cpp, 1640, iDRS:1101 (CPdfOutputParameters.cpp@75) (0x80040120)
(M-Files <version> <timestamp>)
Solution
This kind of error may appear if OutputPdfVersion registry setting has value 1 (PDF/A-1b), if iHQC is enabled and "IHQCCompressionLevel = 0" registry setting is not set.
These registry settings are described in this document (section 7.2).
As a solution, verify that the registry setting "IHQCCompressionLevel = 0" is also set if the "OutputPdfVersion = 1" setting is used:
