Informix Error -41005
-41005 Error in reading the [INET_PROTOCOL] section of the INFORMIX.INI file.
Check the [INET_PROTOCOL] section of the INFORMIX.INI file to make sure this section has the following section heading:
[INET_PROTOCOL]
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-41005 fires when the legacy IBM Informix NET for Windows client can't read the
[INET_PROTOCOL] section of INFORMIX.INI — per the official guidance.
- The
INFORMIX.INIfile missing the[INET_PROTOCOL]section heading, per the official guidance — the direct, only cause.
Solutions / Resolution
- Confirm the
[INET_PROTOCOL]section heading is present inINFORMIX.INI, per the official guidance, exactly as[INET_PROTOCOL].
Examples
The required section heading
[INET_PROTOCOL]
tcpip=INETWSOK.DLL
Diagnostic Checks
- Open
INFORMIX.INIand confirm the[INET_PROTOCOL]heading is present and correctly spelled, adding it if missing.
Related Errors / Related Topics
- -41006 — "Protocolname is not in the [INET_PROTOCOL] section of the INFORMIX.INI
file." A related
[INET_PROTOCOL]configuration error, on a missing matching protocol entry rather than the section heading itself.
The [INET_PROTOCOL] section heading is missing from INFORMIX.INI — add it.