Informix Error -25755: Cannot read host configuration file.
Cause and resolution
Cannot read host configuration file.
DataExtract cannot read the host configuration file, config.txt. The file is in the path that the ANSAPI environment variable specifies, or in the current directory if ANSAPI is not set. Verify that the file and path have the correct permissions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25755 fires when DataExtract can't read its host configuration file (config.txt) — per
the official guidance, this file lives in the path the ANSAPI environment variable
specifies, or the current directory if ANSAPI is unset.
- Incorrect permissions on the file or its path, per the official guidance — the direct, only cause.
Solutions / Resolution
- Verify the file and path have correct permissions, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a failed read of config.txt.
Diagnostic Checks
- Check
config.txt's permissions, in theANSAPIpath or current directory.
Related Errors / Related Topics
- -25756 — "Cannot read local configuration file." A related configuration-file
error, on
openview.cfgrather thanconfig.txt.
DataExtract couldn't read config.txt — check its permissions.