What does Windows error code 15120 (ERROR_MRM_INVALID_RESOURCE_IDENTIFIER) mean?

 
Previous Next
ERROR_MRM_DUPLICATE_ENTRY ERROR_MRM_FILEPATH_TOO_LONG

ERROR_MRM_INVALID_RESOURCE_IDENTIFIER

ERROR_MRM_INVALID_RESOURCE_IDENTIFIER means the resource key or identifier supplied to the resource-management system is malformed or cannot be resolved in the expected resource-map structure.

Record the exact resource URI or key supplied by the caller and compare it with names exported by the loaded resource map. Escaping, path separators, map prefixes, and package identity can all change how the identifier is interpreted.

What to check

  • Compare the identifier used by the application with the names emitted into the PRI.
  • Check path separators, resource-map prefixes, and case-sensitive naming assumptions in custom tooling.
  • Use a PRI dump to validate the generated identifier instead of guessing from the source filename.
makepri dump /if resources.pri /of resources.pri.xml

Microsoft: Resource Management System and PRI files

Microsoft: MakePri.exe command-line options

Microsoft: MakePri.exe configuration file


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