Informix Error -9720: Module name or language name specified is not valid.
Cause and resolution
Module name or language name specified is not valid.
The module name or language name that you specified in the ifx_replace_module() or ifx_unload_module() function call is not valid. The only valid language name for these functions is C.
Check the module names for correctness. Check if module path is included in the values for the DB_LIBRARY_PATH configuration parameter. Replace the module name or language name, or update the value of DB_LIBRARY_PATH, and execute the function again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9720 fires when ifx_replace_module() or ifx_unload_module() is called with an invalid
module name or language name — per the official guidance; the only valid language name for
these functions is C.
- An invalid module name, per the official guidance — the first named cause.
- A language name other than C, per the official guidance — the second named cause.
Solutions / Resolution
- Check the module name for correctness, per the official guidance.
- Check whether the module's path is included in DB_LIBRARY_PATH, per the official guidance.
- Replace the module name or language name, or update DB_LIBRARY_PATH, and execute the function again, per the official guidance.
Examples
Checking DB_LIBRARY_PATH
SELECT DBINFO('setting', 'DB_LIBRARY_PATH') FROM systables WHERE tabid = 1;
Diagnostic Checks
- Check the module name's correctness, the language name (must be C), and whether DB_LIBRARY_PATH includes the module's path, correcting whichever is at fault.
Related Errors / Related Topics
- -9721 — "Module name could not be unloaded while in use." A related module- management error, on the module still being in use rather than an invalid name.
ifx_replace_module()/ifx_unload_module() was called with an invalid module or language
name — check the module name, that language is C, and DB_LIBRARY_PATH.