title: COMException with interopServices C# in Excel
body: <p>I am facing a very annoying problem while installing my program on some machines, I have developed a C# application and everything goes OK and surely I tested it on another machines with no problem but when I am installing it on my client machine the following problem occurs:
  <br/></p>
  
  <blockquote>
    <p>System.Runtime.InteropServices.COMException (0x800A03EC): exception
    from HRESULT: 0x800A03EC
        at
    System.RuntimeType.ForwardCallToInvokeMember
    (String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp; msgData)
       at Microsoft.Office.Interop.Excel.Range.set__Default(Object RowIndex, Object ColumnIndex, Object )
        at SchoolMgmt.certificate_succession.sum_operation()</p>
  </blockquote>
  
  <p>as the program communicates with Excel, Office Microsoft (I tried to install another Office version with no success).
  <br/>
  I've searched a lot for a solution but nothing works as it's claimed the problem is just a permission issue in the following path
  <br/></p>
  
  <blockquote>
    <p>C:\Windows\ System32\config\SystemProfile</p>
  </blockquote>
  
  <p>It is really driving me crazy why the program runs smoothly and successfuly on my testing machine but not on my client's !!
  <br/>
  Any suggestion please.</p>