Why does my CHM have a blank content pane?

This is a relatively old problem now, but one that keeps popping up.

You open a CHM but you don’t see your content in the right-hand pane of the HH window. You see a cryptic browser message “Navigation to the webpage was canceled” or “Action canceled”.

image5.jpg

This is due again to Microsoft plugging security holes in Windows. I’ve listed all the HH security fix problems here.  This particular problem is either:

  1. CHMs no longer work on the Intranet or Internet
    This can be fixed by a simple registry tweak (see link)
  2. Downloaded CHMs cannot be opened
    After downloading, right-click the chm file, select properties, then click “Unblock”.

hhsec2.jpg

40 Responses to “Why does my CHM have a blank content pane?”

  1. rethus says:

    Thank you for the fast reaction to my question. Meant that, each user – who wants to read the CHM-File – must do this Registry-Patch, or must only the System be patches, where the CHM-File is created?

  2. Rob says:

    Its done in the client PC registry, _not_ on the server.

  3. Ian says:

    Superb post. Many thanks… saved me from a major headache :)

  4. praveen Vijayan says:

    Thanks dude..

    nice post

  5. JJJ says:

    Sweet! Thanks for the quick fix!

  6. M J says:

    Huge help thanks, I never knew about the “unblock” button.

  7. Willi says:

    Maybe I am offtopic, maybe it is somehow linked to this…

    the content pane works fine, but for a lot of .CHM files when I click on “Index” i get (on the left side) an empty keword selection – also search remains just empty. The PS has Windows XP with all SP and automatic updates installed.

    The funny thing is, that on another PC everything the same files just work fine. The index is displayed, search is working fine…

    Any suggestions?

    Kind regards,
    Willi

  8. Rob says:

    Hi Willi
    HH Runtime can become unstable on a PC for 2 reasons that I know of.
    1. You installed naughty authoring software that installed Microsoft Help DLLs. MS Help DLLs are part of the OS and should never be updated in this way. A mismatch of DLLs can screw help and produce effects like you are seeing.
    2. Windows update can skip HH Dlls. These DLLs need to be updated using a separate KB install package.

    Run MJs Diags on both systems (good and bad one) and compare the outout logs. http://helpware.net/downloads/#MJs

    Check the MJs Diags logs. Make sure the DLL paths are the same (if different you may have installed bad software). Make sure the DLL versions are the same (you may need to update your system).

    More reading
    http://helpware.net/htmlhelp/hh_diags.htm
    Cheers
    Rob

  9. Constantin says:

    Very concise and helpful post. Thanks a lot. Saved my time.

  10. Tamil Maalai says:

    Thanks a lot… saved my time…

  11. thelONE says:

    Very helpful….

  12. veryGr8ful... says:

    Thanks for this post! Unblocking did the trick.

  13. ravi says:

    thanks. I was searching for a answer to this problem.

  14. christian says:

    thanks to you … easy and fast to open this annoying file

  15. Jamie says:

    Thanks! I will add some info about this on my blog as well…

    http://infotechadmin.blogspot.com/2008/12/chm-html-help-file-issues.html

  16. vishal says:

    thank you… great work

  17. Scott says:

    Thanks Rob. Fixed it for me.
    Weird that you can run any old DLL you find lying in the gutter, but a help file is considered more dangerous!

    Added link to your page on my blog. Cheers
    http://skotl.blogspot.com/2009/05/downloaded-chm-help-file-shows.html

  18. ahmed says:

    Thank you so much, works for me.

  19. booliolio says:

    w00000t thanks i thought those ebooks were corrupt but now i got them back thanks to you thanks!

  20. Phil says:

    Thanks so much! I couldn’t figure out what was wrong, I’d never seen that feature before.

  21. rusher says:

    nice thanks

  22. Jothi says:

    Gr8..Thx buddy :) ..it helped me

  23. Manoj says:

    NIce post dude

  24. shawty says:

    Hi Guys,

    Which of your patched do I need for the following?

    When I view CHM’s off my local hard drive they work fine, but when I attempt to open them of a shared folder on a different server they fail with the content not found pane showing.

    Unblock only shows up when I right click on a local file, and not on the remote file.

    Since I trust the servers I’m storing these files on, I’d like windows to just open them and view them from the \\server\folder\file.chm path in the same way as they open from C:\folder\file.chm

  25. Rob says:

    So the work around to this security fix is here:
    “CHMs no longer work on the Intranet or Internet”
    http://helpware.net/FAR/far_faq.htm#kb_OpenCHMs

    I usually put the following into a .REG file and double-click the file to put the fix into the registry.

    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    “MaxAllowedZone”=dword:00000001

  26. shawty says:

    Thanks Roy.

    I also found a program called HHReg which makes it easier to add/remove those folders restrictions in the registry.

    I understand why MS have done it, but I think it’s a little stupid how theyv’e done it. In most cases we trust the machines on our Intranets.

    I have a whole server that acts as a digital Library, and this has gone and caned half of the collection now, so I need to find and build a different way of delivering them.

    Oh well… Thanks for your help anyway :-)

  27. Rob says:

    Yep you need to tweak the registry on ever PC that needs to access the server. Or do distribute the .reg file to all to make that easier.

    The alternative is just to use HTML help. Our FAR tool can make Uncompressed (web) help where TOC, Index & Search are all handled using JavaScript. Here are some examples.
    - http://helpware.net/FAR/help/hh_start.htm
    - http://webhelp.esri.com/arcgisexplorer/900/en
    - http://webhelp.esri.com/arcgisexplorer/900/ja-JP

  28. javed says:

    Gr8 solutions .. thanks a lot man .. nice work..

  29. zacitana says:

    thank you for the post, i was about to delete some of my books but they’re working just fine now :-)

  30. Firoz says:

    That was easy… Thank you :)

  31. Sanchay says:

    Clicking on Unblock in properties of the CHM files does the job.

    Thanks a ton.

  32. Scott says:

    Thanks a lot, worked a treat!

  33. LindaM says:

    Thank you, thank you, thank you.

    I’ve been away from RoboHelp for a while and just got a call for an assignment to create a help file. I mailed my sample file to myself first — just to be sure everything was still OK — and ran into the “Navigation to the webpage was canceled” message.

    Thanks to your post, I was able to give the client instructions for viewing the file and sent it off.

    Thanks again!

  34. Remier says:

    Use both keys (32 bit/64 bit)

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
    “MaxAllowedZone”=dword:00000001
    “EnableFrameNavigationInSafeMode”=dword:00000001

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    “MaxAllowedZone”=dword:00000001

    AND for 64bit (W2K8R2)

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\HTMLHelp]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\HTMLHelp\1.x]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\HTMLHelp\1.x\HHRestrictions]
    “MaxAllowedZone”=dword:00000002

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    “MaxAllowedZone”=dword:00000002

  35. queuety says:

    thanks! saved my time.

  36. Dhanil says:

    Thank you very much!!!!!!

  37. Vlad says:

    Thank you!!! This instantly solved my problem.

Leave a Reply