When you use Microsoft Internet Explorer 6 on a computer that is running Microsoft Windows XP with Service Pack 2 (SP2), an access violation may occur in the Mshtml.dll file. Internet Explorer may close unexpectedly. This problem typically occurs when you close a pop-up window.
This problem occurs after you install one of the following items:
The hotfixes that are contained in security update 918899 (MS06-042)
An Internet Explorer hotfix that is released after security update 918899
For example, this problem occurs after you install the hotfix files that are contained in update 923996 or after you install the hotfix files that are contained in security update 922760 (MS06-067). This problem does not occur if you have not installed any Internet Explorer hotfixes.
Cumulative security update information
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To resolve this problem immediately, follow these steps:
Install the hotfix files in the most current cumulative security update for Internet Explorer. For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:
For more information about how to install hotfixes that are included in a cumulative security update for Internet Explorer, click the following article number to view the article in the Microsoft Knowledge Base:
897225 How to install hotfixes that are included in updates and cumulative security updates for Internet Explorer
Note This hotfix was first included in security update 928090 (MS07-016).
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
928090 MS07-016: Cumulative security update for Internet Explorer
After you install the fix, you must add the
registry key in the registry. To do this, follow these steps:
Click Start, click Run, type Regedit, and then click OK.
Locate and then click the following registry subkey:
On the Edit menu, point to New, and then click Key.
Type FEATURE_ADJUST_POPUP_UNLOAD_BEHAVIOR_KB926840, and then press ENTER.
Right-click FEATURE_ADJUST_POPUP_UNLOAD_BEHAVIOR_KB926840, point to New, and then click DWORD Value.
Type iexplore.exe, and then press ENTER.
Double-click iexplore.exe, type 1 in the Value data box, and then click OK.
Exit Registry Editor.
Apply this hotfix if you cannot install the current cumulative security update for Internet Explorer.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
The computer must be running Windows XP SP2 to install this fix.
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix is replaced by the hotfix files in security update 928090 and by later cumulative security updates for Internet Explorer.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Registry key information
After you install the hotfix, you must add the
registry key that is described in step 2 of the "Cumulative security update information" section.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about security update MS06-042, click the following article number to view the article in the Microsoft Knowledge Base:
918899 MS06-042: Cumulative security update for Internet Explorer
For more information about hotfix 923996, click the following article number to view the article in the Microsoft Knowledge Base:
923996 When you visit a Web page that uses a custom pop-up object, Internet Explorer 6 closes unexpectedly
For more information about the standard terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates