This content has been marked as final. Show 11 replies
Have you tried creating a new target folder, and maybe a new layout?
If that is not it, have you tried generating a webhelp output to a new target folder to check the full output is generated there?
Thanks for the quick reply. I just tried creating a new layout, new folder, and even publishing a to a new webhelp location. The webhelp version still works perfectly and the .chm file problem is still the same. RH goes through the motions of generating a .chm file, but I wind up with a useless file containing no information that won't open.
Now, I'm getting this error when I try to open:
"Cannot open the file mk:@MSITStore:C:\Program Files\..<chm file location>"
Create a new single topic project and test that.
See if it is a project specific problem.
It works fine in the new project--must be project-specific. What now?
Now I'm not sure! :-)
At least though we know it is not an installation issue or something corrupt in the compiler so it is some progress.
Three things I would try next.
1] Open the HHP file in Notepad and see if you can see anything obvious there, a wrong path etc.
2] Take a copy of the project and trash the CPD and XPJ files. Open the project with the HHP file. Create a new HTML layout, not a copy, and try again. If it works, we can talk about what will need fixing.
3] Google the error message.
Okay, option 2 worked. At least I now have a backup of everything I've done through today. Do you know how I can fix the original, now?
Something corrupt in the underlying database. You could open a rename of copy of the CPD file to give it an MDB extension and open it in Microsoft Access and try to find the cause but you might also be wasting time.
Take a look at the topic on my site about Opening Projects and you will see I cover how to fix the things that this process will have lost.
Post back if any fallout questions arise.
Okay, now the new copy is also corrupt. And, when I recreate the project from the .hhp, I also lose the template and the See Also keywords.
Short of recreating the whole project, is there anything I can do?
So the new project worked for a while and then went corrupt with presumably the same message.
I don't know what else to suggest here other than repeating the same process, albeit with the issues to which you refer.
Try googling the message and also looking on www.helpware.net where there is a lot of CHM information.
To add to Peter's advice, have you tried compiling the CHM using Microsoft HTML Workshop. It may be worth a go.
Thanks for all your help. This is how I "resolved" the problem:
Make a copy of the project.
Delete the .cpd and .xpj files.
Open with the .hhp file.
Replace the conditional tags and ssl's per Peter's web site.
Close the project.
Open the .cpd file in Access.
Replace the negative numbers with positive numbers (mostly in See Also, Template, and Baggage File tables).
Close the .cpd file.
Open the project from the .xpj file. The project now works as expected.
I don't know why this works, but thought I'd post back for any other folks that may have similar issues (e.g., the disappearing See Also links & Templates when opening a project from .hhp file).