Troubleshooting a Custom .DLL File
  • 09 Apr 2024
  • 1 Minute to read
  • Dark
    Light

Troubleshooting a Custom .DLL File

  • Dark
    Light

Article summary

Overview

Developers can use the Decisions SDK to write and develop custom Flow steps, Form components, or other elements that are then compiled as .DLL files. This article is used to cover troubleshooting a .DLL file that will not load. Decisions does not offer technical support for custom code built outside of the organization.


Ensure the .DLL File is not Being Blocked

  1. Right-click the .DLL file and select Properties.
  2. At the bottom of the Properties window, check for a security warning that reads, "This file came from another computer and might be blocked to help protect this computer." 
  3. Click Unblock next to this warning and click Apply.
  4. If this warning is not present, the .DLL is not blocked.

Ensure the .DLL is Loaded into the Correct Path in the File System

  1. The .DLL file must be copied to C:\Program Files\Decisions\Decisions Server\modules\Decisions.Local\CoreServicesDlls.
  2. Check inside the Deleted folder to ensure that the .DLL is not present. If it is present, remove the file from the folder.
  3. Check inside the Temp folder (if there is one) to see if the .DLL is loaded. This will appear as the actual name of the .DLL with a number appended to it.

Reload the .DLL in the File System

  1. Stop the Decisions Server from Windows Services.
  2. Delete all files from the Temp folder in C:\Program Files\Decisions\Decisions Server\modules\Decisions.Local\CoreServicesDlls.
  3. Start Decisions Server.
  4. Stop the Decisions Server again after it has restarted successfully.
  5. Add the .DLL to the correct location(s). Start Decisions Server.

Once the .DLL Loads, Confirm That the Custom Steps Are Available in a Flow

These steps may need to be searched for by expanding the different sections of the Step catalog or using the search function if they are not readily available. If they are still hidden, then the Hidden value in the element registration of the custom step needs to be modified in the database. This is a hidden column on the element_registration table.

Resetting the Custom.DLL Modules:
To reset the Custom.DLL Modules, refer to Resetting Custom.DLL Modules.

Was this article helpful?