Hi Team,
I am trying to open power point using “Use PowerPoint Presentation” but i am getting below error, Could you please guide me on this. I have tried repairing Microsoft office but still it didn’t helped.
Source: Use PowerPoint Presentation
Message: Cannot open PowerPoint
Exception Type: UiPath.Presentations.PowerPointException
RemoteException wrapping UiPath.Presentations.PowerPointException: Cannot open PowerPoint —> RemoteException wrapping UiPath.Presentations.PowerPointException: Please make sure PowerPoint is installed —> RemoteException wrapping System.InvalidCastException: Unable to cast COM object of type ‘Microsoft.Office.Interop.PowerPoint.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.PowerPoint._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{91493442-5A91-11CF-8700-00AA0060263B}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Microsoft.Office.Interop.PowerPoint.ApplicationClass.set_DisplayAlerts(PpAlertLevel DisplayAlerts)
at UiPath.Presentations.Helpers.PowerPointHelpers.StartNewApplication()
— End of inner exception stack trace —
at UiPath.Presentations.Helpers.PowerPointHelpers.StartNewApplication()
at UiPath.Presentations.Helpers.PowerPointRefCountInstanceManager.InternalComAppReferenceCountManager.StartNewApplication(Object startOptions)
at UiPath.Shared.ComAppReferenceCountManager`3.StartOrAttach(TComAppStartOptions startOptions, Boolean& wasAlreadyRunning)
at UiPath.Presentations.Helpers.PowerPointRefCountInstanceManager.StartOrAttach()
at UiPath.Presentations.PresentationApplicationFactory.AttachOrCreateNew(PresentationArguments arguments, IPowerPointInstanceManager appInstanceManager)
— End of inner exception stack trace —
at UiPath.Presentations.PresentationApplicationFactory.AttachOrCreateNew(PresentationArguments arguments, IPowerPointInstanceManager appInstanceManager)
at UiPath.Presentations.PresentationApplicationFactory.Create(Boolean attachOnly)
at UiPath.Presentations.Activities.PresentationQuickHandle.SafeGetPresentation(Boolean attachOnly)
at UiPath.Presentations.Activities.PowerPointApplicationScope.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)