Article ID: 245096 - Last Review: January 25, 2007 - Revision: 3.1 "Access Violation in MSHTML" Error Message in Internet Explorer 5This 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
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:
<FORM>
This sample code snippet reproduces the problem:
<TABLE><TR><TD> <SUBMI></FORM><TD> <TD> <FORM><SUBMIT></FORM> <TD><TR> </TABLE>
<HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> Problem: <FORM> <TABLE><TR><TD> <INPUT TYPE="SUBMIT" NAME=Button1"></FORM></TD> <TD> <FORM> <INPUT TYPE="SUBMIT" NAME=Button2"> </FORM> </TD></TR> </TABLE> </BODY> </HTML> 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:
<TABLE><TR><TD>
This sample code snippet demonstrates the workaround in HTML:
<FORM><SUBMIT></FORM> </TD> <TD> <FORM><SUBMIT></FORM> </TD></TR> </TABLE>
<HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> Work around: <TABLE><TR><TD> <FORM><INPUT TYPE="SUBMIT" NAME=Button1"></FORM> </TD> <TD> <FORM><INPUT TYPE="SUBMIT" NAME=Button2"></FORM> </TD></TR> </TABLE> </BODY> </HTML> STATUSMicrosoft 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. MORE INFORMATION
This problem does not occur in Internet Explorer version 4.01.
| Article Translations
|

Back to the top
