0
I have a web application that reads an excel spreadsheet and imports the cell values into the database automatically. I am using COM, so it is necessary on the machine Microsoft Excel installed. When I compile locally works smoothly. However, I have recently hosted Excel and the error is due to not having Excel installed. How can I get around this error? I don’t understand much of Azure, so I wanted to know a way to install Microsoft Office Excel.
ERROR THAT APPEARS:
Retrieving the COM class Factory for Component with CLSID {00024500-0000-C000-00000046} failed due to the following error: 80040154 Class not Registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Description: An unhandled Exception occurred During the Execution of the Current web request. Please review the stack trace for more information about the error and Where it originated in the code.
Exception Details: System.Runtime.Interopservices.Comexception: Retrieving the COM class Factory for Component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not Registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).