I am having a subtle problem with IE 7. We have a site with a one of the pages which has a button that is sometimes causes a full IE browser crash for some users. When clicked, this button posts back and renders a javascript code which automatically invokes a ClickOnce application for users via a url. The crash never happens the first time a user clicks this button, it always happens second or third time and always after several minutes of the page being inactive. We had this functionality for a long time and everything was working fine, nobody was reporting this issue. Then after we switched to a load balanced environment, we have two servers with identical settings and applications, we started to get reports of this issue from several users that have IE7.
We asked one user to turn on debugging in IE7 and when this issue occurred the page did not crash, but instead there were two errors one after another. Here are the error meassage:
1st error - contentwindow.document is null or not an object
2nd error - object doesn't support this property or method