| Предыдущий | Следующий |
| WCM_E_EXPRESSIONNOTFOUND | WCM_E_USERALREADYREGISTERED |
WCM_E_SUBSTITUTIONNOTFOUND
Практический смысл
WCM_E_SUBSTITUTIONNOTFOUND (0X80220011) относится к Windows Configuration Management. Это failure HRESULT. Исходный признак результата зафиксирован в документации как исходное описание результата WCM_E_SUBSTITUTIONNOTFOUND
.
Не начинайте с переустановки компонента: сначала сохраните первый HRESULT, object generation и параметры конкретной операции, на которой возникло состояние. Для этой страницы ключевая граница формулируется так: исходное описание результата WCM_E_SUBSTITUTIONNOTFOUND
Специфичные признаки исходного описания
WCM_E_SUBSTITUTIONNOTFOUND is the failure HRESULT 0x80220011 (signed decimal -2145255407 , unsigned decimal 2149711889 ). Its severity bit is 1 , facility is 34 ( FACILITY_STATE_MANAGEMENT ), and the facility-specific code field is 0x0011 .
AllStat records the Windows SDK description as “Substitution is not defined.”
The operation reached manifest expansion where a placeholder or reusable substitution must be bound before validation.
At this boundary, capture the unresolved substitution name and source location, then correlate it with all substitution declarations visible in the compilation scope. Assign ownership only after checking package/merge order and conditional preprocessing output.
the substitution table was not included in the source package
a placeholder name changed without updating consumers
Что сохранить до исправления
- namespace, configuration unit и полный logical path без секретных values
- manifest/schema version, datatype, restriction и operation type
- processor/handler identity и точную assertion или validation boundary
- user/store context, transaction state и первый HRESULT от WCM API
Как локализовать границу
Проверяйте schema/manifest contract, namespace/path и конкретное правило validation, а не весь configuration store целиком. Сначала воспроизведите минимальный сценарий без параллельного изменения конфигурации; затем сравните сохранённые параметры с условием из исходного описания. Если состояние исчезает после re-enumeration или пересоздания объекта, отдельно проверьте lifetime/generation race.
Исправление и повторная проверка
Критерий восстановления — исходный вызов проходит на тех же релевантных данных после конкретного подтверждённого изменения, а не заменяется соседним кодом.
Дополнительные признаки конкретного сценария
the substitution table was not included in the source package
scope rules place the definition outside the requesting metadata unit
the final manifest passed to SMI rather than the template source alone
Технические ссылки
- Microsoft: SMI error and success constants.
- Microsoft: Settings Management Infrastructure API.
- Microsoft: SMI interfaces.
- Microsoft: ISettingsContext::Deserialize.
- Microsoft: ISettingsResult::GetLine.
Нужно найти другой код? Найти другой код состояния или ошибки.
