SK_ResultCode Enumeration

Possible result/return codes for the PLUSNative API.

Remarks

The latest Protection PLUS 5 SDK result codes are documented online. The latest SOLO Server result codes (returned by SOLO Server web service method calls) are also documented online.

Syntax

C/C++
typedef enum _SK_ResultCode
{
SK_ERROR_NONE = 0,
SK_ERROR_INVALID_DATA = 9001,
SK_ERROR_INVALID_SERVER_KEY = 9002,
SK_ERROR_INVALID_CLIENT_KEY = 9003,
SK_ERROR_DECRYPTION_FAILED = 9004,
SK_ERROR_VERIFICATION_FAILED = 9005,
SK_ERROR_ENCRYPTION_FAILED = 9006,
SK_ERROR_SIGNING_FAILED = 9007,
SK_ERROR_SESSION_VERIFICATION_FAILED = 9008,
SK_ERROR_INSTALLATIONID_REQUIRED = 9009,
SK_ERROR_TRIGGER_CODE_INVALID = 9010,
SK_ERROR_TRIGGER_CODE_EVENT_DATA_INVALID = 9011,
SK_ERROR_INVALID_LICENSE_TYPE = 9012,
SK_ERROR_XML_PARSER_FAILED = 9013,
SK_ERROR_XML_NODE_MISSING = 9014,
SK_ERROR_INVALID_ARGUMENTS = 9015,
SK_ERROR_CONTEXT_INVALID = 9016,
SK_ERROR_STRING_CONVERSION_FAILED = 9017,
SK_ERROR_DATETIME_CONVERSION_FAILED = 9018,
SK_ERROR_PLUS_EVALUATION_WARNING = 9019,
SK_ERROR_PLUS_EVALUATION_INVALID = 9020,
SK_ERROR_INVALID_PRODUCTID = 9021,
SK_ERROR_INVALID_PRODUCTOPTIONID = 9022,
SK_ERROR_ENVELOPE_TYPE_INVALID = 9023,
SK_ERROR_INSUFFICIENT_IMAGE_SIZE = 9024,
SK_ERROR_INVALID_IMAGE = 9025,
SK_ERROR_WEBSERVICE_INVALID_CONFIGURATION = 9100,
SK_ERROR_WEBSERVICE_CALL_FAILED = 9101,
SK_ERROR_WEBSERVICE_RETURNED_FAILURE = 9102,
SK_ERROR_REQUIRED_SERVER_VALIDATION_FAILED = 9103,
SK_ERROR_HTTP_INITIALIZATION_FAILED = 9104,
SK_ERROR_HTTP_CONNECTION_FAILED = 9105,
SK_ERROR_HTTP_COULD_NOT_RESOLVE_HOST = 9106,
SK_ERROR_SSL_FAILED = 9107,
SK_ERROR_COULD_NOT_LOAD_LICENSE = 9200,
SK_ERROR_COULD_NOT_SAVE_LICENSE = 9201,
SK_ERROR_LICENSE_NOT_EFFECTIVE_YET = 9202,
SK_ERROR_LICENSE_EXPIRED = 9203,
SK_ERROR_LICENSE_ALIAS_VALIDATION_FAILED = 9204,
SK_ERROR_LICENSE_ALIAS_VALIDATION_TIME_MISMATCH = 9205,
SK_ERROR_COULD_NOT_SAVE_NETWORK_CERTIFICATE = 9206,
SK_ERROR_NETWORK_CERTIFICATE_INVALID_PATH = 9207,
SK_ERROR_NETWORK_CERTIFICATE_REQUIRED = 9208,
SK_ERROR_COULD_NOT_DELETE_FILE = 9209,
SK_ERROR_NETWORK_SEMAPHORE_INVALID_PATH = 9210,
SK_ERROR_NETWORK_LICENSE_FULL = 9211,
SK_ERROR_NETWORK_SEMAPHORE_LOCK_FAILED = 9212,
SK_ERROR_MODULE_NOT_ACTIVE = 9213,
SK_ERROR_COULD_NOT_OPEN_FILE = 9214,
SK_ERROR_COULD_NOT_READ_FILE = 9215,
SK_ERROR_COULD_NOT_WRITE_FILE = 9216,
SK_ERROR_COULD_NOT_OPEN_REGISTRY_KEY = 9217,
SK_ERROR_COULD_NOT_READ_REGISTRY_KEY = 9218,
SK_ERROR_COULD_NOT_WRITE_REGISTRY_KEY = 9219,
SK_ERROR_IO_OPERATION_FAILED = 9220,
SK_ERROR_COULD_NOT_READ_PERMISSIONS = 9221,
SK_ERROR_COULD_NOT_SET_PERMISSIONS = 9222,
SK_ERROR_SSL_CERTIFICATE_EXPORT_FAILED = 9223,
SK_ERROR_SSL_CERTIFICATE_UNAVAILABLE = 9224,
SK_ERROR_COULD_NOT_LOAD_VOLUME_DOWNLOADABLE_LICENSE = 9225,
SK_ERROR_SYSTEM_TIME_VERIFICATION_FAILED = 9300,
SK_ERROR_SYSTEM_TIME_INVALID = 9301,
SK_ERROR_VIRTUAL_MACHINE_DETECTED = 9302,
SK_ERROR_REMOTE_SESSION_DETECTED = 9303,
SK_ERROR_LICENSE_SYSTEM_IDENTIFIERS_DONT_MATCH = 9400,
SK_ERROR_PLATFORM_ERROR = 9401,
SK_ERROR_UNSUPPORTED_OS = 9402,
SK_ERROR_MEMORY_ALLOCATION = 9403,
SK_ERROR_LIBRARY_UNAVAILABLE = 9404,
SK_ERROR_LIBRARY_FUNCTION_UNAVAILABLE = 9405
} SK_ResultCode;
Visual Basic
Public Enum SK_ResultCode
SK_ERROR_NONE = 0
SK_ERROR_INVALID_DATA = 9001
SK_ERROR_INVALID_SERVER_KEY = 9002
SK_ERROR_INVALID_CLIENT_KEY = 9003
SK_ERROR_DECRYPTION_FAILED = 9004
SK_ERROR_VERIFICATION_FAILED = 9005
SK_ERROR_ENCRYPTION_FAILED = 9006
SK_ERROR_SIGNING_FAILED = 9007
SK_ERROR_SESSION_VERIFICATION_FAILED = 9008
SK_ERROR_INSTALLATIONID_REQUIRED = 9009
SK_ERROR_TRIGGER_CODE_INVALID = 9010
SK_ERROR_TRIGGER_CODE_EVENT_DATA_INVALID = 9011
SK_ERROR_INVALID_LICENSE_TYPE = 9012
SK_ERROR_XML_PARSER_FAILED = 9013
SK_ERROR_XML_NODE_MISSING = 9014
SK_ERROR_INVALID_ARGUMENTS = 9015
SK_ERROR_CONTEXT_INVALID = 9016
SK_ERROR_STRING_CONVERSION_FAILED = 9017
SK_ERROR_DATETIME_CONVERSION_FAILED = 9018
SK_ERROR_PLUS_EVALUATION_WARNING = 9019
SK_ERROR_PLUS_EVALUATION_INVALID = 9020
SK_ERROR_INVALID_PRODUCTID = 9021
SK_ERROR_INVALID_PRODUCTOPTIONID = 9022
SK_ERROR_ENVELOPE_TYPE_INVALID = 9023
SK_ERROR_INSUFFICIENT_IMAGE_SIZE = 9024
SK_ERROR_INVALID_IMAGE = 9025
SK_ERROR_WEBSERVICE_INVALID_CONFIGURATION = 9100
SK_ERROR_WEBSERVICE_CALL_FAILED = 9101
SK_ERROR_WEBSERVICE_RETURNED_FAILURE = 9102
SK_ERROR_REQUIRED_SERVER_VALIDATION_FAILED = 9103
SK_ERROR_HTTP_INITIALIZATION_FAILED = 9104
SK_ERROR_HTTP_CONNECTION_FAILED = 9105
SK_ERROR_HTTP_COULD_NOT_RESOLVE_HOST = 9106
SK_ERROR_SSL_FAILED = 9107
SK_ERROR_COULD_NOT_LOAD_LICENSE = 9200
SK_ERROR_COULD_NOT_SAVE_LICENSE = 9201
SK_ERROR_LICENSE_NOT_EFFECTIVE_YET = 9202
SK_ERROR_LICENSE_EXPIRED = 9203
SK_ERROR_LICENSE_ALIAS_VALIDATION_FAILED = 9204
SK_ERROR_LICENSE_ALIAS_VALIDATION_TIME_MISMATCH = 9205
SK_ERROR_COULD_NOT_SAVE_NETWORK_CERTIFICATE = 9206
SK_ERROR_NETWORK_CERTIFICATE_INVALID_PATH = 9207
SK_ERROR_NETWORK_CERTIFICATE_REQUIRED = 9208
SK_ERROR_COULD_NOT_DELETE_FILE = 9209
SK_ERROR_NETWORK_SEMAPHORE_INVALID_PATH = 9210
SK_ERROR_NETWORK_LICENSE_FULL = 9211
SK_ERROR_NETWORK_SEMAPHORE_LOCK_FAILED = 9212
SK_ERROR_MODULE_NOT_ACTIVE = 9213
SK_ERROR_COULD_NOT_OPEN_FILE = 9214
SK_ERROR_COULD_NOT_READ_FILE = 9215
SK_ERROR_COULD_NOT_WRITE_FILE = 9216
SK_ERROR_COULD_NOT_OPEN_REGISTRY_KEY = 9217
SK_ERROR_COULD_NOT_READ_REGISTRY_KEY = 9218
SK_ERROR_COULD_NOT_WRITE_REGISTRY_KEY = 9219
SK_ERROR_IO_OPERATION_FAILED = 9220
SK_ERROR_COULD_NOT_READ_PERMISSIONS = 9221
SK_ERROR_COULD_NOT_SET_PERMISSIONS = 9222
SK_ERROR_SSL_CERTIFICATE_EXPORT_FAILED = 9223
SK_ERROR_SSL_CERTIFICATE_UNAVAILABLE = 9224
SK_ERROR_COULD_NOT_LOAD_VOLUME_DOWNLOADABLE_LICENSE = 9225
SK_ERROR_SYSTEM_TIME_VERIFICATION_FAILED = 9300
SK_ERROR_SYSTEM_TIME_INVALID = 9301
SK_ERROR_VIRTUAL_MACHINE_DETECTED = 9302
SK_ERROR_REMOTE_SESSION_DETECTED = 9303
SK_ERROR_LICENSE_SYSTEM_IDENTIFIERS_DONT_MATCH = 9400
SK_ERROR_PLATFORM_ERROR = 9401
SK_ERROR_UNSUPPORTED_OS = 9402
SK_ERROR_MEMORY_ALLOCATION = 9403
SK_ERROR_LIBRARY_UNAVAILABLE = 9404
SK_ERROR_LIBRARY_FUNCTION_UNAVAILABLE = 9405
End Enum

Values

SK_ERROR_NONE (0)
No error.
SK_ERROR_INVALID_DATA (9001)
The presence of invalid data has been detected.
SK_ERROR_INVALID_SERVER_KEY (9002)
The presence of an invalid server key has been detected.

Only used in PLUSManaged.

SK_ERROR_INVALID_CLIENT_KEY (9003)
The presence of an invalid client key has been detected.

Only used in PLUSManaged.

SK_ERROR_DECRYPTION_FAILED (9004)
The requested decryption operation has failed.
SK_ERROR_VERIFICATION_FAILED (9005)
The requested verification operation has failed.
SK_ERROR_ENCRYPTION_FAILED (9006)
The requested encryption operation has failed
SK_ERROR_SIGNING_FAILED (9007)
The requested signing operation has failed.
SK_ERROR_SESSION_VERIFICATION_FAILED (9008)
The requested session code verification has failed.
SK_ERROR_INSTALLATIONID_REQUIRED (9009)
An Installation ID is required but is not present.
SK_ERROR_TRIGGER_CODE_INVALID (9010)
An invalid "Activation Code 1" value was entered by the user.
SK_ERROR_TRIGGER_CODE_EVENT_DATA_INVALID (9011)
An invalid "Activation Code 2" value was entered by the user.
SK_ERROR_INVALID_LICENSE_TYPE (9012)
The license type is invalid or not supported.
SK_ERROR_XML_PARSER_FAILED (9013)
The XML parser encountered an error.

Only used in PLUSNative.

SK_ERROR_XML_NODE_MISSING (9014)
The requested XML node could not be found.

Only used in PLUSNative.

SK_ERROR_INVALID_ARGUMENTS (9015)
Some or all of the arguments are invalid.

Only used in PLUSNative.

SK_ERROR_CONTEXT_INVALID (9016)
The API context passed into the function call is not valid.

Only used in PLUSNative.

SK_ERROR_STRING_CONVERSION_FAILED (9017)
A string conversion operation failed.

Only used in PLUSNative.

SK_ERROR_DATETIME_CONVERSION_FAILED (9018)
A date-time conversion operation failed.

Only used in PLUSNative.

SK_ERROR_PLUS_EVALUATION_WARNING (9019)
No error actually occurred but that an evaluation envelope is being used.
SK_ERROR_PLUS_EVALUATION_INVALID (9020)
The Protection PLUS 5 SDK evaluation is invalid or expired.
SK_ERROR_INVALID_PRODUCTID (9021)
The Product ID is not valid.
SK_ERROR_INVALID_PRODUCTOPTIONID (9022)
The Product Option ID is not valid.
SK_ERROR_ENVELOPE_TYPE_INVALID (9023)
The envelope is not valid.
SK_ERROR_INSUFFICIENT_IMAGE_SIZE (9024)
The license image is either too small to hold the license data or is under the minimum image size required.
SK_ERROR_INVALID_IMAGE (9025)
The license image is not valid.
SK_ERROR_WEBSERVICE_INVALID_CONFIGURATION (9100)
The configuration of the requested Web Service is invalid.

Only used in PLUSManaged.

SK_ERROR_WEBSERVICE_CALL_FAILED (9101)
An unexpected failure occurred during an attempt to call a Web Service.
SK_ERROR_WEBSERVICE_RETURNED_FAILURE (9102)
A call to a Web Service succeeded but the functionality of the Web Service returned an indicator of failure.
SK_ERROR_REQUIRED_SERVER_VALIDATION_FAILED (9103)
Validation against SOLO Server is required but could not be completed.
SK_ERROR_HTTP_INITIALIZATION_FAILED (9104)
The HTTP client failed to initialize.

Only used in PLUSNative.

SK_ERROR_HTTP_CONNECTION_FAILED (9105)
The server could not be reached. Verify that the computer is connected to the Internet and that the firewall/proxy is set-up properly.

Only used in PLUSNative.

SK_ERROR_HTTP_COULD_NOT_RESOLVE_HOST (9106)
The server could not be located. Verify that the computer is connected to the Internet and that the firewall/proxy is set-up properly.

Only used in PLUSNative.

SK_ERROR_SSL_FAILED (9107)
The HTTPS request failed due to an SSL related error.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_LOAD_LICENSE (9200)
License could not be loaded.
SK_ERROR_COULD_NOT_SAVE_LICENSE (9201)
License could not be saved.
SK_ERROR_LICENSE_NOT_EFFECTIVE_YET (9202)
License is not yet effective.
SK_ERROR_LICENSE_EXPIRED (9203)
License has expired.
SK_ERROR_LICENSE_ALIAS_VALIDATION_FAILED (9204)
Validation of license alias has failed.
SK_ERROR_LICENSE_ALIAS_VALIDATION_TIME_MISMATCH (9205)
Validation of license alias time has failed due to mismatch.
SK_ERROR_COULD_NOT_SAVE_NETWORK_CERTIFICATE (9206)
Network certificate could not be saved.

Only used in PLUSManaged.

SK_ERROR_NETWORK_CERTIFICATE_INVALID_PATH (9207)
The Network Certificate path does not match the path specified during checkout.

Only used in PLUSManaged.

SK_ERROR_NETWORK_CERTIFICATE_REQUIRED (9208)
A valid network session certificate is required but is not present.

Only used in PLUSManaged.

SK_ERROR_COULD_NOT_DELETE_FILE (9209)
Could not delete file.
SK_ERROR_NETWORK_SEMAPHORE_INVALID_PATH (9210)
The network path is not valid or is unavailable.
SK_ERROR_NETWORK_LICENSE_FULL (9211)
The number of allowed concurrent users has been reached.
SK_ERROR_NETWORK_SEMAPHORE_LOCK_FAILED (9212)
Failed to create network semaphore.
SK_ERROR_MODULE_NOT_ACTIVE (9213)
The activation was successful; however another activation is required to enable use of this application.
SK_ERROR_COULD_NOT_OPEN_FILE (9214)
An attempt to open a file failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_READ_FILE (9215)
An attempt to read a file failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_WRITE_FILE (9216)
An attempt to write a file failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_OPEN_REGISTRY_KEY (9217)
An attempt to open a registry key failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_READ_REGISTRY_KEY (9218)
An attempt to read a registry key value failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_WRITE_REGISTRY_KEY (9219)
An attempt to write a registry key value failed.

Only used in PLUSNative.

SK_ERROR_IO_OPERATION_FAILED (9220)
An attempt to perform an I/O operation failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_READ_PERMISSIONS (9221)
An attempt to read a file or registry key's permissions failed.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_SET_PERMISSIONS (9222)
An attempt to set a file or registry key's permissions failed.

Only used in PLUSNative.

SK_ERROR_SSL_CERTIFICATE_EXPORT_FAILED (9223)
Failed to export the SSL client certificate bundle.

Only used in PLUSNative.

SK_ERROR_SSL_CERTIFICATE_UNAVAILABLE (9224)
The client certificate for SSL communication could not be found.

Only used in PLUSNative.

SK_ERROR_COULD_NOT_LOAD_VOLUME_DOWNLOADABLE_LICENSE (9225)
The volume or downloadable license file could not be found or loaded.
SK_ERROR_SYSTEM_TIME_VERIFICATION_FAILED (9300)
Verification of system time has failed.
SK_ERROR_SYSTEM_TIME_INVALID (9301)
System time is not valid.
SK_ERROR_VIRTUAL_MACHINE_DETECTED (9302)
The application determined it is running in a virtual machine.
SK_ERROR_REMOTE_SESSION_DETECTED (9303)
The application determined it is running in a remote session.
SK_ERROR_LICENSE_SYSTEM_IDENTIFIERS_DONT_MATCH (9400)
License system identifiers do not match.
SK_ERROR_PLATFORM_ERROR (9401)
Platform specific API or system call fails.

Only used in PLUSNative.

SK_ERROR_UNSUPPORTED_OS (9402)
The current operating system is not supported by this feature or function.
SK_ERROR_MEMORY_ALLOCATION (9403)
Memory could not be allocated.

Only used in PLUSNative.

SK_ERROR_LIBRARY_UNAVAILABLE (9404)
Required system library is missing for failed to load.

Only used in PLUSNative.

SK_ERROR_LIBRARY_FUNCTION_UNAVAILABLE (9405)
Required library function is missing.

Only used in PLUSNative.