Error message: Failed to load library

From BESA® Wiki
Jump to: navigation, search
Error message: Failed to load library
Modules Any module
Version 5.2 or higher

When you see the error message "Failed to load library" and can't run the BESA Software, you need to reinstall the Sentinel Run-time Environment using Command Line Run-time.

Error Failed to load library.png


Please follow the below steps to reinstall the Sentinel Run-time Environment.

1. Download Sentinel HASP LDK - Command Line Run-time Installer here

Sentinel reinstall 01.png


2. Extract the downloaded file (Sentinel_LDK_Run-time_cmd_line.zip). You can find haspdinst.exe after extracting the downloaded file.

Sentinel reinstall 02.png


3. Run CMD (Command Prompt) as administrator

Sentinel reinstall 03.png


4. Change the current directory in CMD to the directory where haspdinst.exe is located. For example:

cd C:\Users\[folder_name]\Downloads\Sentinel_LDK_Run-time_cmd_line

Sentinel reinstall 04.png


5. Remove the current Sentinel Run-time Environment using the below command in CMD.

haspdinst.exe -r -fr -kp -fss -purge


6. Install the Sentinel Run-time Environment using the below command in CMD.

haspdinst.exe -i -fi -kp -fss

Sentinel reinstall 05.png