Internet Explorer stops responding when you use the AttachEvent method in an ASP.NET application to embed a Microsoft Office Web Components spreadsheet control in IE6
You see the following error messages:
Internet Explorer has encountered a problem with an add-on and needs to close.
The following add-on was running when the problem occurred:
Company Name: Microsoft Corporation
Description: Microsoft Office Web Components 2003
Learn more about add-ons.
When you click on Continue you see...
Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the information you where working on might be lost.
Please tell Microsoft about this problem!
We have created an error report that you can send to help us to improve Internet Explorer. We will treat this report as confidential and anonymous.
To see what data this report contains click here.
To resolve this problem, use attributes instead of events in the code for the application. Then, try running the application again.