DITA to CHM Transformation Fails - Cannot Open File
Problem
The DITA to CHM transformation fails with the following error: [exec] HHC5010:
Error: Cannot open "fileName.chm". Compilation stopped.
Cause
This error occurs when the CHM output file is opened and the transformation scenario cannot rewrite its content.
Solution
To solve this issue, close the CHM help file and run the transformation scenario again.