Error Could not perform recognition due to an internal OmniPage error: Recognition process soft TimeOut. Paprika.
To correct this, we can increase the timeout from '180000' (3 minutes) to, for example, ''360000L' (6 minutes).
Important note : the 'L' is required as this is for a long data type. Otherwise we can see Extraction fail with 'Failed to load script code, because: Expecting a valid data type (eg. Integer).'
Please find instructions below on how to add the necessary script to the ProjectClass level in the Extraction Group in Kofax Transformation Designer.
1. Right click on the Project Class and select "Show Script" option.
2. Cut and paste the code below at the top of the Project script
Private Sub Application_InitializeScript()
Private Sub SetSoftTimeOut()
Dim profile As MpsPageRecogProfileOmniPage
Set profile = Project.RecogProfiles.ItemByName("OmniPage")
profile.Timeout = 360000L
The result would look like below:
3. After adding this script, we also need to make a change in the Project - Script Code editor.
Still on the script window, click Edit > References .
4. Make sure the 'Kofax Memphis OmniPage 4.0 (4.0)' option is checked. Then click the 'Ok' button:
Once we do this, we have referenced the DLL which we are using.
Level of Complexity
Add any references to other internal or external articles
Article # 3046307