title: Excel Interop Throws HRESULT: 0x800A03EC Error on Workbooks.Add(Type.Missing) C#
body: <p>I have a program that exports a Data Grid View to Excel file.
  In one of my PCs runs correctly (Excel 2019), but when I use the same program on a PC that is having Excel 2016 and multiple users registered the Export function throws the Error HRESULT:  0x800A03EC</p>
  <pre><code>Excel.Application app=null;
                  try
                  {
                      app = new Excel.Application();
                      app.Application.Workbooks.Add(Type.Missing);
  
                      for (int i = 1; i &lt; dgv_tickets.Columns.Count + 1; i++)
                      {
                      ...
                      }
                  }
  </code></pre>
  <p>There Exception is thrown at line:
  <strong>app.Application.Workbooks.Add(Type.Missing)</strong></p>
  <ol>
  <li>I tried to run the .exe as an Administrator</li>
  <li>I used older COM assembly for the project</li>
  </ol>
  <p>Any ideas on this particular error?</p>
  <p>Thanks in advance</p>