You are here: Aladdin.Hasp Namespace > Enumerations > HaspStatus Enumeration

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 expired or no executions remain

42

TooOldLM

Sentinel License Manager version too old

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. First value in file is more-than-1 greater than value in Sentinel protection key.

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 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.

400

NoApiDylib

Unable to locate dynamic library for API

401

InvApiDylib

Dynamic library for API is invalid

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

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

  sentinel.gemalto.com/software-monetization/sentinel-ldk/
  © Gemalto 2018. All rights reserved. Gemalto, the Gemalto logo, are trademarks and service marks of Gemalto and are registered in certain countries.
  Revision 1811-6 (.NET) Sentinel LDK v.7.9