Informix Error -12804: Error indicated by an access_method routine.
Cause and resolution
Error indicated by an access_method routine.
An access_method routine returned MI_ERROR.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12804 fires when an access-method routine returns MI_ERROR — per the official
guidance.
- The routine itself returning
MI_ERROR, per the official guidance — the direct, only cause.
Solutions / Resolution
- Investigate the specific access-method routine's error condition — per the official guidance's framing, the routine itself signaled the failure, so the routine's own documentation or implementation is the place to look.
Examples
N/A
No specific triggering statement is documented beyond a routine explicitly returning
MI_ERROR.
Diagnostic Checks
- Identify which access-method routine returned
MI_ERROR, and check its documentation or logs for the specific condition it detected.
Related Errors / Related Topics
- -12803 — "Error in executing an access_method routine execution sequence." A
related execution error, about a generic execution failure rather than an explicit
MI_ERRORreturn. - -12805 — "Improper return value from access_method routine." A related return-value error, about an invalid (not merely error) return value.
An access-method routine explicitly returned MI_ERROR — check that routine's own error
condition.