Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > .chm bug "Page cannot be displayed"

Reply
Thread Tools Display Modes

.chm bug "Page cannot be displayed"

 
 
Philipp Roos
Guest
Posts: n/a

 
      06-11-2008
Hi,

--- Problem
I had the problem that some of my .chm help files didn't work and the viewer
displayed a error like "This program cannot display the webpage"
(german:"Dieses Programm kann die Webseite nicht anzeigen.")

Strangely enough some other files worked fine.

--- Trying
I tried some solutions I found, but they all did not work. Anyway here is
what i did:
1. delete C:\Users\<user>\AppData\Roaming\Microsoft\HTML Help\hh.dat

2. clearing %tmp%

3. http://support.microsoft.com/kb/902225/

4. Registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x \HHRestrictions]
"MaxAllowedZone"=dword:00000001
"EnableFrameNavigationInSafeMode"=dword:000000 01

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

I also adapted the path for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\2.0 \
which seems to be the new folder.

5. set user rights to full file access

--- Solution
Finally I found out the it is depending on the path the .chm file is placed.
It did not work if the path to the file includes a # char anywhere in the
string.
If you have the chm file open and right click on the help file in the task
bar there is a menu item "Jump to URL..." (German: "Zur URL springen...")
which displays the current URL. Here you can see what went wrong:

mk:@MSITStore:C:\Program%20Files\/#System\#Virtual\xVM%20VirtualBox\sdk\doc\VirtualB oxAPI.chm::/index.html

Some function placed a / in the path, i guess to escape the first #

To avoid the problem you can copy the help file to another directory and it
works just fine:

mk:@MSITStore:C:\Downloads\NSIS.chm::/Contents.html

I guess the problem is that the # char is allowed in directory paths but not
in URls.

--- Used Versions
HTML Help Control Version 6.0
IE 7.0.6001.18000
Vista SP1 (32bit)

Have a nice day.

Greetings Philipp
 
Reply With Quote
 
 
 
 
Pete Lees
Guest
Posts: n/a

 
      06-11-2008
Hi, Philipp,

> I had the problem that some of my .chm help files didn't work and the viewer
> displayed a error like "This program cannot display the webpage"
> (german:"Dieses Programm kann die Webseite nicht anzeigen.")
>
> Finally I found out the it is depending on the path the .chm file is placed.
> It did not work if the path to the file includes a # char anywhere in the
> string.


Yes, that's right. There is a Microsoft Knowledge Base article on this issue:

"BUG: No Text or Access Violation Error When Reading a Help File"
http://support.microsoft.com/?kbid=319247

Pete
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows mail - "folder could not be displayed" error nikki712 Windows Vista Mail 4 11-06-2007 11:02 PM
I cannot delete messages tagged "Message could not be displayed" Mike Cyr Windows Vista Mail 1 07-22-2007 09:11 PM
kb931936: Incorrect recording speeds are displayed in the "Recording speed" list in the "Burn to Disc" dialog box when you burn a DVD on a Windows Vista-based computer Sebastien Jean Windows Vista General Discussion 4 06-09-2007 06:25 PM
kb931936: Incorrect recording speeds are displayed in the "Recording speed" list in the "Burn to Disc" dialog box when you burn a DVD on a Windows Vista-based computer Sebastien Jean Windows Vista Hardware 1 06-09-2007 02:49 PM
"Some Start menu items can't be displayed" B. Lair Windows Vista General Discussion 3 06-05-2007 03:13 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59