Informix Error -25769: Cannot access the specified connect script file.
Cause and resolution
Cannot access the specified connect script file.
The specified connect script file does not exist or does not have the correct permissions. Check the spelling of the filename. Check that the file exists in the path that the ANSAPI environment variable specifies, or in the current directory if ANSAPI is not set.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25769 fires when the named connect script file doesn't exist or has incorrect permissions — per the official guidance.
- The connect script file missing or having wrong permissions, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the spelling of the filename, per the official guidance.
- Check that the file exists in the
ANSAPIpath (or current directory ifANSAPIis unset), per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an inaccessible connect script file.
Diagnostic Checks
- Check the connect script filename's spelling, its permissions, and its location
relative to
ANSAPI.
Related Errors / Related Topics
- -25768 — "Connect Script parameter is required." A related connect-script error, on the parameter being blank rather than the named file being inaccessible.
- -25771 — "Cannot access the specified disconnect script file." The equivalent error, for the disconnect script instead of the connect script.
The named connect script file was inaccessible — check its spelling, permissions, and
location relative to ANSAPI.