Scenario: Trying to launch Excel with “Excel application scope” but immediately get the following error:
“System.Exception: Error openning workbook. Make sure Excel is installed —> 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)).”
Same error when trying to use Outlook through UiPath. Both applications work when using them outside UiPath.
Steps to reproduce:
Current Behavior:
Expected Behavior:
Studio/Robot/Orchestrator Version: UiPath Studio 2017.1.6435, Excel 2016 (16.0.8201.2200) 64-bit
Last stable behavior: Never worked.
Last stable version: -
OS Version: Windows 10 Enterprise
Others if Relevant: (workflow, logs, .net version, service pack, etc): I have tried to find solutions online, I have checked registry editor for multiple office entries, I have repaired and even reinstalled Office and UiPath without luck.