FormDirector uses error codes to indicate very specific reasons for an exception that occurred in processing. These error codes may be present in the debug log file generated by FormDirector, and they may also be accessed through the Number property of the various exception types thrown by FormDirector.
The table below gives a description of each of the error codes.
Error Codes |
Description |
Message |
18000 |
Out of memory |
Out of memory. |
18001 |
Invalid parameter |
Invalid Parameter. |
18005 |
Invalid bitmap |
Invalid Bitmap. |
18006 |
Invalid license |
Invalid License. |
18008 |
Unknown |
FormDirector internal error. General exception. |
18011 |
Invalid Form Definition File |
The root <Form> element was not found in the specified file. |
18012 |
Form Definition version missing |
The version is missing in the specified file. |
18013 |
Form Definition version newer |
The version of the specified file is newer than expected. |
18014 |
Form Definition version older |
The version of the specified file is older than expected. |
18015 |
Bad image data length |
The template image length is invalid in the specified file. |
18016 |
Form set found on form read |
A form set file was detected during a form definition file read. |
18020 |
Invalid form set file |
The root <FormSet> element was not found in the specified file. |
18021 |
Form set version missing |
The version is missing in the specified file. |
18022 |
Form set version newer |
The version of the specified file is newer than expected. |
18023 |
Form set version older |
The version of the specified file is older than expected. |
18024 |
Form found on form set read |
A form definition file was detected during a form set file read. |
18030 |
Initialization error |
An error occurred while initializing the file reader system. |
18031 |
Termination |
An error occurred while terminating the file reader system. |
18032 |
Form Fix File unsupported |
This file is a FormFix version 2 table file and it is unsupported by this component. |
18033 |
Form FDT file unsupported |
This file is a SmartScan Xpress FDT file and it is unsupported by this component. |
18034 |
Form Prizm file unsupported |
This file is a PrizmIP file and it is unsupported by this component. |
18040 |
File not found |
The specified file was not found for the current Read operation. |
18041 |
Path not found |
The specified path of the filename was not found. |
18042 |
File already locked |
The file is in use by another process, and cannot be opened. |
18043 |
File open |
The file open operation could not be completed. |
18044 |
File close |
The file close operation could not be completed. |
18045 |
File write error |
The file write operation could not be completed. |
18046 |
File read |
The file read operation could not be completed. |
18047 |
File not locked |
The current file has not been locked. |
18048 |
Invalid filename |
The Filename property has not been set. |
18049 |
File reset |
The file reset operation could not be completed. |
18050 |
Invalid file format |
The input file is invalid or corrupt and could not be parsed. |
18055 |
PIC tools error |
An Accusoft OpCode returned an error. See log file for more information. |
18056 |
Null input image |
The input HDIB or HBITMAP handle is null. |
18057 |
Null compressed data |
The input compressed image data is null. |
18058 |
Zero compressed data length |
The input compressed image data length is less than or equal to 0. |
18059 |
Load OpCode error |
An Accusoft OpCode failed to load from this component's resources. |
18060 |
Unsupported image |
The FormDirector component only allows 1 bit per pixel (bitonal) images. |
See Also