title: how to solve Exception:Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) in C#?
body: <p>I have written a C# code in console application to open two excels and copy and paste data from one excel to another excel. It was working fine until the destination excel's visibility was true. But I need to hide the excel at the time of execution. So I changed the visibility to false. Like,</p>
  
  <pre><code>  _destExcelApp = new Excel.ApplicationClass();
    _destExcelApp.Visible = false;
  </code></pre>
  
  <p>Now its showing an exception like  </p>
  
  <blockquote>
    <p>Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))</p>
  </blockquote>
  
  <p>How to solve this one?</p>