Thank you so much Duke and Julian. The issue has been resolved. I went back to the server team, and they fixed the service account's permissions on the server. I really appreciate for your help and time.
Original Message:
Sent: Tue March 26, 2024 12:26 PM
From: Rashid Malik
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Hi Duke,
I've imported the encryption key again for the service account but unfortunately no luck.
logs:
12:01:03.329 (0) t:1954 p:134EB70 InitPage
12:01:03.329 (0) t:1954 p:134EB70 Init OnRule...
12:01:03.329 (0) t:1954 p:134EB70 Init End
12:01:03.330 (0) t:1954 p:134EB70 Retrieving locale setting from Application Service
12:01:03.330 (0) t:1954 p:134EB70 Looking for AppSvc Workflow Name key: '*/dco_Comets HD/locale'
12:01:03.330 (0) t:1954 p:134EB70 Looking for AppSvc Application Name key: '*/dco_Comets HD/locale'
12:01:03.330 (0) t:1954 p:134EB70 Looking for AppSvc General key: '*/locale'
12:01:03.330 (0) t:1954 p:134EB70 No locale setting found in the Application Service.
12:01:03.330 (0) t:1954 p:134EB70 Retrieving Fingerprint DB Connection string from Application Service
12:01:03.330 (0) t:1954 p:134EB70 Looking for AppSvc Workflow Name key: '*/dco_Comets HD/fingerprintconn:cs'
12:01:03.331 (0) t:1954 p:134EB70 AppSvc Workflow fingerprintconn found.
12:01:03.334 (0) t:1954 p:134EB70 /load
12:01:03.334 (0) t:1954 p:134EB70 func "loadINISetting"
12:01:03.334 (0) t:1954 p:134EB70 execute statement On Function Start
12:01:03.334 (0) t:1954 p:134EB70 executing code:
12:01:03.334 (0) t:1954 p:134EB70 g_Ftmr=cdbl(Timer)
12:01:03.334 (0) t:1954 p:134EB70 /execute statement On Function Start
12:01:03.334 (0) t:1954 p:134EB70 calling action LoadSettings (str="@APPPATH(imagefix)") on B:20240326.Main Job.01.000001
12:01:03.335 (0) t:1954 p:134EB70 no accessible DLL version of RRX "\\hd-dcp-ap-poc\datacap\comets hd\dco_comets hd\rules\imagefix.dll"; errno:2 - No such file or directory; doserrno:2 - No such file or directory
12:01:03.335 (0) t:1954 p:134EB70 no accessible version of RRX "\\hd-dcp-ap-poc\datacap\comets hd\dco_comets hd\rules\imagefix.rrx"; errno:2 - No such file or directory; doserrno:2 - No such file or directory
12:01:03.343 (16) t:1954 p:134EB70 Loading RRX from DLL "c:\datacap\rrs\imagefix.dll"
12:01:03.343 (0) t:1954 p:134EB70 load rrx code: "c:\datacap\rrs\imagefix.dll"
12:01:03.344 (0) t:1954 p:134EB70 ImageFix version 9.1.8.29
12:01:03.345 (0) t:1954 p:134EB70 Could not instantiate Datacap.Libraries.ImageFix.Actions object
12:01:03.345 (0) t:1954 p:134EB70 /load
12:01:03.345 (0) t:1954 p:134EB70 execute statement On Action Start
12:01:03.345 (0) t:1954 p:134EB70 executing code:
12:01:03.345 (0) t:1954 p:134EB70 Call OnActionStart()
12:01:03.346 (0) t:1954 p:134EB70 Current Locale: '1033 (en-US)' English (United States)
12:01:03.346 (0) t:1954 p:134EB70 /execute statement On Action Start
12:01:03.346 (0) t:1954 p:134EB70 exception in call script
12:01:03.346 (0) t:1954 p:134EB70 /action
12:01:03.346 (0) t:1954 p:134EB70 /func
12:01:03.346 (0) t:1954 p:134EB70 /rule
12:01:03.346 (0) t:1954 p:134EB70 /dco
12:01:03.346 (0) t:1954 p:134EB70 /ruleset
12:01:03.346 (0) t:1954 p:134EB70 Error (0=hex:0). In CScript::Call(SAFEARRAY): Action execution failed: Script Error:
Error: Microsoft VBScript runtime error
Description: Object required
Error code: 0x800a01a8 - (null)Source: (null)
Line: 61, Char: 2 [api source:]
12:01:03.346 (0) t:1954 p:134EB70 EXCEPTION: code="0" msg="Action execution failed: Script Error:
Error: Microsoft VBScript runtime error
Description: Object required
Error code: 0x800a01a8 - (null)Source: (null)
Line: 61, Char: 2" loc="CScript::Call(SAFEARRAY)" API=""
12:01:03.346 (0) t:1954 p:134EB70 CIMainAlgorithm::Execute::finalize_after_process:
12:01:03.346 (0) t:1954 p:134EB70 execute statement On Process End
12:01:03.347 (0) t:1954 p:134EB70 executing code:
12:01:03.347 (0) t:1954 p:134EB70 Quit()
12:01:03.349 (0) t:1954 p:134EB70 /execute statement On Process End
12:01:03.349 (0) t:1954 p:134EB70 CIMainAlgorithm::Execute::finalize_after_process:SaveDCO:
12:01:03.353 (0) t:1954 p:134EB70 unload script [m0x="12e6ffc"]
12:01:03.353 (0) t:1954 p:134EB70 execute statement (null)
12:01:03.353 (0) t:1954 p:134EB70 executing code:
12:01:03.353 (0) t:1954 p:134EB70 Call set_CDCOnothing()
12:01:03.353 (0) t:1954 p:134EB70 /execute statement (null)
12:01:03.354 (0) t:1954 p:134EB70 script released
12:01:03.354 (0) t:1954 p:134EB70 /unload
12:01:03.354 (0) t:1954 p:134EB70 unload COM m0x="12e6fcc">
12:01:03.354 (0) t:1954 p:134EB70 /unload
12:01:03.354 (0) t:1954 p:134EB70 c:\datacap\RRS\Logs\wrrs
12:01:03.354 (0) t:1954 p:134EB70 end log to batch
------------------------------
Rashid Malik
Original Message:
Sent: Tue March 26, 2024 11:54 AM
From: Duke Lam
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Was looking at your snippet log again and where is the failure? I don't see image fix failing.
------------------------------
Duke Lam
Original Message:
Sent: Mon March 25, 2024 12:17 PM
From: Rashid Malik
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Thanks for the reply.
I already checked Duke Lam's suggestions and those looks good. I also checked DCOM configuration, rrprocessor, dcoprocessor, and rulerunner as well.
Yes, it loads the "c:\datacap\rrs\imagefix.dll". The permissions are same for both users.
RRS logs:
11:50:13.726 (0) t:FDC p:1EE2628 InitPage
11:50:13.727 (0) t:FDC p:1EE2628 Init OnRule...
11:50:13.727 (0) t:FDC p:1EE2628 Init End
11:50:13.727 (0) t:FDC p:1EE2628 Retrieving locale setting from Application Service
11:50:13.727 (0) t:FDC p:1EE2628 Looking for AppSvc Workflow Name key: '*/dco_Comets HD/locale'
11:50:13.727 (0) t:FDC p:1EE2628 Looking for AppSvc Application Name key: '*/dco_Comets HD/locale'
11:50:13.727 (0) t:FDC p:1EE2628 Looking for AppSvc General key: '*/locale'
11:50:13.728 (0) t:FDC p:1EE2628 No locale setting found in the Application Service.
11:50:13.728 (0) t:FDC p:1EE2628 Retrieving Fingerprint DB Connection string from Application Service
11:50:13.728 (0) t:FDC p:1EE2628 Looking for AppSvc Workflow Name key: '*/dco_Comets HD/fingerprintconn:cs'
11:50:13.728 (0) t:FDC p:1EE2628 AppSvc Workflow fingerprintconn found.
11:50:13.732 (0) t:FDC p:1EE2628 /load
11:50:13.732 (0) t:FDC p:1EE2628 func "loadINISetting"
11:50:13.732 (0) t:FDC p:1EE2628 execute statement On Function Start
11:50:13.732 (0) t:FDC p:1EE2628 executing code:
11:50:13.732 (0) t:FDC p:1EE2628 g_Ftmr=cdbl(Timer)
11:50:13.732 (0) t:FDC p:1EE2628 /execute statement On Function Start
11:50:13.732 (0) t:FDC p:1EE2628 calling action LoadSettings (str="@APPPATH(imagefix)") on B:20240325.Main Job.01.000012
11:50:13.732 (0) t:FDC p:1EE2628 no accessible DLL version of RRX "\\hd-dcp-ap-poc\datacap\comets hd\dco_comets hd\rules\imagefix.dll"; errno:2 - No such file or directory; doserrno:2 - No such file or directory
11:50:13.732 (0) t:FDC p:1EE2628 no accessible version of RRX "\\hd-dcp-ap-poc\datacap\comets hd\dco_comets hd\rules\imagefix.rrx"; errno:2 - No such file or directory; doserrno:2 - No such file or directory
11:50:13.735 (16) t:FDC p:1EE2628 Loading RRX from DLL "c:\datacap\rrs\imagefix.dll"
11:50:13.736 (0) t:FDC p:1EE2628 load rrx code: "c:\datacap\rrs\imagefix.dll"
11:50:13.736 (0) t:FDC p:1EE2628 ImageFix version 9.1.8.29
11:50:13.775 (31) t:FDC p:1EE2628 Datacap.Libraries.ImageFix.Actions Object created
11:50:13.798 (31) t:778 p:1EE2628 C:\Datacap\dcshared\NET\Datacap.Libraries.ImageFix.dll. AssemblyVersion: 9.1.8.0. AssemblyFileVersion: 9.1.9.45 64Bit: True
11:50:13.801 (0) t:FDC p:1EE2628 /load
11:50:13.801 (0) t:FDC p:1EE2628 execute statement On Action Start
11:50:13.801 (0) t:FDC p:1EE2628 executing code:
11:50:13.801 (0) t:FDC p:1EE2628 Call OnActionStart()
11:50:13.801 (0) t:FDC p:1EE2628 Current Locale: '1033 (en-US)' English (United States)
11:50:13.802 (0) t:FDC p:1EE2628 /execute statement On Action Start
11:50:13.821 (16) t:778 p:1EE2628 Initializing SmartNavObject
11:50:13.822 (0) t:778 p:1EE2628 Initialize SmarNavObject. SmartParams are enabled.
11:50:13.822 (0) t:778 p:1EE2628 SmartParams query : "@APPPATH(imagefix)"
11:50:13.838 (16) t:778 p:1EE2628 DCSmart Metaword sArgument: @APPPATH(imagefix)
11:50:13.839 (0) t:778 p:1EE2628 1 Smart Parameter element found
11:50:13.839 (0) t:778 p:1EE2628 Parsing Smart Parameter element {0} value: "@APPPATH(imagefix)"
11:50:13.839 (0) t:778 p:1EE2628 matched '@' index 0
11:50:13.839 (0) t:778 p:1EE2628 sArg: @APPPATH.
11:50:13.840 (0) t:778 p:1EE2628 @APPPATH key root value: 'imagefix'
11:50:13.841 (0) t:778 p:1EE2628 @APPPATH looking for workflow key: '*/dco_Comets HD/imagefix'
11:50:13.847 (15) t:778 p:1EE2628 workflow key found: '\\hd-dcp-ap-poc\Datacap\Comets HD\dco_Comets HD\imagefix.ini'
11:50:13.847 (0) t:778 p:1EE2628 Smart return: '\\hd-dcp-ap-poc\Datacap\Comets HD\dco_Comets HD\imagefix.ini'
11:50:13.847 (0) t:778 p:1EE2628 SmartParams query returns : "\\hd-dcp-ap-poc\Datacap\Comets HD\dco_Comets HD\imagefix.ini"
11:50:13.847 (0) t:778 p:1EE2628 Loading settings from file \\hd-dcp-ap-poc\Datacap\Comets HD\dco_Comets HD\imagefix.ini
11:50:13.899 (47) t:FDC p:1EE2628 result 0[x0] = true
11:50:13.899 (0) t:FDC p:1EE2628 action returned true
11:50:13.899 (0) t:FDC p:1EE2628 execute statement On Action True
------------------------------
Rashid Malik
Original Message:
Sent: Mon March 25, 2024 11:28 AM
From: Julian Fiegenbaum
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
ImageFix got a 64bit replacement in 9.1.6.
I could imagine that there are old, incompatible dependencies of ImageFix or ImageFix itself still floating around somewhere, which get called wrongly.
What does the rrs log under your user say for that step? Does it also load the "c:\datacap\rrs\imagefix.dll" or from a different path? How are the permissions of your "c:\datacap\<application>\dco_<application>\rules" folder? Are they exactly the same for both users? Are there dlls not pertaining to custom modules in there?
EDIT: Oh yeah Duke Lam's suggestions should be absolutely checked first. Often admin accounts can give themselves rights for everything, but dont have them by default.
------------------------------
Julian Fiegenbaum | ISR Information Products AG | Consultant | Germany
Original Message:
Sent: Mon March 25, 2024 10:56 AM
From: Rashid Malik
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Thanks @Duke Lam , @Julian Fiegenbaum
When I used a service account (dorfsmain\tsthddctstha1svc) which has all the permissions/privileges then it fails (thanks for the pointer @Julian Fiegenbaum ). When i try my local account (dorfsmain\malikr) to run rulerunner service then it works fine. I really like to use the service account. I am using a windows server 2022. Please advise.
Thanks
------------------------------
Rashid Malik
Original Message:
Sent: Mon March 25, 2024 04:03 AM
From: Julian Fiegenbaum
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Hi Rashid,
does the RuleRunner run under the same user as you use for your login in Datacap Studio?
Similar error messages generally seem to occur, when a library-function cannot be resolved and different rights are what comes to mind as a possible cause, when both run on the same machine.
Regards,
Julian
Similar messages:
https://www.ibm.com/support/pages/object-required-fpxml-wrapper-error-ibm-datacap-taskmaster-capture
https://www.ibm.com/support/pages/batch-aborts-running-callpolr-ibm-datacap-taskmaster-capture
------------------------------
Julian Fiegenbaum | ISR Information Products AG | Consultant | Germany
Original Message:
Sent: Thu March 21, 2024 08:13 AM
From: Rashid Malik
Subject: Datacap 9.1.9 - Rulerunner aborts on PageID task profile
Hello,
I am working on the Datacap upgrade POC from 9.1.4 to 9.1.9 using single machine installation. We're using Datacap Desktop client and when I run the batch, Rulerunner PageID task profile aborts on imageFix ruleset with the following error. It works fine with the datacap studio using test tab. I would really appreciate for your help. thanks
Version:
IBM Datacap 9.1.9 iFix 04
Build: v 9.1.9.04327
pageid_rrs.log:
07:22:00.12 (16) t:598 p:11BCAC8 Loading RRX from DLL "c:\datacap\rrs\imagefix.dll"
07:22:00.12 (0) t:598 p:11BCAC8 load rrx code: "c:\datacap\rrs\imagefix.dll"
07:22:00.13 (0) t:598 p:11BCAC8 ImageFix version 9.1.8.29
07:22:00.15 (0) t:598 p:11BCAC8 Could not instantiate Datacap.Libraries.ImageFix.Actions object
07:22:00.16 (0) t:598 p:11BCAC8 Error (0=hex:0). In CScript::Call(SAFEARRAY): Action execution failed: Script Error:
Error: Microsoft VBScript runtime error
Description: Object required
Rulerunner logs:
07:22:00.40 (0) t:598 p:1131250 CRRSWrapper::RunRRS: infrastructure RRS error [Action execution failed: Script Error:
Error: Microsoft VBScript runtime error
Description: Object required
Error code: 0x800a01a8 - (null)Source: (null)
Line: 61, Char: 2] [CScript::Call(SAFEARRAY)], occurred.
------------------------------
Rashid Malik
------------------------------