Article ID: 328592 - Last Review: November 15, 2007 - Revision: 5.7

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

Hotfix download is availableHotfix Download Available
View and request hotfix downloads
This article was previously published under Q328592
Expand all | Collapse all

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.

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 "-1" the new rows have no cells. Therefore, the next call to insertCell causes the access violation.

RESOLUTION

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

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:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
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 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.
   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
				

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.

STATUS

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

MORE INFORMATION

The following sample code demonstrates the problem that is described in this article:
<html>
<head>
<title>This page causes an access violation in Internet Explorer 6 
with the Q323759 hotfix, which was released on August 23, 2002.</title>
<script>

function load( ) {

     var oTable = document.getElementById( "test1" );

     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 );
}

</script>
</head>
<body onload="load()">
<TABLE class = "test" id = "test1">
</TABLE>
</body></html>
				
The following sample code demonstrates how to work around the problem:
<html>
<head>
<title>This page does not cause an access violation in Internet Explorer 
6 with the Q323759 hotfix, which was released on August 23, 2002.</title>
<script>

function load( ) {

     var oTable = document.getElementById( "test1" );

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

</script>
</head>
<body onload="load()">
<TABLE class = "test" id = "test1">
</TABLE>
</body></html>
				

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  (http://support.microsoft.com/kb/323686/ ) 100 percent CPU utilization when you use DHTML to add cells to a table
323759  (http://support.microsoft.com/kb/323759/EN-US/ ) MS02-047: August 22, 2002, Cumulative Patch for Internet Explorer

APPLIES TO
  • Microsoft Internet Explorer 6.0, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 2000
    • Microsoft Windows NT 4.0
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 98 Standard Edition
Keywords: 
kbautohotfix kbbug kbfix kbie600presp2fix kbhotfixserver kbqfe KB328592
 

Article Translations