Informix Error -11099: Invalid name of File DSN
Cause and resolution
Invalid name of File DSN
This Informix ODBC error code is the same as SQLSTATE value IM014. The following function can return this error code: SQLDriverConnect.
For SQLDriverConnect, the string in InConnectionString contained a FILEDSN keyword, but the name of the .DSN file was invalid.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11099 fires when SQLDriverConnect's connection string includes an invalid FILEDSN
value — per the official guidance, this is the same as SQLSTATE value IM014.
- A
FILEDSNkeyword whose named.DSNfile is invalid, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check that the
.DSNfile named byFILEDSNexists and is correctly named, per the official guidance's implication.
Examples
N/A
No specific triggering statement is documented beyond an invalid .DSN filename.
Diagnostic Checks
- Check the
FILEDSNvalue in the connection string, and confirm the.DSNfile exists at that name/path.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11099 in this set yet.
SQLDriverConnect's FILEDSN keyword named an invalid .DSN file — check the file's name
and existence.