Informix Error -26457: The trusted context <context-name> already exists. </context-name>
Cause and resolution
The trusted context <context-name> already exists. </context-name>
The context name is already defined in the database. For CREATE TRUSTED CONTEXT or ALTER TRUSTED CONTEXT statement, a trusted context with the specified name already exists. Verify that you have specified the correct context name and that you are in the correct database.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26457 fires when CREATE TRUSTED CONTEXT/ALTER TRUSTED CONTEXT names a context that
already exists — per the official guidance.
- A trusted context with the specified name already exists, per the official guidance — the direct, only cause.
Solutions / Resolution
- Verify the context name and database are correct, per the official guidance — use
a different name, or target the intended existing context with
ALTERinstead.
Examples
N/A
No specific triggering statement is documented beyond naming an already-existing context.
Diagnostic Checks
- Check
SYSUSER.SYSTRUSTEDCONTEXTfor the named context, and confirm the correct name/database and statement (CREATEvs.ALTER).
Related Errors / Related Topics
- -26459 — "The trusted context
does not exist." The mirror-image error, on the context not existing rather than already existing.
CREATE/ALTER TRUSTED CONTEXT named a context that already exists — verify the name and
database, or use ALTER.