Microsoft KB Archive/328592

= Access violation in Internet Explorer after you install hotfix from Knowledge Base article Q323686 or after you install the August 22, 2002, Cumulative Patch =

Article ID: 328592

Article Last Modified on 11/15/2007

-

APPLIES TO

 Microsoft Internet Explorer 6.0, when used with:  Microsoft Windows XP Professional

 Microsoft Windows 2000 Standard Edition

 Microsoft Windows NT 4.0

 Microsoft Windows Millennium Edition</li></ul>

 Microsoft Windows 98 Second Edition</li></ul>

 Microsoft Windows 98 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q328592

<div class="symptoms_section">

SYMPTOMS
After you install the hotfix for Internet Explorer that is described in Microsoft Knowledge Base article Q323686, or after you install the August 22, 2002, Cumulative Patch for Internet Explorer, an access violation may occur in Internet Explorer. The access violation occurs when Internet Explorer runs dynamic Hypertext Markup Language (DHTML) script to work with tables and cell data.

<div class="cause_section">

CAUSE
The access violation occurs because of a problem in the Internet Explorer hotfix in Knowledge Base article Q323686. This hotfix is included in the August 22, 2002, Cumulative Patch for Internet Explorer.

If insertRow is called two times with a default value of &quot;-1&quot; the new rows have no cells. Therefore, the next call to insertCell causes the access violation.

<div class="resolution_section">

RESOLUTION
WARNING: The August 22, 2002, Cumulative Patch for Internet Explorer must be installed before you apply this update.

A supported hotfix is now 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 service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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. <pre class="fixed_text">  Date         Time   Version        Size       File name --  18-Aug-2001  02:43  6.0.2600.0        91,136  Advpack.dll 30-Aug-2002 19:20  6.0.2720.3000  2,763,264  Mshtml.dll 06-Jun-2000 20:43  4.71.704.0         2,272  W95inf16.dll 06-Jun-2000 20:43  4.71.16.0          4,608  W95inf32.dll

<div class="workaround_section">

WORKAROUND
To work around this problem, after the initial call to insertRow, create a single cell in the row by using insertCell before the next insertRow call.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem does not occur in Internet Explorer 6.0 Service Pack 1 or later.

<div class="moreinformation_section">

MORE INFORMATION
The following sample code demonstrates the problem that is described in this article: This page causes an access violation in Internet Explorer 6 with the Q323759 hotfix, which was released on August 23, 2002.

function load {

var oTable = document.getElementById( &quot;test1&quot; );

var oRow = oTable.insertRow( -1 ); var oRow2 = oTable.insertRow( -1 );

// This is the code that causes the problem. It does not matter // whether you add the cell oRow or oRow2. If there are two rows, // the problem will occur. var oCell = oRow.insertCell( -1 ); }

<body onload=&quot;load&quot;> The following sample code demonstrates how to work around the problem: This page does not cause an access violation in Internet Explorer 6 with the Q323759 hotfix, which was released on August 23, 2002.

function load {

var oTable = document.getElementById( &quot;test1&quot; );

var oRow = oTable.insertRow( -1 ); var oCell = oRow.insertCell( -1 ); var oRow2 = oTable.insertRow( -1 ); var oCell2 = oRow2.insertCell( -1 ); }

<body onload=&quot;load&quot;>

Note An access violation may occur when Internet Explorer runs Dynamic Hypertext Markup Language (DHTML) script to work with tables and cell data. This problem does not occurs in Internet Explorer 6.0 Service Pack 1 or later. For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

323686 100 percent CPU utilization when you use DHTML to add cells to a table

323759 MS02-047: August 22, 2002, Cumulative Patch for Internet Explorer

Keywords: kbbug kbfix kbie600presp2fix kbhotfixserver kbqfe KB328592

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.