Utilities are failing to execute due to an exception: "Error calling LoadLibrary:%1 is not a valid Win32 application".
search cancel

Utilities are failing to execute due to an exception: "Error calling LoadLibrary:%1 is not a valid Win32 application".

book

Article ID: 226438

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

After upgrading to 15.7 MP2 below error is encountered while executing any of the utilities residing under the bin directory on the Enforce server
 
 
Additional Error :
 
Exception: Error calling LoadLibrary: The specified module could not be found.  (HRESULT: 0x7e)

Environment

DLP 15.7 MP2

Cause

As of version 15.7 Maintenance Pack 2, Data Loss Prevention no longer uses Microsoft Visual Studio 2010 Runtime.  This may result in not being able to run the executables in  \program files \Symantec\DataLossPrevention\EnforceServer\15.x\Protect\bin

Listing below the executables in the bin directory that may not work as expected due to this behavior.

AdminPasswordReset.exe
DBPasswordChanger.exe
LanguagePackUtility.exe
NotificationTrafficMonitor.exe
ReinstallationResourcesUtility.exe
SolutionPackInstaller.exe
sslKeyTool.exe

Resolution

There are two things to verify and fix. 

First, ensure that the utilities confirugation file has the correct jvm path.  Its found in the path "PATH_TO_INSTALLATION/Symantec/DataLossPrevention/EnforceServer/DLP_VERSION/Protect/config/UTILITY_NAME/Configuration.txt"

This needs to correctly reflect the path to the current version of java used by DLP.

 



Second, put the JRE bin directory path in the system path environmental variable.

For example, if it is C:\Program Files\Symantec\DataLossPrevention\ServerJRE\1.8.0_202\bin then mention it as per the below screenshots: