Informix Error -26461: Attribute with value <value-name> is not unique for trusted context. </value-name>
Cause and resolution
Attribute with value <value-name> is not unique for trusted context. </value-name>
During the CREATE TRUSTED CONTEXT or ALTER TRUSTED CONTEXT a duplicate value <value> was specified for the attribute. Each pair of attribute name and value must be unique for a trusted context. The statement cannot be processed. </value>
To correct this error remove the non-unique specification of <attributename> and and re-issue the statement. </attributename>
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26461 fires when CREATE/ALTER TRUSTED CONTEXT specifies a duplicate value for an
attribute — per the official guidance.
- A duplicate value specified for an attribute, per the official guidance — the direct, only cause; each attribute-name/value pair must be unique for a trusted context.
Solutions / Resolution
- Remove the non-unique attribute specification and reissue the statement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a duplicate attribute value.
Diagnostic Checks
- Check the statement for a repeated attribute-name/value pair, and remove the duplicate.
Related Errors / Related Topics
- -26460 — "Attribute with value
cannot be dropped or altered because it is not part of the definition of trusted context" A related attribute-validity error, on an undefined attribute rather than a duplicate value.
CREATE/ALTER TRUSTED CONTEXT specified a duplicate attribute value — remove the
duplicate and reissue.