Informix Error -11303: Input Connection string too large.
Cause and resolution
Input Connection string too large.
This Informix CLI error code is an extended message to SQLSTATE value S1000. Informix CLI functions that can generate this error: SQLDriverConnect and SQLBrowseConnect.
Length of the connection string should be less than 1024 bytes.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11303 fires when a connection string exceeds the maximum allowed length — per the official
guidance, an extended message on SQLSTATE value S1000, returnable by SQLDriverConnect and
SQLBrowseConnect.
- A connection string of 1024 bytes or more, per the official guidance — the direct, only cause.
Solutions / Resolution
- Shorten the connection string to less than 1024 bytes, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an over-length connection string.
Diagnostic Checks
- Check the connection string's byte length, and shorten it below 1024 bytes.
Related Errors / Related Topics
- -11302 — "Insufficient Connection information was supplied." A related connect-string error, about missing required values rather than an over-length string.
The connection string is 1024 bytes or longer — shorten it.