What does HRESULT 0x80670006 (STATEREPOSITORY_E_BLOCKED) mean?

 
Previous Next
STATEREPOSITORY_ERROR_DICTIONARY_CORRUPTED STATEREPOSITORY_E_BUSY_RETRY

STATEREPOSITORY_E_BLOCKED

The scope of STATEREPOSITORY_E_BLOCKED is Windows StateRepository: StateRepository is deliberately blocking requests during an internal state transition. Preserve 0x80670006 beside the returning call before cleanup or retry creates a more generic secondary failure.

Wrong turns

BUSY_RETRY reports database-file contention; BLOCKED is an explicit repository-level gate.

Do not terminate the service solely because requests are temporarily blocked.

Object and state

A blocked repository is not necessarily locked by another process. The service can gate callers during initialization, maintenance, schema work, or coordinated application-model operations.

Capture before retry

  • Service state and event log.
  • Blocking operation or maintenance phase.
  • Request type and caller.
  • Duration and retry policy.

Controlled comparisons

ControlInterpretationHold constant
Same database copy, isolated connectionsA change points to connection/statement/transaction ownership rather than stored content.Use a copy and preserve schema plus repository generation.
Same operation, controlled environmentIf the result follows one machine, account, volume, network, or device, environment matters.Keep versions and identity explicit rather than comparing only the final message.

Step-by-step investigation

The investigation should change one variable at a time and keep the original failing sample.

  1. First: Observe whether the block is transient and bounded.
  2. Next: Honor the service’s retry guidance.
  3. Then: Avoid starting parallel package operations.
  4. Finally: Capture the operation that entered blocking state.

Closure criteria

Closure requires the blocking phase exits normally and queued work completes once, without overlapping maintenance operations; then repeat the next lifecycle operation to detect stale state.

Technical references


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