Kiran
Kiran

Reputation: 1053

chm viewer unable to show contents

I have a chm file that I can open at home. I use windows XP at home and at work. However, when I open the file at work it doesn't show the contents of the file. It properly shows the TOC for the file though. Any ideas pls?

Upvotes: 79

Views: 72518

Answers (14)

Martin Chadwick
Martin Chadwick

Reputation: 1

My issue was inside a Windows .zip file. Again could only see table of contents but not content. Unzipping and then clicked on unzipped .chm and everything was ok. (Windows 10. No sign of an unblock button.)

Upvotes: 0

Windows block *.chm files came from another computer fore security reason. Click right mouse button on file and set unblock checkbox see.

Upvotes: 1

galip505
galip505

Reputation: 9

I had same problem and zipped the file then open it from inside the zip program.(I use 7-zip)

Upvotes: 0

Stefan
Stefan

Reputation: 1

Use SumatraPDF. It opens .chm files.

Upvotes: 0

Bill Kidd
Bill Kidd

Reputation: 1208

I was experiencing the same problem. I read that the .chm file only worked on NTFS. My file was on a cloud network drive which is not NTFS, so I copied it locally and the problem was gone.

Upvotes: 0

Vale Trujillo
Vale Trujillo

Reputation: 71

On Windows 7 copying the file locally and unchecking the file opening warning message worked.

Upvotes: 5

Sandeep
Sandeep

Reputation: 131

Your CHM File Has the "#" Hash Character in the Filename or in the Directory Name. Please remove "#" and you will be able to see the content. If still you are not able to see then please visit following link: https://www.helpsmith.com/chm-cannot-be-displayed.php

Upvotes: 3

Miguel Risco-Castillo
Miguel Risco-Castillo

Reputation: 71

If someone need, there is a web page: http://topdf.com/ where is possible convert a chm in to pdf. I tested it with a chm of ~18MB and 615 pages. I was able to got a pdf with a hyperlinked contents table.

Upvotes: 0

jacktrader
jacktrader

Reputation: 689

It appears a lot of people have this problem but were unable to track down a solution. There are apparently different levels of authentication. Most articles I read tell you to set the MaxAllowedZone to '1' which means that local machine zone and intranet zone are allowed but '4' allows access for 'all' zones.

For more info, read this article: https://support.microsoft.com/en-us/kb/892675

This is how my registry looks (I wasn't sure it would work with the wild cards but it seems to work for me):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000004

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"UrlAllowList"="\\\\<network_path_root>;\\\\<network_path_root>\*;\\ies-inc.local;http://www.*;http://*;https://www.*;https://*;"

As an additional note, weirdly the "UrlAllowList" key was required to make this work on another PC but not my test one. It's probably not required at all but when I added it, it fixed the problem. The user may have not closed the original file or something like that. So just a consideration. I suggest try the least and test it, then add if needed. Once you confirm, you can deploy if needed. If the 'Unblock' method does not work, or you do not see the option, this should. Good Luck!

P.S. Another method that worked was mapping the path to the network locally by using mklink /d (symbolic linking in Windows 7 or newer) but mapping a network drive letter (Z: for testing) did not work. Just food for thought and I did not have to 'Unblock' any files. Also the accepted 'Solution' did not resolve the issue for me.

Upvotes: 2

Aman
Aman

Reputation: 301

just go to power shell and run it as administrator, cd your folder

and use the following command Unblock-File '.\filename.chm'

Upvotes: 20

David
David

Reputation: 41

I had the same situation, on a Windows 10 (VMware) system. I had to move the file to a local drive as suggested by another poster AND THEN uncheck the file opening warning message. Opening the file gave a "Open File - Security Warning" message, with a checkbox at the bottom "Always ask before opening this file". Until I unchecked that box, only the TOC showed. After unchecking, the contents showed properly. HTH someone else!

Upvotes: 3

Vikky Jain
Vikky Jain

Reputation: 21

Open command prompt and run as administrator. Go to file location, input the file name and press enter. It should open the file and view contents in chm viewer.

More read at: http://langbasics.blogspot.in/2014/12/chm-viewer-unable-to-show-contents.html

Thanks

Upvotes: 2

Ot&#225;vio D&#233;cio
Ot&#225;vio D&#233;cio

Reputation: 74290

Other than what Nicolas suggested, you may not be able to see contents of a CHM that you open over a UNC path. If that is the case copy the file to a local drive.

Upvotes: 53

Nicolas
Nicolas

Reputation: 6504

Try to right-click on your chm file and select properties. You will see an "Unblock" button. Click on it, it should solve your problem.

Upvotes: 216

Related Questions