Main has thrown an exception Excepción de HRESULT: 0x80070005 (E_ACCESSDENIED)


#1

Please !! I need help with this problem.
The same thing is happening to me,

Happens when I’m going to run the robot.

Main has thrown an exception

Message: Executor start process failed, reason System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at UiPath.UiSystemClass.OpenInteractiveWindowsSession(String bstrUser, String bstrPassword, UiOpenSessionFlags nFlags, String bstrApplication, String bstrAppArguments, Int32 nDelayMs, Int32 userToken, UiGenericOptions options)
at UiPath.Core.Setup.OpenInteractiveWindowsSession(String username, String password, OpenSessionFlags flags, String application, String arguments, Int32 userToken, Int32 preferredWidth, Int32 preferredHeight, Int32 preferredDepth)
at UiPath.Service.Impl.Executor.StartProcessInSession(Guid executorInstanceId, String username, String password, OpenSessionInfo sessionInfo, IntPtr userToken)
at UiPath.Service.Impl.Executor.<>c__DisplayClass13_0.<b__0>d.MoveNext()

Exception Type: Exception

He gave many permits and the problem persists, would you help me?

Please help me !!


#2

Hi @Jean_Carlo_Hincapie,
May be you are using Excel or Word application in your flow.
Bot try to access your excel or word on that time some pop-up appear while your not activating licence key for Word/Excel
Check with that.
Regards,


#3

Hi @Hemanth,
The license of the office as such, is active.
The problem occurs when I am going to execute the robot, as if the user who initiates a session in the Windows service could not be accessed.

I am attentive with your help and thank you very much.


#4

Can u please explain the detail solution for this exception?