Welcome to MSDN Blogs Sign in | Join | Help

Syndication

Tags

    No tags have been created or used yet.
Ever wondered why your .CHM file(s) does not work?

I had couple of .CHM files, specially for C# .NET related stuff and I saw some of the chm files when I open them I see "This page cannot be displayed" error. Finally I figured out that there could be two reasons for this:

[Option 1 courtesy chan.chawla from the posted comment, adding as the first option to be tried out before going any further]

1. Double click the .chm file. It will open a security dialog. Uncheck "Always ask after opening this file". Alternatively, right click on the file you want to open, click Properties and then click Unblock. This should do the trick.

2. If you chm file name or the path contains '#' character, just get rid of that and I guess you would be able to start viewing your chm files again.

3. If nothing works, try this.

Because of a Microsoft Service Pack, the chm files does not have enough permissions (by default). This case is usually when you try to open .chm files over network. The resolution for this is as follows:

  • Click Start, click Run, type regedit, and then click OK.
  • Locate and then click the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions [If this registry subkey does not exist, create it]
  • Right-click the ItssRestrictions subkey, point to New, and then click DWORD Value.
  • Type MaxAllowedZone, and then press Enter.
  • Right-click the MaxAllowedZone value, and then click Modify.
  • In the Value data box, type 1, and then click OK.
  • Quit Registry Editor.

For more information check http://support.microsoft.com/kb/896358.

Published Wednesday, April 26, 2006 8:03 PM by neerajag

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, April 09, 2007 12:18 PM

This is what actually helped me!!

----

After downloading the document, open it from the location where it was saved and a security warning will appear. In order to view the help documents properly, the checkmark must be cleared from the ‘Always ask before opening this file’ check box. The files will then open properly from the PC. Alternatively, right-click on the file you want to open, click Properties, and then click Unblock.

----

chan.chawla

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, April 09, 2007 12:20 PM

http://www.tdt.com/T2Support/FlashHelp/Software/0188.htm

chan.chawla

# re: Ever wondered why your .CHM file(s) does not work? @ Tuesday, May 06, 2008 4:03 PM

I don't believe it but I had my C# file in a older called C# and it didn't like the "#".  I changed it to csharp and it worked.  I don't believe it.

Baruch

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, July 28, 2008 5:27 AM

Cool, my .chm file was inside a directory with name containing '#'. I removed '#' ,and now i can view .chm files.

rakesh juyal

# re: Ever wondered why your .CHM file(s) does not work? @ Wednesday, September 03, 2008 12:49 PM

I didn't have the subkey ItssRestrictions in my registry, but just changing the # sign in the folder containing the .chm file fixed the issue (just like Rakesh Juyal menioned above)!

Manish Haria

# re: Ever wondered why your .CHM file(s) does not work? @ Saturday, September 13, 2008 3:58 PM

OMG, i just had the same issue today. Taking the #s out of the directory name fixed all my C# chms! Thanks~!

MrMeek

# re: Ever wondered why your .CHM file(s) does not work? @ Wednesday, October 15, 2008 2:30 AM

That was very very very helpful!!! Thanks a lot!!!

raghunand

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, November 27, 2008 9:46 AM

....and watch out for dots in folder names too.  My chm was on a network folder which I was referencing via a UNC path using the ip address.

Pete Maher

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, November 27, 2008 9:49 AM

...or maybe it is just a problem with any network share - moving the file locally meets with success.  But moving it to a UNC share using a server name rather than an IP address still had the problem.

(on XP).

Pete Maher

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, February 02, 2009 2:03 AM

It was very Help full.

Thanks a lot :)

kishore

# re: Ever wondered why your .CHM file(s) does not work? @ Tuesday, February 03, 2009 11:34 PM

A very helpul hint, thanks a lot!

Marc

# re: Ever wondered why your .CHM file(s) does not work? @ Friday, February 06, 2009 12:45 AM

It was really very helpful.Thanks a lot:-)

Rathna

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, March 05, 2009 12:17 PM

thanks man..

i removed the # from my file name and path and now i am able to view it.

salil

# re: Ever wondered why your .CHM file(s) does not work? @ Saturday, April 11, 2009 4:38 AM

hey neeraj!

That was very useful.Thank you so much for posting this - very useful piece of information.

best wishes

axea

# re: Ever wondered why your .CHM file(s) does not work? @ Tuesday, June 02, 2009 2:38 PM

Tnxs, I had the same problem and the problem was C# in my folder name.

After I renamed C# to C-sharp, everything was okay,

Thank you once again for this info.

Gizew

# re: Ever wondered why your .CHM file(s) does not work? @ Sunday, June 28, 2009 5:14 PM

Thanks Neeraj. It is very helpful.

lome

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, July 09, 2009 12:56 PM

Double click the .chm file. It will open a security dialog. Uncheck "Always ask after opening this file". Alternatively, right click on the file you want to open, click Properties and then click Unblock.

----   there  is no unblock

----Uncheck "Always ask after opening this file"

   there is no such check box for me...

 post not useful

gopalmyneni

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, July 09, 2009 4:14 PM

Hi gopalmyeni,

Can you send me some more details about the problem. Did you checked if there is any # character in the file or entire path?

Also what error do you get when you open your chm file?

Thanks,

Neeraj

neerajag

# re: Ever wondered why your .CHM file(s) does not work? @ Thursday, July 09, 2009 5:39 PM

Wow, open from the folder where the file is located and just uncheck the box that asks about opening the file, and it opens! Much nicer solution than having to go to the command line and/or edit files.

Thanks!

Carol

# re: Ever wondered why your .CHM file(s) does not work? @ Tuesday, July 21, 2009 2:37 AM

Hey, Thanks ..

I created a registry and it really worked. :)

aarti

# re: Ever wondered why your .CHM file(s) does not work? @ Saturday, August 08, 2009 5:36 PM

Great! Now I can open chm files...I was wondering what on earth was the problem, now it works.

Martin

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, August 24, 2009 3:41 AM

Thanks mr Chan Chawla, I alwayse wonder y my chm file is not working on my computer, and u have a simple solution that i dont know. Thanks again.

Nehal

# re: Ever wondered why your .CHM file(s) does not work? @ Friday, September 04, 2009 11:43 AM

hi neeraj,

 see the following images.

i am not able to open chm files.

help me..

http://i778.photobucket.com/albums/yy62/gopalmyneni/1.jpg

http://i778.photobucket.com/albums/yy62/gopalmyneni/2.jpg

http://i778.photobucket.com/albums/yy62/gopalmyneni/3.jpg

gopalmyneni

# re: Ever wondered why your .CHM file(s) does not work? @ Saturday, September 26, 2009 12:43 AM

It works thanks.

Nice info as i have been wasting bandwidth downloading the same file again and again from different locations to see that it does not work.

Sumit

# re: Ever wondered why your .CHM file(s) does not work? @ Monday, September 28, 2009 6:42 PM

Hey Neeraj, thanks for this post. Unblocking the file property simply did the trick.

Prem

# re: Ever wondered why your .CHM file(s) does not work? @ Tuesday, November 17, 2009 9:49 PM

I still can not open this file since i have the

hh.exe and also set the open way and link path.

It just still can not open.

lee

# re: Ever wondered why your .CHM file(s) does not work? @ Wednesday, November 18, 2009 12:42 AM

Hi Lee,

I am surprised if all the above options are saturated. If the document is not very confidential, can you share that with me? Also let me know which version of OS are you using.

Thanks,

Neeraj

Neeraj

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
Page view tracker