title: Illegal operation attempted on a registry key that has been marked for deletion - only in IE
body: <p>I have a web application that throws the following error when running in IE:</p>
  
  <blockquote>
    <p>Illegal operation attempted on a registry key that has been marked for
    deletion</p>
  </blockquote>
  
  <p>It works fine in Chrome. Unfortunately this is a production deployment and I do not have access to see any more detailed information on the error.</p>
  
  <p>I have read some information related to this error message here</p>
  
  <p><a href="http://social.msdn.microsoft.com/Forums/en-US/90e22b43-e24f-44be-9345-ecbade0b32c9/urgent-comexception-illegal-operation-attempted-on-a-registry-key-that-has-been-marked-for?forum=commserver2007" rel="noreferrer">http://social.msdn.microsoft.com/Forums/en-US/90e22b43-e24f-44be-9345-ecbade0b32c9/urgent-comexception-illegal-operation-attempted-on-a-registry-key-that-has-been-marked-for?forum=commserver2007</a></p>
  
  <p>and here</p>
  
  <p><a href="http://blogs.msdn.com/b/distributedservices/archive/2009/11/06/a-com-server-application-may-stop-working-on-windows-server-2008.aspx" rel="noreferrer">http://blogs.msdn.com/b/distributedservices/archive/2009/11/06/a-com-server-application-may-stop-working-on-windows-server-2008.aspx</a></p>
  
  <p>Here is the Windows Event log which is consistent with what is described in those 2 links:</p>
  
  <p><img src="https://i.stack.imgur.com/bNBRi.png" alt="enter image description here"></p>
  
  <p>But it boggles me as to why this would only be occurring when using IE. Any ideas?</p>