Developer Documentation Library > Data Model > UNICOM Intelligence Data Model reference > Metadata Model to Quantum component > Metadata Model to Quantum ErrorConstants
 
Metadata Model to Quantum ErrorConstants
ERR_ALLOCATE_MASK_ INVALID
Value: 0x8004020A
The AllocateMask property is not valid. Perhaps because it contains characters not in the PunchMask.
Returned by: AllocateMask
ERR_CANNOT_IMPORT_ VERSION_LOCKED
Value: 0x80040219
Unable to import Analysis Values from DataMap because the current metadata version is locked. CardCol values have been successfully imported. A new unlocked metadata version should be created before importing Analysis Values.
Returned by: ReadFromFile
ERR_CARD_SIZE_INVALID
Value: 0x80040207
The CardSize must be 0 when there is no serial variable.
Returned by: CardSize
ERR_DOC_CANNOT_ REMOVE_REGULAR_VAR
Value: 0x80040213
Cannot remove custom property from one or more regular variables (and possibly one or more system variables) in the MDM document. It is possible that the current version is locked.
Returned by: ClearCardColPunch, ClearVariable, ClearVariables
ERR_DOC_CANNOT_ REMOVE_SYS_VAR
Value: 0x8004020B
Cannot remove custom property from a system variable in the MDM document. It is possible that the current version is locked. Note that this error can occur when you have not made any allocations, because the system variables always have predefined allocations.
Returned by: ClearCardColPunch, ClearVariable, ClearVariables
ERR_DOC_NEEDS_RESET
Value: 0x8004020D
This error occurs if a new .mdd file is opened without resetting it into the Metadata Model to Quantum object.
Returned by: Most of the properties and methods.
ERR_DOC_NO_VERSIONS
Value: 0x80040205
The MDM Document must contain a version if Custom properties are used to store card and column information. Custom properties are no longer used to store card and column information so this error should not be raised.
ERR_DOC_NOT_READ_ WRITE
Value: 0x80040202
The MDM Document has not been opened for read-write access. The Metadata Model to Quantum component requires the ability to write to the MDM Document.
Returned by: MDMDocument
ERR_DOC_NOT_SET
Value: 0x80040205
The Metadata Model to Quantum object has not been initialized with an MDM document.
Returned by: Most of the properties and methods.
ERR_DOC_VERSION_ LOCKED
Value: 0x80040203
The MDM Document must contain an unlocked version if Custom properties are used to store card and column information. Custom properties are no longer used to store card and column information so this error should not be raised.
ERR_FILE_INVALID
Value: 0x80040214
The format of the file specified to ReadFromCommaSeparatedFile or ReadFromFile is not correct.
Returned by: ReadFromCommaSeparated File, ReadFromFile
ERR_FILE_NOT_FOUND
Value: 0x80040215
The file specified to ReadFromCommaSeparatedFile or ReadFromFile does not exist.
Returned by: ReadFromCommaSeparated File, ReadFromFile
ERR_NO_DATASOURCE
Value: 0x80040209
The MDM Document does not contain a valid DataSource object for Quantum DSC.
Returned by: MDMDocument
ERR_PUNCH_MASK_ INVALID
Value: 0x80040208
The PunchMask property is not valid. The PunchMask property must not contain more than 12 characters, all of the characters must be printable, and an asterisk (*) or space character ( ) must not be used.
Returned by: PunchMask
ERR_READING_CSV
Value: 0x80040217
There was an issue reading from the .csv. The description will contain details of the issue.
Returned by: ReadFromFile
ERR_SEPARATOR_INVALID
Value: 0x80040216
The separator specified to WriteToFile is invalid. Invalid separators are period (.), underscore(_), space ( ), ampersand (&), at (@), and semicolon (;).
Returned by: WriteToFile
ERR_SERIALFULLNAME_ DOES_NOT_EXIST
Value: 0x80040206
The variable name referenced by the SerialFullName property does not exist in the MDM document.
Returned by: AllocateCardColPunch, AllocateVariables, CheckCardColPunch, SerialFullName, WriteToCommaSeparated File
ERR_SERIALFULLNAME_ INVALID
Value: 0x80040212
The variable referenced by the SerialFullName property is not suitable for use as a serial number variable. (Only variables of type Long, Double, or Text are valid.)
Returned by: SerialFullName
ERR_SERIALFULLNAME_ REQUIRED
Value: 0x80040218
A SerialFullName is required if CardSize is not equal to 0.
Returned by: SerialFullName
ERR_VARIABLE_ARRAY_ NOT_INITIALIZED
Value: 0x80040211
The array of variable names has not been initialized.
Returned by: AllocateVariables, ClearVariables
ERR_VARIABLE_DOES_ NOT_EXIST
Value: 0x8004020E
The VariableInstance that you have chosen to clear does not exist in the MDM Document.
Returned by: AllocateVariables, ClearVariable, ClearVariables
See also
Metadata Model to Quantum component