Answered by:
Navigation to the webpage was canceled in chm file

Question
-
Hi,
I'm building a compiled help file using HTML Help Workshop 4.74.8702. I can build the file without any problems. However, when I open the compiled file, I get the message "Navigation to the webpage was canceled". I cannot see any help topic that is embedded in the chm file. I am able to add contents links to web pages and those appear fine.
If I open the compiled file on other computers, I can see the topics. I've also tried opening other chm files on this computer (samples on how to create HTML help files) and have the same issue with them. Other help files work just fine (ie the help files that come with Help Workshop).
Any help would be greatly appreciated.Thursday, December 18, 2008 11:17 PM
Answers
-
Hi,
You can't view .chm files opened over a network. I think there are workarounds for this, but you'll have to search this forum to find them.
You also can't download .chm files from a web browser and simply click Open. Download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock.
- Dave
http://davesexton.com/blog- Marked as answer by JStrickland Friday, December 19, 2008 3:17 PM
Friday, December 19, 2008 5:36 AM -
As Dave mentioned above it's depending on some things, so I give some additional information. Note the difference - local help or help saved on network share.
In a connected world security updates are now a fact of life. Get used to them. Microsoft have done a mighty job of securing Windows starting with XP SP2 released in Aug 2004. Since then a string of updates have reduced the humble CHM to the status of a humble local help system. It's a shame but we need to move on.EC-Software released a updated freeware utility to edit the registry settings. Expanding the "MaxAllowedZone" is one option to enable CHM files over the network, but you can also register individual files or folders. "HHReg" does the registry editing job and lets you comfortably register individual CHM files and/or folders. System administrators can run it in batch mode as well. HHReg is free for personal and commercial use.
Information, product link and download:
http://www.ec-software.com/products_hhreg.htmlSee also:
http://helpware.net/FAR/far_faq.htm#SecurityUpdates
http://helpware.net/FAR/far_faq.htm#SecurityUpdates2and a good article:
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htmYou may want to add some registry updates from the links above if you have a setup process for your Access application and your customers have no success with the first solution.
Ulrich Kulle - Microsoft MVP - Help - http://www.help-info.de- Marked as answer by JStrickland Friday, December 19, 2008 3:17 PM
Friday, December 19, 2008 7:07 AM
All replies
-
Hi,
You can't view .chm files opened over a network. I think there are workarounds for this, but you'll have to search this forum to find them.
You also can't download .chm files from a web browser and simply click Open. Download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock.
- Dave
http://davesexton.com/blog- Marked as answer by JStrickland Friday, December 19, 2008 3:17 PM
Friday, December 19, 2008 5:36 AM -
As Dave mentioned above it's depending on some things, so I give some additional information. Note the difference - local help or help saved on network share.
In a connected world security updates are now a fact of life. Get used to them. Microsoft have done a mighty job of securing Windows starting with XP SP2 released in Aug 2004. Since then a string of updates have reduced the humble CHM to the status of a humble local help system. It's a shame but we need to move on.EC-Software released a updated freeware utility to edit the registry settings. Expanding the "MaxAllowedZone" is one option to enable CHM files over the network, but you can also register individual files or folders. "HHReg" does the registry editing job and lets you comfortably register individual CHM files and/or folders. System administrators can run it in batch mode as well. HHReg is free for personal and commercial use.
Information, product link and download:
http://www.ec-software.com/products_hhreg.htmlSee also:
http://helpware.net/FAR/far_faq.htm#SecurityUpdates
http://helpware.net/FAR/far_faq.htm#SecurityUpdates2and a good article:
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htmYou may want to add some registry updates from the links above if you have a setup process for your Access application and your customers have no success with the first solution.
Ulrich Kulle - Microsoft MVP - Help - http://www.help-info.de- Marked as answer by JStrickland Friday, December 19, 2008 3:17 PM
Friday, December 19, 2008 7:07 AM -
The following article gives a good explanation of the issue and how to use the HHReg tool.
http://www.winhelponline.com/blog/fix-cannot-view-chm-files-network-xp-2003-vista/
The Microsoft KB that describes the issue and how to work around it is:
http://support.microsoft.com/kb/896054
--JameyThursday, March 12, 2009 4:30 PM -
Although I am not a developer, I noticed this problem after downloading a "stand-alone" program and tried to open the help file. The downloaded files were in my "downloads" folder, which was on an external USB drive - not an NAS-type arrangement. This PC is connected to another on the same desk in front of me, via an ethernet cross-over cable, and everything is shared, so I presume the MS security step-up must have decided that it was a network drive. I used a small program called HHReg
http://www.ec-software.com/products_hhreg.html
which alters the appropriate registry entries to allow viewing.Sunday, August 9, 2009 9:10 AM -
I had the same problem after upgrading to IE7, All the local chm files where not working . Seems the issue is solved by unchecking the Always ask checkbox.
http://digitalpbk.com/2009/11/chm-files-navigation-webpage-was-cancelled- Proposed as answer by aardvarkk Thursday, July 1, 2010 3:50 AM
Wednesday, November 11, 2009 11:51 AM -
Thanks you for your help. Happy New Year :pThursday, December 31, 2009 8:41 AM
-
Thanks, that is goodSunday, March 21, 2010 6:00 AM
-
There's also a good article regarding this problem on the HelpSmith website.
You can find it at:
Sunday, March 21, 2010 11:00 AM -
And I've posted a workaround for when you have downloaded a CHM from another site here; http://www.scottleckie.com/2009/05/downloaded-chm-help-file-shows-navigation-to-the-webpage-was-cancelled/Friday, March 26, 2010 12:12 AM
-
Hi Dave,
Thank you very much for your instruction.
I had the same problem with opening the chm documents which were downloaded from Internet onto my PC with the error message "Navigation to the webpage was canceled. ".
Now I can open and read these chm documents.
Thanks again and have a nice week,
Best regards,
Liangwei
Sunday, March 28, 2010 6:40 PM -
Thanks, it solved my problem :)Friday, May 21, 2010 11:57 AM
-
This worked for me in Windows 7 x64. Thanks!Thursday, July 1, 2010 3:50 AM
-
Thanx man that was gr8 help......... It workd 4 me..............Monday, October 11, 2010 1:17 PM
-
I was able to resolve it by opening the properties for .chm file and clicking the unblock button.
right click->properties on the .chm file and look for unblock button.
Friday, October 29, 2010 12:11 AM -
Hi,
It really helped me "Dave Sexton". I found the same problem as mentioned by "JStickland " in Win7 but the same files worked quite well in XP. So i was just short of unblocking in Windows 7.
You can't view .chm files opened over a network. I think there are workarounds for this, but you'll have to search this forum to find them.
You also can't download .chm files from a web browser and simply click Open. Download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock.
- Dave
http://davesexton.com/blogSunday, October 31, 2010 1:32 PM -
I don't see the 'Unblock' option after right-clicking the CHM file.Thursday, November 18, 2010 8:31 PM
-
So, as Dave mentioned earlier please download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock. You don't see after a right-click only.
I tried this from my homepage http://www.help-info.de/en/Help_Info_HTMLHelp/hh.htm (search for Siungle CHM file at section HTMLHelp - Download) with Windows 7.
Ulrich Kulle - Microsoft Help MVP - (2007-2009) - http://www.help-info.deFriday, November 19, 2010 4:51 PM -
Following up - don't post to answered threads please.
Ulrich Kulle - Microsoft Help MVP - (2007-2009) - http://www.help-info.deFriday, November 19, 2010 4:56 PM -
Thanks , it worked for me nowMonday, December 6, 2010 5:10 AM
-
Thanks for ur information dude now i can open the by using this helpTuesday, March 1, 2011 6:22 PM
-
thanks for ur information dude by using this help i can open the file once again thanks for ur precious helpTuesday, March 1, 2011 6:24 PM
-
the unblocking worked..thanx Dave . u saved ..big time!!Thursday, July 28, 2011 1:05 PM
-
Unchecking the box fixed the problem for me! in IE9.
GO TEAM VENTURE!!!Wednesday, August 24, 2011 7:12 AM -
Hopefully someone can help us. We have a similar problem that hasn't been solved. Our users connect through terminal services to use an accounting program on a windows 2008 server r2. If the user logs in as anything but the administrator, the help files in the accounting program give the "navigation to the website was canceled" message. An administrator can log in and use the help files through the progam or standalone.
If the user doesn't use terminal services, they can open the help files with their own user accounts on their local computer by accessing the network drive or using the accounting program. Adminstrator level privileges are not needed.
In efforts to solve this, hhreg was used to register the chm file and the help folder itself, drivers were registered individually on the server, and the file/folder permissions were set so that users could access the folder/files. There has got to be one more step to take. Does anyone know what it could be? Thank you.
Tuesday, October 18, 2011 7:27 PM -
See my blog and read all info from the link inside:
http://weblog.helpinfo.eu/2010/01/19/chm-security/You know it's depending on a lot of things in your company and net. So some more links:
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htmDon't post to answered threads please - use links to the old thread and start a new one.
Ulrich Kulle - Microsoft Help MVP - (2007-2009) - http://www.help-info.deWednesday, October 19, 2011 5:18 PM -
Thanks Dave it worked for me !!Tuesday, January 10, 2012 7:38 AM
-
thank you very much , it worked!Tuesday, April 24, 2012 3:16 AM
-
>> You also can't download .chm files from a web browser and simply click Open. Download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock.
That fixed it for me. What benefits does this block option (for CHM files) offer? Presumably not to prevent malicious code from running on my machine, since everything is blocked, including benign text.
Saturday, May 5, 2012 10:12 AM -
never ending story - CHM security …
So, no benefits - security fix only. It's to prevent malicious code from running on your machine. CHM's are save only on local drives. You don't know what's inside a Compiled Help Module (CHM) coming from the web e.g. Java-Script.
JavaScript and the DOM provide the potential for malicious authors to deliver scripts to run on a client computer via the web.
Quote from Tim Greens solution (see link below)
"The outcry from outraged developers and help authors everywhere was deafening. To be honest, we never really understood the alleged security risks of CHM files on networks – to the best of our knowledge there is no record of a single malware exploit with CHMs. But Microsoft had spoken, the new law was passed and the options available to developers were extremely limited."Developers maybe interested in following solution (see my blog):
http://weblog.helpinfo.eu/2012/05/05/making-chm-files-work-on-network-drives/Following link may help some admin’s because well described:
http://tinyurl.com/ylkdbzaUlrich Kulle - Microsoft Help MVP - (2007-2009) - http://www.help-info.de
Saturday, May 5, 2012 12:59 PM -
Hi,
You can't view .chm files opened over a network. I think there are workarounds for this, but you'll have to search this forum to find them.
You also can't download .chm files from a web browser and simply click Open. Download the .chm file to your computer first, right-mouse click it in Windows Explorer and select Properties. Then click Unblock.
- Dave
http://davesexton.com/blogThanks Dave. Exactly , What I was looking for.
Cheers :)
Kind Regards Jaber
Wednesday, May 9, 2012 11:28 PM -
This is an old thread, but I just want to thank Dave for posting and point out that Unblock still works in 2012. I had downloaded the source code for ScrewTurn Wiki, and its Help file was giving the "Navigation to the webpage was canceled" msg for every topic. Properties/Unblock on the .chm file fixed the problem, easy peasy!
- Edited by DougLeary Tuesday, May 29, 2012 10:07 PM
Tuesday, May 29, 2012 10:06 PM -
Thanks a million Dave..that works!!... :)Wednesday, August 29, 2012 7:18 AM