Informix Error -25712: Routine <routine_name> cannot be called from a remote server. </routine_name>
Cause and resolution
Routine <routine_name> cannot be called from a remote server. </routine_name>
The database server cannot access the routine <routine_name> from a remote database server. </routine_name>
Install <routine_name> on your local database server before calling it. </routine_name>
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25712 fires when a remote database server tries to access a routine that isn't installed locally — per the official guidance.
- The named routine not installed on the local database server, per the official guidance — the direct, only cause.
Solutions / Resolution
- Install the named routine on your local database server before calling it, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond calling an uninstalled remote routine.
Diagnostic Checks
- Check whether the named routine is installed on the local server, and install it if not.
Related Errors / Related Topics
- -25710 — "Invalid routine structure in server to server fastpath call." A related fastpath error, on an invalid routine structure.
- -25711 — "No more than three connections can be involved in a single fastpath call." A related fastpath error, on connection-count limits.
- -25713 — "Attempting to run a cross server routine <routine_name> in parallel." A related server-to-server fastpath error, on parallelizability.
A remote server tried to call a routine not installed locally — install the routine on the local server first.