| Previous | Next |
| ERROR_OPERATION_NOT_ALLOWED_FROM_SYSTEM_COMPONENT | ERROR_MRM_GENERATION_COUNT_MISMATCH |
ERROR_MRM_DIRECT_REF_TO_NON_DEFAULT_RESOURCE
ERROR_MRM_DIRECT_REF_TO_NON_DEFAULT_RESOURCE means a direct reference points at a qualifier-specific candidate instead of a default resource candidate. Such a reference can break when the runtime context selects another variant.
What to check
- Reference the logical named resource rather than hard-coding a non-default variant.
- Ensure the named resource has a neutral or default candidate for fallback.
- Review the PRI dump to distinguish direct candidate paths from logical resource names.
makepri dump /if resources.pri /of resources.pri.xml
Microsoft: Manage resources with MRT Core
Microsoft: Resource Management System and PRI files
Microsoft: MakePri.exe command-line options
Looking for a different code? Search another status or error code.