| Previous | Next |
| ERROR_MRM_NO_MATCH_OR_DEFAULT_CANDIDATE | ERROR_MRM_DUPLICATE_MAP_NAME |
ERROR_MRM_RESOURCE_TYPE_MISMATCH
ERROR_MRM_RESOURCE_TYPE_MISMATCH means the requested resource and the selected candidate do not have compatible types. For example, a lookup expecting a string cannot be satisfied by an incompatible resource representation.
Record the resource type requested by the API and the type stored for the selected candidate. Correct the resource definition or use the matching lookup API instead of coercing an incompatible asset at runtime.
What to check
- Verify that all candidates for one logical resource represent the same intended type.
- Check resource identifiers for accidental collisions between strings and file-based resources.
- Dump the PRI to inspect the resource map before changing runtime lookup code.
makepri dump /if resources.pri /of resources.pri.xml
Microsoft: Manage resources with MRT Core
Looking for a different code? Search another status or error code.
