Informix Error -921
-921 System error. Illegal or wrong number of arguments to sqlexec server.
This internal error reflects a failure in communications between your application and the database server on the other computer system. Check that all software components are at compatible software levels. Recompile and relink your application program if necessary. If the problem recurs, note all circumstances and contact IBM Informix Technical Support.
For a Windows system, check your Client Installation and Configuration Guide for information about using Setnet32 to set the environment variables that affect client-server communications.
For versions prior to Version 6.0, see the appropriate IBM Informix NET/Informix STAR Installation and Configuration Guide for a compatibility chart.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-921 is closely related to -919: a communication failure between the application and the remote
sqlexec server — per the official guidance, the same version-compatibility resolution path
applies, with an additional Windows-specific note about Setnet32.
- Incompatible software levels across the application and remote database server, per the official guidance — the same general cause as -919.
- On Windows specifically, client-server communication environment variables misconfigured,
per the official guidance's pointer to
Setnet32.
Solutions / Resolution
- Check that all software components are at compatible software levels, per the official guidance.
- Recompile and relink your application program, per the official guidance, if necessary.
- On a Windows system, check your Client Installation and Configuration Guide for using
Setnet32to set the environment variables affecting client-server communications, per the official guidance. - For versions prior to 6.0, consult the IBM Informix NET/Informix STAR Installation and Configuration Guide's compatibility chart, per the official guidance.
- If the problem recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
Checking Windows client environment settings via Setnet32
Setnet32.exe
-- review/adjust INFORMIXSERVER and related client-server communication
-- settings, per the Windows Client Installation and Configuration Guide
Diagnostic Checks
- Check version compatibility across the application and remote server.
- On Windows, check
Setnet32settings for client-server communication environment variables.
Related Errors / Related Topics
- -919 — "System error. Wrong number of arguments to database server process." A closely related internal communication error, sharing the same version-compatibility resolution path.
- -918 — "Unexpected data received from another database server." A related internal protocol-level error.
The same version-compatibility check as -919, plus a Windows-specific Setnet32 check for
client-server communication settings.