DeployLX Software Protection System

Common Errors

Errors returned at any time.

Validation Errors

Errors that can occur when attempting to locate and validate a license.

E_AdminRequiredFirstRun

"An administrator must run the application at least once before limited users can be validated."

 

E_AspNetNotBuffered

"ASP.NET Page must be buffered. Set Buffer="true" in the <%@ Page %> directive."

 

E_CacheReset

"License cache was reset during validation."

License was performing delayed validation and the cache was reset before it could finish processing.

E_CannotValidateSignature

"Cannot validate signature. Try validating in Developer Mode to capture details."

Occurs when an unanticipated exception is thrown while the signature is being validated.

E_CouldNotAcquireSecureStorage

"Could not acquire secure storage."

 

E_CouldNotGrant

"Could not grant license."

 

E_CouldNotValidate

"Could not validate license "License" in {1}."

DeployLX attempted to validate the license but either the license or one of its limits was not valid.

E_CouldNotValidateCached

"Could not grant cached license "License" in License File. Will retry with full validation."

When trying to issue a cached license DeployLX encountered an error and the cached instance cannot be used. Validation will restart as if no cached licenses were available.

E_DelayedFailed

"Delayed validation failed."

While performing the delayed validation checks the license could not be validated.

E_ErrorLoadingLicenseFile

"Error loading license file at {0}."

 

E_InvalidPublicKey

"Invalid public key."

 

E_InvalidSearchPath

"Invalid search path: {0}."

 

E_InvalidSignature

"The license has been modified."

This error can occur when the license file has been modified outside of the DeployLX manager and the license was not resigned. Be sure to call SignLicense with the associated LicenseKey when modifying licenses in on the server.

E_MissingPublicKey

"Missing public key in assembly {0}."

The DeployLXKeys file has not been added to the assembly. Use the Project Wizard to add the keys to the assembly.

E_NoCompiledLicenses

"No compiled licenses found."

 

E_NoComponentInLicense

"The Component Type component is not controlled by this license."

Returned when a protected class is not found in the licenses classes collection. Only applies when the classes collection has at least one class defined.

E_NoLicense

"A valid license could not be obtained for 'Product Name'. Please contact {1} for assistance."

 

E_NoLicensesFound

"No licenses found in {0}."

 

E_NoLicensesFoundSummary

"No licenses found."

 

E_OriginalUpdated

"The original license file at 'Path' has been updated, replacing mirrored copy."

When modifications to the license need to be saved but DeployLX cannot write to the original file a copy is made in shared storage. This error can occur when attempting to validate the copy when the original has been updated.

E_RetriedTooManyTimes

"License validation retried too many times."

Licenses can be modified at the server and updated on the local machine. When this happens validation restarts with the new updated license. Retrying too many times results in an error to prevent lockups.

E_RSADenied

"Access to the RSA algorithm has been blocked on this machine. Please contact your system administrator to enable access."

 

E_SkipTrial

"License in License File skipped, trial licenses are disabled."

When the trials are disabled in the application .config file this error will be returned for all trial licenses so they cannot be used.

E_StoppedLooking

"Stopped looking for additional licenses."

When a license with HardFailureOnFormShown set displays a form and is not valid then the license manager will stop looking for additional licenses.

E_UnexpectedValidate

"An unexpected error occurred while validating."

 

E_ValidationOverflow

"Too many pending delayed validations."

Too many license validation requests have been submitted simultaneously and there are too many pending delayed validation requests.

E_WebImpersonationNotAllowed

"Impersonation is not allowed until an administrator has signed into the application at least once."

 

Common Limit Errors

Each limit defines errors specific to it's implementation. This group of errors is shared across all limits.

E_CannotChangeAssociatedLicense

"The license object has already been set and cannot be changed."

 

E_DelayAlreadyRegistered

"Already registered for delayed validation."

 

E_DelayedWithoutListeners

"No one listening for delayed validation events. You must subscribe to the SecureLicenseManager.DelayValidationFailed event before calling Validate."

 

E_InvalidCustomGuiType

"{0} is not a valid custom form type. Must derive either from SuperFormPanel or ICustomForm."

 

E_InvalidPageId

"The 'Limit Name' limit does not support the page id '{1}' or it was not found."

 

E_LimitDoesNotExist

"Could not find a limit named 'Limit Name'."

When using custom limits you must use the assembly qualified name of the type and ensure that the assembly is installed in the GAC or in the application folder.

E_PersistentDataMustBePrimitive

"Persistent data must be one of the primitive types or a string value."

 

E_TemplateVariableValueMismatch

"The number of values and variables must be the same."

 

License Serialization Errors

Errors that occur when a license is serialized, saved or loaded from disk.

E_CannotSaveEncryptedWithoutKey

"Cannot save a modified license without a key for encryption."

 

E_CannotSaveLicenseInvalid

"License "{0}" is in an invalid state and cannot save."

 

E_CouldNotLoadLicenseFile

"Could not load license file."

 

E_InvalidLicenseFile

"Invalid license file."

 

E_InvalidVersion

"Invalid license format version. Expected 3.0, 4.0 or 5.0."

 

E_LicenseStillEncrypted

"The license is still encrypted and the internal properties cannot be accessed. To decrypt you must validate the license."

The license must be decrypted before it can be modified. Use the DecryptLicense method of the LicenseKey class to make the license editable.

E_LimitValueMismatch

"'Value' does not match the expected value for the '{1}' attribute."

 

E_MissingXmlAttribute

"The 'Attribute Name' attribute is missing on the <{1}> element."

 

E_OldVersion

"The file at 'Location' uses an older license system."

This can occur when the application folder contains licenses from earlier versions of DeployLX or XHEO|Licensing.

Serial Number, Activation and Extension Code Errors

The following errors can occur when processing or validating license codes such as serial numbers, activation codes and extensions.

E_CouldNotInitializeFromSerialNumber

"Could not initialize the license state from the serial number."

 

E_InvalidCharacterSet

"Invalid character set. You can only use upper case letters and numbers and each character may appear only once."

 

E_InvalidSerialNumber

"{0} is not a valid serial number."

 

E_MissingSerialNumber

"License has not been unlocked with a serial number."

 

E_MissingSerialNumberUpgrade

"Serial number for previous version not provided."

Occurs when a license contains an Upgrade Limit but the serial number for the original version was not provided

E_Only8FlagsAllowed

"Only 8 flags can be set in a serial number."

 

E_ProcessorAlreadyRegistered

"A processor has already been registered for that assembly and algorithm."

 

E_ProcessorMethodNotFound

"The method '{0}' was not found on the processor."

The method declared when the custom code processor was registered could not be found on the target object. Check the spelling

E_RequestingNewSerialNumber

"New serial number required."

 

E_SerialNumberMismatch

"Invalid serial number. Must begin with {0}. Try setting SerialNumberInfo.Prefix instead."

 

Server Errors

Errors that can occur specifically when trying to contact a license server.

E_InvalidResponseFromServer

"Invalid response received from the server."

 

E_ReferenceLimitMustBeInReferenceLicense

"Reference limit must be contained by the reference license."

When calling the server and passing a reference to a limit and a license, the limit must exist in the license.

E_UnexpectedErrorFromServer

"Unexpected error while contacting {0}."

 

Runtime Errors

E_AbortedByUser

"Action aborted by user."

 

E_CouldNotCreateEmail

"Could not create email. Try copying to the clipboard instead."

 

E_FormClosed

"The form was closed before the operation was completed."

 

E_InvalidIdForLicense

"Cannot set reference with different license ids."

 

E_InvalidRegistryKey

"'{0}' is not a valid registry key."

 

E_InvalidUrl

"{0} is not a valid URL. URLs must be fully qualified including the scheme prefix such as http:// or asmres://."

 

E_LicenseReadOnly

"The license cannot be modified at this time."

 

E_LimitDoesNotBelongToLicense

"The limit does not belong to this license."

 

E_PropertyAtLeast

"Property Name must be at least {1}."

 

E_PropertyCannotBeNull

"{0} cannot be null."

 

E_PropertyNotSet

"The Property Name property of the Object Name object must be set."

Some properties must be set in a specific order. This error occurs when you attempt to assign a value to one property before a dependent property has been set.

E_ReadOnlyObject

"The {0} object is read only and cannot be modified."

 

E_ReadOnlyProperty

"The Property Name property has already been set and cannot be modified."

Can occur when you try to set a property more than once that can not be modified after being assigned it's initial value.

E_SecureStorageTampered

"Detected tampering or unauthorized removal of secure storage."

 

E_UnbalancedUpdate

"Unbalanced BeginUpdate/EndUpdate."

 

E_UnknownVersionValue

"'{0}' is not a valid version number."

 

Configuration Errors

Errors that occur when reading configuration settings from the application's .config file or the registry.

E_ConfigurationCannotUseAnd

"Cannot use 'Element1 Name' and 'Element2 Name' in the same <{2}> element."

 

E_ConfigurationUnexpected

"Unexpected error while reading configuration file."

 

E_InvalidConfigurationTag

"'{0}' is not one of the expected tags for the <licensing> configuration section."

 

E_InvalidConfigurationValue

"'Value' is not one of the expected values for the Configuration Node configuration property. Use one of the following: {2}."

 

E_MissingConfigurationAttribute

"The 'Attribte Name' attribute is missing on the <{1}> element."

 

E_UnknownConfigurationAttribute

"The 'Attribte Name' attribute is not valid on the <{1}> element."

 

See Also