title: Internet Explorer Script Error, Message from Webpage, Permission denied
body: <p>I'm working with an embedded (Active X?) instance of IE within a VB6 application.</p>
  
  <p>The browser displays demographic information based off the selected person (displayed as a list).</p>
  
  <p>Everything works great until I try to quickly select different people from the list (clicking randomly over different people as fast as I can). After a few clicks, get two errors. </p>
  
  <p>The first is an "<strong>Internet Explorer Script Error</strong>"</p>
  
  <p>It says:</p>
  
  <p><em>An Error has occurred in the script on this page<br>
  Line:<br>
  Char:<br>
  Error:<br>
  Code:<br>
  URL:
  Do you want to continue running scripts on this page? yes|No</em></p>
  
  <p>(Line, Char, Error, Code, URL are all blank).</p>
  
  <p>The second error pops up directly over the first. </p>
  
  <p>It says: </p>
  
  <p>"<strong>Message from webpage</strong></p>
  
  <p><em>An error has occurred in this dialog<br>
  Error:53  Permission denied</em>"</p>
  
  <p>The page makes multiple ajax calls and also contains several iFrames (I'm thinking these are the cause). </p>
  
  <p>Any advice on how to debug / resolve / avoid the problem would be most appreciated. </p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is an image of the error</p>
  
  <p><a href="https://i.stack.imgur.com/N55de.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N55de.png" alt="Error"></a>
  </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I get a JScript anonymous function, No source available when I do happen to catch the error.</p>
  
  <p><img src="https://i.stack.imgur.com/odXFH.png" alt="No Source Available"></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I've successfully caught some of the errors. It seems that they are stemming primarily from MicrosoftAjax.js</p>
  
  <ul>
  <li>Occurs Consistently: MicrosoftAjax.js - Sys._Application.callBaseMethod(this,"initialize"); Object Expected</li>
  <li>Occurred Once: jquery-1.4.2.min.js - b.InsertBefore(d,b.firstChild) Object Expected</li>
  <li>Occurred Once: Out of Memory Exception. </li>
  </ul>
  
  <p>My host application is not using MicrosoftAjax.js at all, but the child iFrame applications are all asp.Net applications.</p>