Unable to Open a CHM file – You get a Unable to display web page error

When you try to open CHM files you might encounter issues. This is primarily due to 2 reasons.

 

  1. Security
  2. File path contains certain characters like #, ?, &, +

 

To overcome the security issue you have to follow the steps below..

  1. When you open the file you will be prompted with a security warning which you can dismiss by un checking the “Always ask…” checkbox and clicking “Open” button.
  2. Right Click the file and select properties from context menu. Click unblock button at the bottom and click Apply, OK

image

image

 

If you still get the error “This program cannot display the webpage” then verify if the path to the file has any invalid characters. For example a  path “C:\My C# Project Documentation\MyHelpFile.chm” will not work !

 

Change your path to “C:\My CSharp Project Documentation\MyHelpFile.chm” and it will work.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: