Informix Error -25771: Cannot access the specified disconnect script file.
Cause and resolution
Cannot access the specified disconnect script file.
The specified disconnect 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
-25771 fires when the named disconnect script file doesn't exist or has incorrect permissions — per the official guidance.
- The disconnect 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 disconnect script file.
Diagnostic Checks
- Check the disconnect script filename's spelling, its permissions, and its location
relative to
ANSAPI.
Related Errors / Related Topics
- -25769 — "Cannot access the specified connect script file." The equivalent error, for the connect script instead of the disconnect script.
- -25770 — "Disconnect Script parameter is required." A related disconnect-script error, on the parameter being blank rather than the named file being inaccessible.
The named disconnect script file was inaccessible — check its spelling, permissions, and
location relative to ANSAPI.