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



The information in this article applies to:

  • Microsoft Internet Explorer 6.0, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows Millennium Edition
    • the operating system: Microsoft Windows 98 Second Edition
    • the operating system: Microsoft Windows 98

This article was previously published under Q328592

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 now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Internet Explorer 6 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
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 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


Modification Type:MinorLast Reviewed:6/1/2006
Keywords:kbbug kbfix kbIE600preSP2fix kbHotfixServer kbQFE KB328592