The “This program cannot display the webpage” error is encountered when generated CHM documents are copied to a network drive

Applies to
ApexSQL Doc, ApexSQL Doc for MySQL

Summary
This article explains what to do when the “This program cannot display the webpage” error is encountered

Symptoms
A new database CHM document can be opened from a local machine. After it is copied to a network drive, the “This program cannot display the webpage” error is encountered

Resolution

  1. Use the UrlAllowList entry to enable specific URLs
  2. Warning: Include only URLs for sites that are trusted
    For example, *.chm files are in the \productmanualshelpfiles folder and the web application is located at http:// www.wingtiptoys.com/help. Paste the following text in a text editor such as Notepad and save the file using the *.reg file name extension. This file extension re-enables hosting of the HTML Help ActiveX control

    REGEDIT4 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp] [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp1.xHHRestrictions] “UrlAllowList”=”\\productmanuals\helpfiles;http://www.wingtiptoys.com/help/”

    Wildcard characters cannot be used in the URL string of any site that is added to the UrlAllowList registry key, for example “UrlAllowList”=http://*.wingtiptoys.com. However, the following URL string can be used “UrlAllowList”=”http://help.wingtiptoys.com”

  3. Paste the following text in a text editor such as Notepad and save the file by using the *.reg file name extension
  4. REGEDIT4 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp]
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp1.xHHRestrictions]
    “MaxAllowedZone”=dword:00000003 “UrlAllowList”=””
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp1.xItssRestrictions]
    “MaxAllowedZone”=dword:00000003 “UrlAllowList”=””

About ApexSQL Doc
ApexSQL Doc documents SQL Servers, databases, objects, and SSIS packages in a single document. Create database documentation in a variety of formats including compiled help (*.CHM), HTML and MS Word. Schedule your documentation process unattended with the help of the CLI

Last updated
April 7, 2013