Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

M-Files OCR gives "The type of the requested value from registry is invalid" error

Last updated on 25 November 2025

Admin
M-Files OCR

Overview

The user may observe the following error message: "The type of the requested value from registry is invalid" when converting a new file to a 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 type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

SearchablePDFConverter.cpp, 520, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

CoVaultMountingScanningAndOCR.cpp, 661, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

DocumentCache.cpp, 15841, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

IRPCScanningAndOCR.generated.cpp, 80, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

gRPCClient.cpp, 497, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

gRPCClient.cpp, 466, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

gRPCClient.cpp, 99, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

gRPC.generated.cpp, 23039, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

RPCScanningAndOCR.cpp, 313, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

RPCScanningAndOCRHelper.cpp, 433, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

RPCScanningAndOCRHelper.cpp, 704, The type of the requested value from registry is invalid. (C:\Windows\TEMP\OCR1F5F.tmp.i4zmKl6x.pdf) (0x800434BC)

CoOCR.cpp, 4716, The type of the requested value from registry is invalid. (0x800434BC)

CoOCR.cpp, 4249, The type of the requested value from registry is invalid. (0x800434BC)

CoOCR.cpp, 1583, The type of the requested value from registry is invalid. (0x800434BC)

RegistryHelper.cpp, 1706, The type of the requested value from registry is invalid. (0x800434BC)

RegistryHelper.cpp, 384, The type of the requested value from registry is invalid. (0x800434BC)

(M-Files <version> <timestamp>)

Solution

The error indicates that some registry settings used with OCR have an invalid registry type.

Verify that registry values in this document set in the server computer have the correct value types.

Still need help?

On this page