locked
Couldn't generate excel using interop.excel component recently. Suspecting recent microsoft update cause this issue. RRS feed

  • Question

  • hi all,

    I am getting following error while try to generate the excel using interop.excel component but I could generate excel previously. This error occurred to many users recently those can able to generate the report previously. I am suspecting some microsoft updates cause this issue. If anyone experience this issue please help me to overcome this.

    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: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).

    Thanks

    Arivazhagan K

    Wednesday, January 29, 2020 7:19 AM

All replies