Informix Error -11302: Insufficient Connection information was supplied.
Cause and resolution
Insufficient Connection information was supplied.
This Informix CLI error code is an extended message to SQLSTATE value S1000. Informix CLI functions that can generate this error: SQLConnect and SQLDriverConnect.
Check the connect string passed to SQLDriverConnect for accurate information or check the DSN entries. You must supply the required values to connect.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11302 fires when a connection attempt lacks required information — per the official
guidance, an extended message on SQLSTATE value S1000, returnable by SQLConnect and
SQLDriverConnect.
- The connect string or DSN entries missing required connection values, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the connect string passed to
SQLDriverConnectfor accurate information, per the official guidance. - Check the DSN entries, per the official guidance, and supply the required values to connect.
Examples
N/A
No specific triggering statement is documented beyond a missing required connection value.
Diagnostic Checks
- Review the connect string/DSN entries against the full list of values required to connect.
Related Errors / Related Topics
- -11303 — "Input Connection string too large." A related connect-string error, about the string exceeding the length limit rather than lacking required values.
A connection attempt was missing required information — check the connect string/DSN entries.