Controller API - FTCAPI error messages
Diagnose Controller API and middleware registration, port, and certificate errors.
Enable logging first
Edit C:\Program Files (x86)\Gallagher\FTCAPI\Middleware Framework\FTCAPIRouterService.exe.config and change:
<!--<add name="Debug" />-->to:
<add name="Debug" />If needed, save the file to the desktop and move it back. Restart the FTCAPI Router service, then read …\Middleware Framework\Log\FMF.log.
Error reference
80040154 Class not registered (REGDB_E_CLASSNOTREG)
FTCAPI not installed correctly. Register the DLL as Administrator: regsvr32 "…\Gallagher FTCAPI\CardaxFTCAPI.dll" (7.80+: GallagherFTCAPI.dll), or regsvr32 "…\Middleware Framework\GallagherFTCAPI.dll".
80004005 (E_FAIL)
Listen port not configured or in use. Confirm a serial port exists, or run netstat -ano to find the network port in use.
0xC12E0001
FMF: certificate (.pem) not imported, or no GallagherFTCAPI.ini in …\Middleware Framework\. FTCAPI: create the External System server, import the PEM, export the ini to …\Gallagher FTCAPI\, and set up the External System and item.
"External component has thrown an exception"
Typically the FTCAPI Middleware is installed but misconfigured.
🔗 Related
Controller API - FTCAPI.ini File. The
0xC12E0001fix.Controller API - Fault Finding using the Test Harness. Isolate the comms path.
Last updated
Was this helpful?
