Informix Error -11050: Driver name too long.
Cause and resolution
Driver name too long.
This Informix CLI error code is the same as SQLSTATE value IM011. The following functions can return this error code: SQLBrowseConnect() and SQLDriverConnect().
The attribute value for the DRIVER keyword is more than 255 characters. Use a keyword that is less than 255 characters.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11050 fires when the DRIVER keyword's attribute value exceeds 255 characters — per the
official guidance, this is the same as SQLSTATE value IM011, returnable by
SQLBrowseConnect() and SQLDriverConnect().
- A
DRIVERkeyword value longer than 255 characters, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a keyword value shorter than 255 characters, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an over-length DRIVER keyword value.
Diagnostic Checks
- Check the length of the
DRIVERkeyword's value, and shorten it below 255 characters.
Related Errors / Related Topics
- -11049 — "Data source name too long." The same class of over-length-identifier error,
for the data source name rather than the
DRIVERkeyword.
The DRIVER keyword's value exceeds 255 characters — shorten it.