Both Troika Administrator and IHT Forms use Acrobat PDF files to generate statutory forms for various jurisdictions.  Occasionally users may see the following error on their setup when running one:

Error in GenerateFDFFile() routine

ActiveX component can't create object

Troubleshooting

Any recent Troika installations, completed with a Troika installation file (Troikainstall.msi), should have the required registrations completed automatically.  However, occasionally permissions can mean these registrations are missed during the installation.  Alternatively, you may have an older installation present within your organisation which was not completed using our recent installer.


Please complete the following on your setup:


  1. The centrally located folder for forms, \\SERVERNAME\TWWDATA\Forms, should be accessible to all Troika users with full read/write permissions.
  2. The default TroikaSQL.ini file for each user should have the following entry added within the [ADMIN] section:
    • WorkFilePath=\\SERVERNAME\TWWDATA\Forms
  3. Adobe Acrobat Reader should be installed.  You can download and install it from here, if required.
  4. The following DLL files should be copied to C:\TWW\Troika, if not already present.  This directory must also have full read/write permissions.
    • FDFDACX.DLL
    • FDFACX.IDL
    • FdfTk.dll
    • FdfTk.lib
  5. The FDFACX.DLL file must be registered.  Run the command prompt (cmd.exe), as Administrator, and enter the following command:
    • Regsvr32.exe C:\TWW\Troika\FDFACX.DLL

            

For Citrix or terminal server installations, set the server into install mode to register this DLL file first.