Articles in this section

Common Hardlock & HASP Error Messages

Overview

OLI Systems employs several mechanisms to protect its software from piracy, including the use of hardware devices, commonly known as dongles. OLI utilizes two types of dongles for its software protection:

  • Hardlock Dongle: Although no longer manufactured, this dongle remains in service for existing users.
  • HASP Dongle: The currently supported dongle, still in production and actively used.

In addition to these hardware solutions, OLI offers a software-based security token called a softkey. This provides an alternative method for licensing and includes specific error messages related to its use, as outlined below.

 

Hardlock error messages

Login Error: Hardlock Error(15): Invalid Environment string.

This is an ancient error message and will only be found with legacy versions of the OLI software.

You have received an error dialog similar to the following:

The dialog also shows a Login Error: 1-15.

There are a variety of reasons for this error message:

  1. The original installation of the software was a network copy. You have updated the serial number to a stand-alone (USB key or Softkey) device. The hardware drivers for this device have not been installed. You can try the following remedies:
    • Uninstall the software and re-install it with the current serial number. This will force the hardlock or softkey drivers to be installed.
    • Install the patch for the drivers from the manufacturer (Thales) or here.

 

Softkey HASP Error messages

HASP Error (18): Key with specified ID was not found.

This error is most familiar with softkeys. The user has received a v2c file back from OLI but is applying it to a different computer from where the c2v file was generated. The softkeys are designed not to be moved easily between computers.

Install the original computer that generated the c2v file or contact OLI.

HASP Error (31): Feature not found

This is typical of misleading error messages from the OLI security system.

The actual error is rare and occurs only in the following situations:

  1. A full stand-alone version of the OLI software (such as OLI Studio) has been installed using a PS-type softkey.
  2. A trial version is installed after a full version has been installed.

HASP Error (64): Cloned HASP SL secure storage detected

The following error dialog may occur after you attempt to apply the Host Lock File (V2C) from OLI Systems.

This is a softkey installation. The error is most common if the computer from the Host ID file (C2V) that was generated is not the same computer as the one that is being applied to the Host Lock file. For example, the Host ID file (C2V) was generated on the computer with the name:

Avenger.olisystems.com

The license manager has been moved to a new host, such as DCComix.olisystems.com. The Host Lock file (V2C) is no longer valid since it was generated from the first computer.

The Host ID and Host Lock files are paired and cannot be moved until they are first applied.

A secondary but less common issue is that the original host computer, Avenger. old systems. com, in our example, was actually a virtual machine that was then moved to a new device before the Lock file was applied. This also fails.

HASP Error (65): Specified V2C update already installed in the LLM

If you receive this error message after updating the V2C file:

Then, it appears that the V2C update has already been applied. This is most likely a second attempt at installing this update that was previously successful. The message can be ignored.

HASP Error (502): Logging in twice to the same object.

When attempting to create a .OLIh2h file during the softkey transfer process, you may encounter the error below

Resolution for PS Key

  1. Open one single instance of OLI License Key Utility
  2. Ensure that all OLI desktop software is closed and not running

Resolution for LS Key

  1. Open one single instance of OLI License Key Utility
  2. Ensure that all OLI desktop software is closed and not running
  3. Make sure that OLI Network License Server is stopped

 

HASP Error Messages (General)

Login Error - HASP Error (41): The feature has expired

You may receive an OLI Security Error dialog similar to the following.

The current security provider allows trial copies of the software to be installed. These trials are valid for 30 days from the date of installation. The installation of the trial software is only permitted once per computer. This error message means that a second trial copy has been installed on the same computer as the previous trial installation. This is not permitted and sends an error message.

There is no workaround for this error message. Please contact OLI Systems's sales department to discuss your options. Alternatively, you will need to install this software on a computer that has not had an OLI Trial Software copy installed.

HASP Error (43): HASP SL secure storage I/O error or USB request error

An error occurred when applying the update to the software for a V2C file for the softkey. The error message may look similar to the following:

Bad drivers are suspected. Update your drivers.

HASP error (48) vendor library cannot be found

This is an extremely rare error message. This error message occurs during installation. Some of the libraries from Thales (Sentinel) are missing. Specifically, the haspvlib_112737.dll was missing in C:\Program Files (x86)\Common Files\Aladdin Shared\HASP.

The drivers may have been installed with an older installation in the folder: C:\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel SDK

Copy the contents of that folder to the new folder C:\Program Files (x86)\Common Files\Aladdin Shared\HASP and try the software again.
 

Login Error: HASP Error (51): Virtual machine detected

The error message "Login Error: HASP Error (51): Virtual machine detected" was detected when using a trial copy of the software either on a MAC in virtual PC mode or on a PC with a virtual machine.

Neither is supported for the trial. Please feel free to contact support @ olisystems.com for alternative methods to run the OLI Software. 

HASP Error (52): HASP Update incompatible with this hardware...

When updating a softkey license file you may receive the following error message:


This is a rare error message. It occurs because your local computer has older HASP drivers than the ones at OLI used to create the most recent V2C file. The solution is to:

  1. . Generate a new C2V file and send it to OLI
  2. . Inform OLI of the above error
  3. . Please go ahead and install the new V2C file from OLI when received.

HASP Error (58): Invalid XML "recipient" parameter

This error occurs when transferring a soft key with different Sentinel Driver versions.

The Repair Driver button on the software may throw an error; in that case, use the link to manually install.

Hardlock/softkey drivers fail to install properly.

Sometimes, the local computer user does not have sufficient privileges to install drivers, although they are an admin user. After several attempts of installation, a corrupt situation exists. The user will need to force the uninstallation of the drivers.
 

It could be that there is a processing error is might be caused when the installer does indeed have administrative privileges; kindly try to install the latest "Sentinel HASP/LDK - Windows GUI Run-time Installer" drivers by following the below steps:

  1. . Unplug any HASP keys from the computer.
  2. . Make sure you have Administrative rights on the machine.
  3. . Disable any antivirus protection services from the Windows services console (services.msc). (if Possible)
  4. . Download the “Sentinel HASP/LDK - Windows GUI Run-time Installer” v7.60 https://sentinelcustomer.gemalto.com/sentineldownloads/
  5. . Unzip the folder
  6. . Right Click on “HASPUserSetup.exe” and click on “Run as Administrator” and follow the prompts

If you get any error, kindly take the screenshot of the error and share and then kindly try to download and install the latest Sentinel HASP/LDK - Command Line Run-time Installer v7.54 drivers as follows:

  1. . Unplug any hasp keys from computer.
  2. . Make sure you have Administrative rights on machine.
  3. . Disable any antivirus protection services from windows services console (services.msc). (if Possible)
  4. . Download the Sentinel HASP/LDK - Command Line Run-time Installer v7.54 from https://sentinelcustomer.gemalto.com/sentineldownloads/
  5. . Unzip the folder
  6. . Open command prompt and change directory to the location in command prompt where drivers have been saved.
  7. Type "haspdinst.exe -fr –purge" to uninstall previous HASP drivers/license manager.
  8. . Type “haspdinst.exe -i -fi -kp” to install the latest Sentinel hasp/ldk RTE v7.60

If you still get any error take a screenshot and share, and for further analysis kindly share a suitable time for remote session.

 

Error Codes Table

Login Error Vendor Error Message OLI Error Message
0 API call was successful No Error, call to device was successful
1 DONGLE not initialized Dongle not programmed, contact OLI
2 Already initialized No Error
3 Device not supported This is not an OLI Dongle
4 Function not supported You are using an OLI dongle with a non-OLI program using the same drivers. Use the proper key
5   Not used
6 HL-Server login table full Not used, was used for v1.0 server
7 HASP key not found Login Error: HASP Error (7): HASP Key not found
8 A network error occurred Can not find your network, please check settings
9 No device available Can not read device
10 A wrong parameter occurred Invalid argument passed to key, Contact OLI
11 HL-Server not API version Not used by OLI
12 Error on memory allocation Programming on key invalid, contact OLI
13   Not used
14 Can not open driver (NT,UNIX) Missing drivers, re-installed with full admin
15 Invalid environment string Login Error: Hardlock Error(15): Invalid environment string.
16 Unable to get a function entry Not used by OLI
17 No valid license info (LM) Not used by OLI
18 Slot/license not enabled (LM) Not used by OLI
19 Port Busy Can not acquire port, is the port set correctly
20 No Device Not used by OLI
21 Invalid License Not used by OLI
22 Sync Error Not used by OLI
23   Not used
24 Buffer too small Not used by OLI
25 Unknown hardware descriptor Not used by OLI
26 Unknown fixed block position Not used by OLI
27 HASP Error (27): Terminal services (remote terminal) detected Error Terminal Services are not supported with local protection key
28 Date fake detected User attempted to roll back date on host computer
29 Dead counter limit reached Not used by OLI
30 Vendor key is invalid Not used by OLI
31 No license file found Not used by OLI
32 Invalid variable block Not used by OLI
33 Error updating license file Not used by OLI
34 No info there Not used by OLI
35 Can not TLV encode data Not used by OLI
36 Write license failed Not used by OLI
37 Expiration Date Reached Key has expired
38 Term. Server/ Citrix Server detected Virtual environment detected. Exit program
39 Invalid updated data Not used by OLI
40 Update data has expired Not used by OLI
41 The feature has expired Login Error - HASP Error (41): The feature has expired
43 HASP SL secure storage I/O error or USB request error HASP Error (43): HASP SL secure storage I/O error or USB request error
48 Vendor library cannot be found HASP error (48) vendor library cannot be found
51 Virtual Machine Detected Login Error: HASP Error (51): Virtual machine detected
52 HASP Update incompatible HASP Error (52): HASP Update incompatible with this hardware...
64 Cloned HASP SL secure storage detected HASP Error (64): Cloned HASP SL secure storage detected
256 Login table full (remote) Not used by OLI, was used with v1.0 server
257 Printer not On-line Used by parallel port key when printer attached
258 Serial ID not readable or n/a Device corrupted, contact OLI
2-78 HASP Error: Hardware Changes detected C2V/V2C pairing invalid due to hardware changes
0-4005 Unable to connect to key() No hardware device (PA or PH type) is connected to the USB port
Was this article helpful?
0 out of 0 found this helpful