HaspStatus Enumeration

Namespace: Aladdin.Hasp

Defines status codes that can be returned by Sentinel Licensing .NET library.

No. Status Code Description

0

StatusOk

Request was successfully completed

1

InvalidAddress

Request exceeds the Sentinel protection key memory range

2

InvalidFeature

Legacy HASP HL Run-time API: Unknown/Invalid Feature ID option

3

NotEnoughMemory

System is out of memory

4

TooManyOpenFeatures

Too many open sessions exist

5

AccessDenied

Access to Feature was denied

6

IncompatibleFeature

Legacy decryption method cannot work on Feature

7

ContainerNotFound

Sentinel protection key is no longer available

8

BufferTooShort

Encrypted/decrypted data length too short to execute method call

9

InvalidHandle

Invalid handle was passed to method

10

InvalidFile

Specified File ID is not recognized by API

11

DriverTooOld

Installed driver is too old to execute method

12

NoTime

Real-time clock (RTC) not available

13

SystemError

Generic error from host system call

14

DriverNotFound

Required driver is not installed

15

InvalidFormat

File format for update is not recognized

16

RequestNotSupported

Unable to execute method in this context

17

InvalidUpdateObject

Binary data that was passed to method does not contain an update

18

KeyIdNotFound

Sentinel protection key was not found

19

InvalidUpdateData

Required XML tags were not found
OR
Contents in binary data are missing or invalid

20

UpdateNotSupported

Update request is not supported by Sentinel protection key

21

InvalidUpdateCounter

Update counter is not set correctly

22

InvalidVendorCode   

Invalid Vendor Code was passed

23

EncryptionNotSupported

Sentinel protection key does not support encryption type

24

InvalidTime

The time value that was passed is outside the supported value range

25

NoBatteryPower

The real-time clock battery has run out of power

26

UpdateNoAckSpace

Acknowledge data that was requested by the update ack_data parameter is NULL

27

TerminalServiceDetected

Program is running on a terminal server

28

FeatureNoteImplemented

Requested Feature type is not implemented

29

UnknownAlgorithm

Unknown algorithm used in V2C or V2CP file

30

InvalidSignature

Signature verification operation failed

31

FeatureNotFound

Requested Feature not found

32

NoLog

Access log not enabled

33

LocalComErr

Communication error occurred between the API and the local Sentinel License Manager

34

UnknownVcode

Vendor Code is not recognized by API

35

InvalidXmlSpec

Invalid XML specification exists

36

InvalidXmlScope

Invalid XML scope exists

37

TooManyKeys

Too many Sentinel protection keys are currently connected

38

TooManyUsers

Too many users are currently connected

39

BrokenSession

Session was interrupted.

This can occur when certain updates are applied to the license while a session is active. For example:

>A Feature required by the session was deleted.

>The license was canceled.

>The network (remote license) support setting for a required Feature was changed. (In this case, all sessions will be interrupted, including local sessions.)

This may also indicate that the protection key is not available or that the user is attempting to bypass the application protection by using a protection key emulator.

40

RemoteCommErr

Communication error occurred between local and remote Sentinel License Managers

41

FeatureExpired

Feature has expired

42

TooOldLM

Sentinel License Manager version is too old. Update Sentinel Run-time Environment to the latest version.

43

DeviceError

For a Sentinel SL key, an input/output error occurred in the secure storage area
OR
For a Sentinel HL key, a USB communication error occurred

44

UpdateBlocked

Update installation not permitted

45

TimeError

System time has been tampered with

46

SecureChannelError

Communication error occurred in the secure channel

47

CorruptStorage

Corrupt data exists in secure storage area of Sentinel protection key

48

VendorLibNotFound

The customized vendor library (haspvlib.vendorID.*) cannot be located

49

InvalidVendorLib

Unable to load Vendor library

50

EmptyScopeResults

Unable to locate any Feature that matches the scope

51

VMDetected

Protected application is running on a virtual machine, but one or more Features are not enabled for virtual machines.
OR
The user attempted to rehost a protection key from a physical machine to a virtual machine. However, none of the Features contained in the protection key are enabled for virtual machines.

52

HardwareModified

Sentinel SL key incompatible with machine hardware. Sentinel SL key locked to different hardware.
OR
In the case of a V2C or V2CP file, conflict between Sentinel SL key data and machine hardware data. Sentinel SL key locked to different hardware.

53

UserDenied

Login denied because of user restrictions

54

UpdateTooOld

Trying to install a V2C or V2CP file with an update counter that is out of sequence with update counter in the Sentinel protection key. Values of update counter in file are lower than those in Sentinel protection key.

55

UpdateTooNew

Trying to install a V2C or V2CP file with an update counter that is out of sequence with the update counter in the Sentinel protection key. The gap between the first value in the file and the value in Sentinel protection key is greater than 1.

56

VendorLibOld

Vendor library is too old

57

UploadError

Check in of a file (such as  V2C, H2R) using Admin Control Center failed, possibly because of illegal format

58

InvalidRecipient

Invalid XML RECIPIENT parameter

59

InvalidDetachAction

Invalid XML action parameter

60

TooManyProducts

The scope specified in the Transfer method does not specify a unique Product

61

InvalidProduct

Invalid Product information

62

UnknownRecipient

Update can only be applied to recipient machine specified in the Detach method, not to this machine

63

InvalidDuration

Invalid detached license duration period specified. Duration must be less than or equal to maximum allowed for this license.
OR
Duration extension is to a date earlier than the expiration date of the current detached license.

64

CloneDetected

Cloned Sentinel SL storage was detected. Feature is unavailable.

65

UpdateAlreadyAdded

The specified V2C or or V2CP update was already installed in the License Manager service

66

HaspInactive

Specified Key ID is in Inactive state

67

NoDetachableFeature

No detachable Feature exists in the specified key from which the detached license is requested

68

TooManyHosts

The specified scope does not specify a unique host

69

RehostNotAllowed

Rehost action is not allowed for the specified Key  ID

70

LicenseRehosted

Original license has been transferred to another machine. Therefore, the license cannot be returned to the source machine.

71

RehostAlreadyApplied

Old rehost license cannot be applied. A rehost-counter mismatch occurred

72

CannotReadFile

A V2C or V2CP file was not found, or access was denied

73

ExtensionNotAllowed

The license cannot be extended because the number of detached licenses is greater than the number of concurrent licenses allowed

74

DetachDisabled

The user attempted to detach a Product from a network license hosted on a virtual machine. However, none of the Features included in the Product are enabled for virtual machines.

75

RehostDisabled

The user attempted to rehost a protection key from a virtual machine. However, none of the Features contained in the protection key are enabled for virtual machines.

76 DetachedLicenseFound The user attempted to format an SL-AdminMode key or to migrate an SL-Legacy key to an SL-AdminMode key. However, a Product is currently detached from the key.
77 RecipientOldLm For a rehost operation: The fingerprint of the target machine was collected using tools (RUS utility or Licensing API) earlier than Sentinel LDK v.7.0.
78 SecureStoreIdMismatch A secure storage ID mismatch occurred
79 Duplicatehostname

The license fingerprint is bound to a specific hostname; however, two or more machines with this hostname were found in the network. As a result, the license cannot be used.

80 MissingLM A protected application tried to log in to a Feature that supports concurrency on a Sentinel HL (Driverless configuration) key. The Sentinel LDK License Manager service is not active on the computer where the key is located.
81 FeatureInsufficientExecutionCount

A protected application tried to consume or reserve multiple executions while logging in to a Feature. However, the license does not contain the number of executions that were requested.

82 ImcompatiblePlatform The function is attempting to perform an operation that is not compatible with the target platform
83 HaspDisabled

A Sentinel HL (Driverless configuration) key was disabled because a user attempted to tamper with the key or with the protected application

84 SharingViolation An HL key is being shared by the use of a USB splitter device (such as Smart X). When this error occurs, a "sharing violation" message is also displayed on the relevant page in Admin Control Center.
85 KilledSession The session was interrupted manually from Admin Control Center or was interrupted due a network malfunction
86 VsDetected The function detected that the operation is being performed in virtual storage. The machine is using computer restoration software.
87 IdentityRequired (For identity-based licenses) An identity string is required
88 IdentityUnauthenticated (For identity-based licenses) The identity string is not authenticated
89 IdentityDisabled (For identity-based licenses) The identity string is disabled
90 IdentityDenied (For identity-based licenses) The client identity does not have enough permission for the operation
91 IdentitySharingViolation (For identity-based licenses) The session was killed because the identity string used to create the session was acquired by another machine.
92 IdentityTooManyMachines (For identity-based licenses) The maximum number of machines to which the identity string can be assigned was reached
93 IdentityServerNotReady (For identity-based licenses) The option to store identity secrets with encryption was selected in Admin Control Center, but the authentication key was not yet defined (using Sentinel Admin API).
94 UpdateOutOfSync

You attempted to install a V2C file with an update counter that is out of sync with the update counter in the Sentinel protection key.

The vendor should obtain a new C2V file from the customer and then generate a new V2C file.

95 RemoteSharingViolation

There were multiple attempts to access the key from a remote machine using a proxy.

The user is attempting to access a license that does not support concurrency from a remote machine, using a proxy to make the remote machine appear as local.

96 CloudSessionOccupiedRemotely

A cloud licensing session was released because the client requested the seat from a different location

97 CloudMissingAuthorization

Cloud licensing authorization is required to use this license

98 InvalidNetworkSeats

Invalid seat value in detach of seats with concurrency. Seat count cannot be decreased when modifying a detach

99 NetworkDetachDisabled

Detach of seats with concurrency is disabled on a Product with only unlimited-concurrency features

100 CloudNotSupp

The requested cloud functionality is not supported

101 CloudNotTrusted

Only a vendor who satisfied the documented requirements can install a license in trusted license storage

102 CloudStorageCommErr

A communication error occurred with the license storage

103 IdentityExpired The client identity has expired
104 InvOption The option value specified for hasp_updateSession is not valid
105 CloudStorageBusy The license server is overloaded. The user should retry the operation in a few seconds.
106 MachineDenied Login denied because the fingerprint cannot be fetched from this machine or the fingerprint fetched from this machine is not in the correct format
107 MachineDisabled Login denied because this machine is disabled
108 IdentityRateLimitExceeded The rate at which identity requests are received exceeds the contracted limit.
109 FeatureStartDateNotReached Login denied because feature start date not yet reached.

400

NoApiDylib

Unable to locate dynamic library for API

401

InvApiDylib

Dynamic library for API is invalid

402

IncompleteApiDylib

Requested function was not found
OR
In the case of the API Dispatcher, API DLL is too old

500

InvalidObject

Object was incorrectly initialized

501

InvalidParameter

Scope string is too long (maximum length is 32 KB)

502

AreadyLoggedIn

Logging in twice to same object

503

AlreadyLoggedOut

Logging out twice from same object

525

OperationFailed

Incorrect use of system or platform

600

NoExtblock

Internal error occurred: No classic memory extension block available

650

InvPortType

Internal error occurred: Invalid port type

651

InvPort

Internal error occurred: Invalid port value
652 HaspDotNetDllBroken .NET DLL found broken

698

NotImplemented

Requested function was not implemented
OR
In the case of the API Dispatcher, API DLL is too old

699

InternalError

Internal error occurred in the API