Source: Use Excel File Message: Exception from HRESULT: 0x800401A8 Exception Type: UiPath.Excel.ExcelException error in ui path starter
RemoteException wrapping UiPath.Excel.ExcelException: Exception from HRESULT: 0x800401A8 —> RemoteException wrapping System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800401A8
at Microsoft.Office.Interop.Excel.ApplicationClass.get_ProtectedViewWindows()
at UiPath.Excel.WorkbookApplication.FindExistingWorkbook(String workbookPath, Workbooks workbooks)
at UiPath.Excel.WorkbookApplication.InternalOpenWorkbook(WorkbookArguments args, Boolean onlyIfWorkbookExists)
— End of inner exception stack trace —
at UiPath.Excel.WorkbookApplication.InternalOpenWorkbook(WorkbookArguments args, Boolean onlyIfWorkbookExists)
at UiPath.Excel.ExtendedWorkbookApplication.ExtendedAttachOrCreateNew(WorkbookArguments workbookArguments, IExcelInstanceManager instance)
at UiPath.Excel.ExtendedWorkbookFactory.Create(Boolean attachOnly)
at UiPath.Excel.WorkbookQuickHandle.SafeGetWorkbook(Boolean attachOnly)
at UiPath.Excel.WorkbookQuickHandle.OpenWorkbook()
at UiPath.Excel.Activities.Business.ExcelApplicationCard.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)