What does HRESULT 0x80110822 (COMADMIN_E_SAFERINVALID) mean?

 
Previous Next
COMADMIN_E_PRIVATE_ACCESSDENIED COMADMIN_E_REGISTRY_ACCESSDENIED

COMADMIN_E_SAFERINVALID

COMADMIN_E_SAFERINVALID is the failure HRESULT 0x80110822 (signed decimal -2146367454, unsigned decimal 2148599842). Its severity bit is 1, facility is 17 (FACILITY_ITF), and the facility-specific code field is 0x0822.

COM+ Software Restriction Policy trust level: exact meaning of COMADMIN_E_SAFERINVALID

The specified SAFER/software-restriction-policy level is not a valid value for the COM+ application configuration. COM+ validates the trust setting before applying the application’s software restriction policy.

AllStat records the Windows SDK description as “The specified SAFER level is invalid.”

Where COMADMIN_E_SAFERINVALID occurs

The failure occurs while saving or applying application-level software restriction policy. Server and library applications have different hosting consequences, and the policy must be represented by a supported COM+ catalog value.

Typical cause branches

  • automation writes an out-of-range or obsolete numeric trust-level value.
  • a string label is converted incorrectly to the catalog enumeration.
  • package metadata from another version contains a value unsupported on the target.
  • the wrong application property or data type is being set through COMAdmin.

Diagnostic sequence for COMADMIN_E_SAFERINVALID

  • read the property metadata and supported enumeration for the target COM+ version.
  • preserve the raw invalid input before normalization.
  • map deployment policy to a documented supported trust level.
  • save only the corrected application property and repopulate.
  • test activation under the intended account and restriction policy.

Evidence to collect before changing the catalog

  • AppID, application type, property name/type, raw supplied value, and target OS version.
  • current committed software-restriction-policy settings.
  • package/export source and any transformation performed by deployment code.
  • ErrorInfo entry and exact SaveChanges operation.

Practical administration scenario

A configuration serializer sends an internal enum value that does not match the COMAdmin catalog enumeration for software restriction policy.

Difference from nearby COMADMIN results

COMADMIN_E_PROPERTY_OVERFLOW concerns a value outside a property’s allowed range generally; this result identifies the SAFER trust-level contract specifically.

Retry and recovery

Retry after supplying a supported value of the correct type. Disabling all security controls is not an appropriate generic workaround.

What this HRESULT does not establish

The HRESULT does not say that the component binary is unsafe or blocked by an existing policy. It says the requested policy configuration value is invalid.

Developer and operations guidance

Log AppID, application type, property/type, raw and mapped values, OS build, package source, caller, and post-save committed value.

Official Microsoft references for COMADMIN_E_SAFERINVALID


Looking for a different code? Search another status or error code.