Unable to open Microsoft Powerpoint

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)

Hi @SivaKrishna,
Are you able to send your project or the part responsible for opening the PowerPoint here? Please remove any delicate data if there are any.

PowerPointIssue.zip (65.9 KB)
Hi Pablito,

Please find the sample project with dummy data, I am not able to open Powerpoint from this project.

I tested the project and PowerPoint opens normally for me. Maybe something is wrong with your MS Office installation instance. Which version of Office do you have?

You may also try to use the Repair Tool: