Microsoft KB Archive/245096

= "Access Violation in MSHTML" Error Message in Internet Explorer 5 =

Article ID: 245096

Article Last Modified on 1/25/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.0

-



This article was previously published under Q245096



SYMPTOMS
When you are using Internet Explorer 5 and you move between HTML "submit" buttons, you may receive a general protection (GP) fault error message similar to:

The instruction at "0x70c56780" referenced memory at "0x00000000. The memory could not be "read".

Click on OK to terminate the application

Click on CANCEL to debug the application

When you view the Dr. Watson log after this error occurs, the logged access violation may be similar to:

Application exception occurred:

App: exe\explorer.dbg (pid=134)

When: 12/12/1997 @ 23:19:42.27

Exception number: c0000005 (access violation)



CAUSE
Three conditions must exist for this behavior to occur:
 * The FORM tags overlap the TABLE tag.
 * The HTML FORM submit buttons are very close together.
 * You move the mouse pointer rapidly between the two buttons.

The following sample HTML code demonstrates the general improper tag format:



This sample code snippet reproduces the problem:











Problem:









WORKAROUND
You can avoid this condition by moving the two buttons farther apart, or by placing the begin and end FORM tag outside of the begin TABLE and end TABLE tags or inside the TABLE tags.

Sample workaround:

This sample code snippet demonstrates the workaround in HTML:





</TITLE>

</HEAD>



Work around:

</BODY>

</HTML>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem has been resolved in Internet Explorer 5.01.

<div class="moreinformation_section">

MORE INFORMATION
This problem does not occur in Internet Explorer version 4.01.

Keywords: kbfix kbprogramming kbprb KB245096

-

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

© Microsoft Corporation. All rights reserved.