title: Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE) in c# when making excel application
body: <p>i use c# to make macro in excel but in this line of my code </p>
  
  <pre><code>oExcel = new Excel.Application()
  </code></pre>
  
  <p>i have  this error </p>
  
  <blockquote>
    <p>Retrieving the COM class factory for component with CLSID
    {00024500-0000-0000-C000-000000000046} failed due to the following
    error: 80080005 Server execution failed (Exception from HRESULT:
    0x80080005 (CO_E_SERVER_EXEC_FAILURE))</p>
  </blockquote>
  
  <p>I use IIS 7 , visual studio2013(use asp.net) and windows server 2008</p>
  
  <p>i try this ways but not work for me :
  Run>ComponentService>Computers>My Computers >DCOM Config> Microsoft Excel Application > Right click >Properties >security tab > give accesse of everyone to  full contol</p>
  
  <p>is it about permission of windows or not ?</p>