Microsoft KB Archive/235405

= PRB: HTML Help Viewer Causes Access Violation =

Article ID: 235405

Article Last Modified on 7/24/2001

-

APPLIES TO


 * Microsoft HTML Help 1.1
 * Microsoft HTML Help 1.2
 * Microsoft HTML Help 1.21
 * Microsoft HTML Help 1.3

-



This article was previously published under Q235405



SYMPTOMS
After running the HTML Help update program, Hhupd.exe, an access violation occurs when trying to view any .chm files.

The access violation may not happen immediately after running Hhupd.exe.



CAUSE
The file Hh.dat is corrupt.



RESOLUTION
Delete Hh.dat. This file is located under the WINNT directory on Windows NT and Windows 2000 systems, and under the WINDOWS directory on Windows 95, Windows 98, and Windows Millennium Edition (Me) systems.

Reinstalling Hhupd.exe or Internet Explorer does not fix this problem; however, it could help if the errors you are getting are not caused by Hh.dat.



MORE INFORMATION
Hh.dat is a database file that saves such session information as the window position and favorites for the HTML Help viewer. The database file is automatically updated every time the HTML Help Viewer is used. If the database file does not exist, it is re-created. When updating the HTML Help viewer, the information in Hh.dat is not necessarily compatible with the new viewer, which can cause it to become corrupt. Deleting the Hh.dat file when Hhupd.exe is run is a good practice.

NOTE: Deleting Hh.dat causes the "favorites" settings to be lost. However, running Hhupd.exe makes changes to the HTML Help Viewer that could render them unusable.

