| Previous | Next |
| ERROR_PRI_MERGE_ADD_FILE_FAILED | ERROR_PRI_MERGE_MULTIPLE_PACKAGE_FAMILIES_NOT_ALLOWED |
ERROR_PRI_MERGE_WRITE_FILE_FAILED
Unable to create the merged PRI file.
ERROR_PRI_MERGE_WRITE_FILE_FAILED is Windows status 15152 (0x00003B30) associated with creation or final write of the merged PRI output.
Likely impact: A partially written output must be deleted or quarantined and never published as a valid PRI.
Typical causes
- the output path is unwritable.
- the volume is full or quota constrained.
- antivirus or another process locks the destination.
- final serialization detects an internal inconsistency.
Troubleshooting steps
- Verify that the destination can be created atomically with sufficient space, permissions, and a valid final index.
- Collect output path and temporary path and free space and quota.
- Correlate ACL and process token with MakePri command line, input PRI inventory, package identities, schemas, file hashes, output path, tool version, and the first detailed merge diagnostic.
Useful evidence
- Collect file sharing and lock owner.
- Collect MakePri finalization diagnostic.
Recovery and retry
Repair the destination and write to a fresh temporary file, then validate and atomically replace the intended output.
Related errors
ERROR_PRI_MERGE_ADD_FILE_FAILED rejects an input during composition; this code fails while materializing the output
Example
A build agent can read every input but lacks write permission in the package staging directory. Correcting the directory ACL allows atomic output creation.
References
Looking for a different code? Search another status or error code.
