Skip to main content
Participant
January 28, 2008
Answered

X5 Crashes during HTML compile

  • January 28, 2008
  • 3 replies
  • 452 views
I've searched through the forum for my problem, but although some are close, none mirrors the situation I've recently encountered. I'm working with RH X5 in a Windows 2000 environment (Windows 5.00.2195, with Service Pack 4). As of October, everything was working well. Due to the rather ancient development environment that is being used in our company, I'm restricted to generating Compiled HTML as the help output. All of this was working well through October of last year, but now RH is crashing during the compile of the help file.

I watch the compilation process. It seems to be generating all of the content and support files. I end up with a '!chm_tmp_folder_0' file that appears to contain everything I will need in the .chm file. But about 30 to 40 seconds after it completes the 'ehlpdhtm.js' step in the generation process, it has started into 'Processing keywords...', the generation dialog box just disappears, RH doesn't refresh, and it then closes without comment after another few seconds. I end up with the aforementioned tmp folder, and a .chm file that seems to be about the right size, but when I try to open it, I get a 'The page cannot be displayed' message.

I've moved the project folder to a folder with a short file name just off the root of the hard drive and tried to run it again. Same problem. I updated RH to version X5.0.2 (I had been at X5.0.1) . . .same problem. I verified that Comcat.DLL was version 4.71 or higher, as suggested in tech note rb_10293, verified all url's had the proper slashes for web addresses, verified I had a proper default topic and window, then I tried the trick of deleting the .xpj file and opening the project from the .hhp file. It's still crashing when I try to generate the help system as Compiled HTML, in exactly the same place each time. (Oh, and to multiply the frustration: WebHelp Pro, FlashHelp, and Printed Documentation outputs all generate successfully.)

Any ideas why my project is crashing like this?
This topic has been closed for replies.
Correct answer JayOyster
I gave up trying to track down the source of the problem.

I started a fresh HTML help project, copied over all of the topics. Compiled. Success. Copied over the multimedia files. Compiled. Success.

I did that step-by-step for: glossary entries, CBEs, TOC, window design, ssl settings. So I'm about 95% back to where I was before this all started, and I've got all my new topics and content in place. I guess I'll just work from here as if it never happened. I'm a little leery of adding index keywords, since I have a sneaking suspicion that that was the source of my troubles, but I have no idea why that would be so.

Anyway . . . thanks for the help, Colum, Leon.

regards,
-Jay

3 replies

JayOysterAuthorCorrect answer
Participant
January 29, 2008
I gave up trying to track down the source of the problem.

I started a fresh HTML help project, copied over all of the topics. Compiled. Success. Copied over the multimedia files. Compiled. Success.

I did that step-by-step for: glossary entries, CBEs, TOC, window design, ssl settings. So I'm about 95% back to where I was before this all started, and I've got all my new topics and content in place. I guess I'll just work from here as if it never happened. I'm a little leery of adding index keywords, since I have a sneaking suspicion that that was the source of my troubles, but I have no idea why that would be so.

Anyway . . . thanks for the help, Colum, Leon.

regards,
-Jay
JayOysterAuthor
Participant
January 29, 2008
OK, no chums on a network drive. Check. And I've changed the output file name so it no longer uses an underscore. I restored a typo upstream in the help file working directory path that I had fixed before. I restored the entire help project folder and all subfolders from a January 11th backup (essentially the October working folder.) I named the Microsoft HTML Help.ssl file to Old-Microsoft HTML Help.ssl.

Then I opened the project, reset the Generate settings, and ran the compile. It reached the message 'Processing keywords...' and bombed again.
RoboColum_n_
Legend
January 29, 2008
Hi JayOyster and welcome to the RH community.
First of all I assume you do not have any underscores or other non-alphanumeric characters in your CHM file name. The fact that everything was OK before October suggests so but just wanted to check.
Failing that, what has changed since you last compiled? What type of content has been added/changed?
MergeThis
Inspiring
January 29, 2008
Your IT folks haven't set you up on some network system, like Terminal Server, have they? This doesn't seem like any kind of problem you should be experiencing when on your local machine only.

You might even try the no-brainer fix of compiling to an entirely different folder, as a test. Can't hurt, as they say...


Good luck,
Leon