CPM - Fail to install CPM - Error on logs: Could not load file or assembly 'CyberArk.Casos.dll' or one of its dependencies

CPM - Fail to install CPM - Error on logs: Could not load file or assembly 'CyberArk.Casos.dll' or one of its dependencies

266
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM


Symptom


When attempting to run install CPM using CM (Connector Management) or directly on the CPM using the Wizard or via script, the following error is thrown in the log:

 
RGSCOMP003E Failed to load file 'C:\Users\<username>\AppData\Local\Temp\{CE37BD4D-1F5D-4331-A245-BA8C6DF464FC}\CyberArk.Casos.dll'. Description: Could not load file or assembly 'CyberArk.Casos.dll' or one of its dependencies. The specified module could not be found.
 

Or:

 

CPMEM001E Error while creating vault environment, creation was aborted. Description: System.IO.FileNotFoundException: Could not load file or assembly 'CyberArk.Casos.dll' or one of its dependencies. The specified module could not be found.
File name: 'CyberArk.Casos.dll'
   at CyberArk.VaultServices.VaultServices.Init(String vaultFilePath, String username, SecureString password, String vaultName)
   at CyberArk.Installation.CPMEnvMgr.CPMEnvMgr.connectToVault(String logonUserName, SecureString logonPassword)
   at CyberArk.Installation.CPMEnvMgr.CPMEnvMgr.establishConnection(Dictionary`2 args, SecureString password, String& errorDetails)
   at CyberArk.Installation.CPMEnvMgr.CPMEnvMgr.internalRegisterComponent(Dictionary`2 args, SecureString password, String& errorDetails)

​​



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Cause


The cause is that the executable cannot find CyberArk.Casos.dll or its dependencies.  Note that the existence of CyberArk.Casos.dll in the bin folder is not sufficient.  The pre-requisites .NET and C++ Redistributables must also be installed.



Resolution


Ensure the following are installed on the server:

  • Microsoft .NET Framework 4.8
  • Microsoft Visual C++ Redistributable 2013 (Both 32-bit and 64-bit)
    • vcredist_x86.exe
    • vcredist_x64.exe
  • Microsoft Visual C++ Redistributable 2015-2022 (Both 32-bit and 64-bit)
    • VC_redist.x86.exe
    • VC_redist.x64.exe

In case .NET and the C++ Redistributables are already installed on the server, they may have become corrupted.  Please run a repair on them or uninstall/reinstall them.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001C5aCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail