Site icon EfmSoft

What does Windows error code 1927 (RPC_S_PRF_ELT_NOT_REMOVED) mean?

 
Previous Next
RPC_S_PRF_ELT_NOT_ADDED RPC_S_GRP_ELT_NOT_ADDED

RPC_S_PRF_ELT_NOT_REMOVED

The selected RPC profile element could not be removed.

RPC_S_PRF_ELT_NOT_REMOVED is RPC status 1927 (0x787). Profile removal identifies an element by profile entry, interface UUID and version, member entry, and name syntax. The status does not mean that the whole profile was deleted unsuccessfully; it says the requested element could not be removed from that profile.

Common removal failures

Cleanup telemetry

Record the full element key used by RpcNsProfileEltRemove, the profile entry type, caller identity, deployment owner, provider, and whether inquiry found zero, one, or several candidate elements before removal. After an error, enumerate again before deciding that stale discovery data remains. Do not treat annotations as a stable primary key.

How to investigate

Enumerate the current profile and compare the exact interface version, member path, and syntax. A textual member that looks equivalent can resolve differently under another name syntax. If no matching element exists, determine whether cleanup is already complete and make that state successful for an idempotent uninstaller.

If the element is present, verify write permission and test removal with the same service identity that originally provisioned it. Check for active installers or failover controllers changing the profile. Preserve unrelated elements even when they point to the same server.

Corrective action

Retry with the exact stored element identity after repairing provider availability or permissions. When ownership is uncertain, remove only the element that can be tied to the retiring deployment; deleting the entire profile can break other interfaces.

Provisioning systems should persist the canonical profile/member names and interface version used at creation. Cleanup should be a reconciliation operation: missing element means complete, matching element means remove, conflicting element means stop for review.

Difference from deleting a profile

RpcNsProfileDelete removes an empty profile entry. Error 1927 is returned while removing a particular profile element and should lead to element-level enumeration rather than immediate profile deletion.

Example

A service upgrade changes its interface minor version but the uninstaller tries to remove the new version from a profile that still contains the old one. It receives 1927. Enumerating the profile reveals the stored version, allowing cleanup of only the obsolete element.

References


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

Exit mobile version