Error "The type initializer for 'Oracle.DataAccess.Client.OracleCommand' threw an exception" appears in the NuGenesis Archive Agent log file - WKB58827
SYMPTOMS
- No Empower data is archived into NuGenesis 8 SR2
ENVIRONMENT
- NuGenesis 8 SDMS
- NuGenesis 8 Data Adapters Release 3 HF2
- Empower 3
CAUSE
The Empower client and NuGenesis File Capture modules are installed on the same computer. The NuGenesis Oracle client is listed first in the environment variable PATH.
FIX or WORKAROUND
Update the PATH environment variable so that the Empower Oracle client is listed first.
ADDITIONAL INFORMATION
The following messages appear in the Archive Agent log file "Program Files (x86)\NuGenesis 8.0\AA\NGSDMS80AAActivity.log":
Message........: 2018-11-01 15:30:19: Beginning execution of archive request 1.
Message........: 2018-11-01 15:30:19: Server: CBLSRV0002, Project: OQFile_Emp_20181101, Template: Empower Archive.
"E ","2018-11-01 03:30:21 PM ","0 ","0 ","5, The type initializer for 'Oracle.DataAccess.Client.OracleCommand' threw an exception. ","Waters.SDMS.WindowsService ","clsEmp2PreProc ","GetMillenniumAccountPassword ","1 ",""
"E ","2018-11-01 03:30:21 PM ","-1 ","-1 ","Error retrieving Millennium user account password ","Waters.SDMS.WindowsService ","clsEmp2PreProc ","PerformPreProcess ","1 ",""
"E ","2018-11-01 03:30:21 PM ","-1 ","-1 ","error in Remote PreProcess method ","Waters.SDMS.EmpowerDAProxy ","clsMillPreProc ","PerformPreProcess ","1 ",""
"E ","2018-11-01 03:30:21 PM ","-1 ","-1 ","PreProcessor call failed for the remote server: CBLDES0065 ","Waters.SDMS.EmpowerDAProxy ","clsMillPreProc ","PerformPreProcess ","1 ",""
Message........: 2018-11-01 15:30:21: EMC: PerformPreProcess error.
Message........: 2018-11-01 15:30:21: Archive scan with no files archived for command id 1. {"CBLSRV0002","OQFile_Emp_20181101","Empower Archive"} {"Waters Corp.","Empower-3 Projects","0"}.{Summary : (Total Scanned Files = 0)(Start Time = 01-11-2018 15:30:19)(End Time = 01-11-2018 15:30:21)(Total Time = 0h 0m 2s)}.
Message........: 2018-11-01 15:30:21: Next scheduled runtime for archive request 1 is 2018-11-01 15:35:18.
