Error codes
Following is the list of error codes supported in CGIexecutor version 1.01
- Error 0
Reserved.
- Error 1
CONTENT_LENGTH variable is not passed.
This error is no longer generated by CGIExecutor.
- Error 2
Error reading STDIN.
This error is generated if CGIexecutor can't read number of bytes specified in
CONTENT_LENGTH variable.
On this error CGIexecutor always responses with internal error message.
- Error 3
Not enough memory.
This error occurs if CGIexecutor fails to allocate memory required to operate properly.
- Error 4
Name of configuration file is not passed.
CGIexecutor expects name of configuration file to be passed as command line parameter.
If this is not case it generates error with this code.
If this error occurs check calling HTML code to see if the name of configuration file
is correctly passed, also be sure to use POST method for calling CGIexecutor.
On this error CGIexecutor always responses with internal error message.
- Error 5
Syntax error in configuration file.
This error is generated when CGIexecutor finds unexpected line in configuration file.
Also check if all variable names in configuration file are written correctly.
- Error 6
Reserved.
- Error 7
Error reading configuration file.
This error is generated when configuration file is successfully opened but CGIexecutor
can't read complete file.
On this error CGIexecutor always responses with internal error message.
- Error 8
Error reading response template.
This error is generated when response template is successfully opened but CGIexecutor
can't read complete file.
- Error 9
Error reading error template.
This error is generated when error template is successfully opened but CGIexecutor
can't read complete file.
On this error CGIexecutor always responses with internal error message.
- Error 10
Error reading input template.
This error is generated when input template is successfully opened but CGIexecutor
can't read complete file.
- Error 11
Internal error.
- Error 12
Error opening response template.
This error is generated when CGIexecutor fails to open response template.
If this error occurs check if TEMPLATE variable points to an existing file,
also check access permissions for that file.
All variables pointing to files are expected to contain path relative to
cgiexec.exe or an absolute path.
- Error 13
Error opening input template.
This error is generated when CGIexecutor fails to open input template.
If this error occurs check if CMDINTEMPLATE variable points to an existing file,
also check access permissions for that file.
All variables pointing to files are expected to contain path relative to
cgiexec.exe or an absolute path.
- Error 14
Error opening error template.
This error is generated when CGIexecutor fails to open error template.
If this error occurs check if ERRTEMPLATE variable points to an existing file,
also check access permissions for that file.
All variables pointing to files are expected to contain path relative to
cgiexec.exe or an absolute path.
- Error 15
Error opening configuration file.
This error is generated when CGIexecutor fails to open configuration file.
If this error occurs name of configuration file passed to CGIexecutor
points to an existing file.
All variables pointing to files are expected to contain path relative to
cgiexec.exe or an absolute path.
On this error CGIexecutor always responses with internal error message.
- Error 16
Reserved.
- Error 17
Reserved.
- Error 18
Internal error.
- Error 19
Reserved.
- Error 20
Internal error.
- Error 21
Reserved.
- Error 22
External program has returned error code different than 0.
When ERRLVL variable is set to CHECK CGIexecutor will check return value of
executed program and will generate this error if that value is different than 0.
- Error 23
Reserved.
- Error 24
This error will be generated if CGIexecutor finds required variable with value
which is not set.
[Top of page][Home]