Error: Failed to load the cyberark library - [CPasswordSDK64] in AutoSys Workload Automation
search cancel

Error: Failed to load the cyberark library - [CPasswordSDK64] in AutoSys Workload Automation

book

Article ID: 445573

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Symptoms

When integrating AutoSys Workload Automation 24.0.1 with CyberArk Application Access Manager (AAM) on Windows, the application fails to retrieve credentials. The following error appears in the event_demon logs:

 
 
Failed to load the cyberark library - [CPasswordSDK64]

Environment

  • AutoSys Workload Automation 24.0.1 (64-bit)
  • CyberArk Application Password SDK 14.2.x
  • Windows Server 2022

Cause

AutoSys 24.0.1 is a 64-bit application and explicitly looks for the 64-bit CyberArk library named CPasswordSDK64.dll.
Starting with CyberArk Credential Provider v14.2, CyberArk changed the naming convention for the 64-bit SDK.
The 64-bit library is now named 
CPasswordSDK.dll (removing the "64" suffix), which causes the AutoSys initialization to fail as it cannot find the file with the expected legacy name.

Resolution

Resolution

To resolve this issue, provide a copy of the library with the legacy name that AutoSys expects:

  1. Navigate to the CyberArk SDK installation directory (e.g., C:\Program Files\CyberArk\ApplicationPasswordSdk).
  2. Locate the file CPasswordSDK.dll.
  3. Copy the file and rename the copy to CPasswordSDK64.dll within the same directory.
  4. Ensure the directory C:\Program Files\CyberArk\ApplicationPasswordSdk is added to the Windows System PATH environment variable.
  5. Restart the AutoSys Event Demon service to apply the changes.