Informix Error -41006
-41006 Protocolname is not in the [INET_PROTOCOL] section of the INFORMIX.INI
file.Check the INFORMIX.INI file. The protocol name that is specified in the [INET_CONNECTION] section should match the protocol name that is specified in the [INET_PROTOCOL] section. The protocol name must define the correct .DLL module for that protocol. If you are using an IPX/SPX protocol, then ipx=INETIPX.DLL. If you are using a Windows Sockets 1.1-compliant TCP/IP protocol, then tcpip=INETWSOK.DLL.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-41006 fires when the protocol name given in [INET_CONNECTION] has no matching entry in
[INET_PROTOCOL] — per the official guidance, the entry must map the protocol name to the
correct .DLL module (e.g. ipx=INETIPX.DLL for IPX/SPX, tcpip=INETWSOK.DLL for a
Windows Sockets 1.1-compliant TCP/IP protocol).
- The
[INET_CONNECTION]protocol name having no corresponding entry in[INET_PROTOCOL], per the official guidance — the direct, only cause.
Solutions / Resolution
- Add a matching entry to
[INET_PROTOCOL]mapping the protocol name to its correct.DLLmodule, per the official guidance.
Examples
A matching protocol/DLL mapping
[INET_CONNECTION]
protocol=tcpip
[INET_PROTOCOL]
tcpip=INETWSOK.DLL
Diagnostic Checks
- Compare the protocol name in
[INET_CONNECTION]against[INET_PROTOCOL]'s entries, and add the missing mapping to the correct.DLLmodule.
Related Errors / Related Topics
- -41004 — "The INFORMIX.INI file does not have a protocolname or has a format error."
A related protocol-configuration error, on the
[INET_CONNECTION]protocol name itself being missing or malformed rather than unmatched. - -41005 — "Error in reading the [INET_PROTOCOL] section of the INFORMIX.INI file." A
related
[INET_PROTOCOL]configuration error, on the section heading itself.
The protocol named in [INET_CONNECTION] has no matching [INET_PROTOCOL] entry — add the
mapping to the correct .DLL module.