用uipath打不开exccel程序,提示安装excel

19.10.1+Branch.master.Sha.0e00272ff1e0363c6709284cfa5bbf8631511d70

来源: Excel 应用程序范围

消息: 打开工作簿时出错。确保已安装了 Excel。

异常类型: System.Exception

RemoteException wrapping System.Exception: 打开工作簿时出错。确保已安装了 Excel。 —> RemoteException wrapping System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件失败,原因是出现以下错误: 80080005 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE))。
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 System.Activator.CreateInstance(Type type)
在 UiPath.Excel.WorkbookApplication.StartNewApplication()
— End of inner exception stack trace —
在 UiPath.Excel.WorkbookApplication.StartNewApplication()
在 UiPath.Excel.WorkbookApplication.InitializeExcelApp()
在 UiPath.Excel.Activities.ExcelApplicationScope.<>c.<.ctor>b__48_0(WorkbookArguments args)
在 UiPath.Excel.Activities.ExcelApplicationScope.Execute(NativeActivityContext context)
在 System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
在 System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
在 System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Hi @Vi-Ghost

Welcome to our UiPath Forum! :slight_smile:

Have you tried to update your activity packages (UiPath.Excel.Activities) and/or your Studio to the latest version (2019.10.5):

貌似,重新安装excel

有些时候Excel的版本并不兼容,建议换到2016以上