title: Unable to cast COM object (EXCEL)
body: <p>My application just added a new function to allow export data into Excel. It worked fine on one device but when we implement it on the second one the following error appeared:</p>
  
  <p><strong>Error Message:</strong></p>
  
  <blockquote>
    <p>System.InvalidCastException: Unable to cast COM object of type
    'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type
    'Microsoft.Office.Interop.Excel._Application'. This operation failed
    because the QueryInterface call on the COM component for the interface
    with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the
    following error: Error loading type library/DLL. (Exception from
    HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).</p>
  </blockquote>