HHC5010: Cannot open ""file name"". Compilation stopped.

Problem: The specified file either doesn't exist, or another program has it open and is denying permission to read the file.

Result: The .chm file is corrupt and cannot be used.

Solution: If another program does have the file open, close the program. Otherwise either correct the name in your project file or remove it.