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