CACPM820E Failed to retrieve file version info of file "CyberArk.Extensions.Plugin.SAP.dll.config" during sync by GetFileVersionInfoSizeA
Symptom
After importing the new SAP plugin from the Marketplace (https://community.cyberark.com/marketplace/s/#a35Vy0000006iUbIAI-a39Vy000001czxzIAA) into a CPM running Privilege Cloud v14.2 or older, CPM log files fill up space on the server with repeated lines of "CACPM820E Failed to retrieve file version info of file "CyberArk.Extensions.Plugin.SAP.dll.config" during sync by GetFileVersionInfoSizeA".
Environment
14.2;14.4 Privilege Cloud Central Policy Manager (CPM)
Cause
Within the SAP package, there is a configuration file that CPM mistakenly identifies as a binary due to the presence of the "dll" string (Cyberark.Extensions.Plugin.SAP.dll.config). The 'GetFileVersionInfoSizeA' operation in CPM can only be performed on actual DLL files. As a result, CPM fails when attempting to retrieve the DLL version number from this file, leading to the observed error.
Resolution
Option 1: Upgrade CPM to Privilege Cloud version 14.5
Option 2: Stop the CPM service > Delete the 'Cyberark.Extensions.Plugin.SAP.dll.config' file from the bin folder > Clean up log files > Start the CPM service.
Note: When doing option 2, you will also need to check that the file is not in the PasswordManagerShared safe - as otherwise it will be reimported upon starting the service. Please raise a case with Idira Support to check this.