I have a VM with Windows server 2016, I provisioned a robot in the demo environment of UIpath.
This was working fine, but each time I ran the process my RDP session ended.
Because I want to see (for testing reasons) what the process is doing I allowed the number of RDP sessions on the server to more than one. I also changed the “LoginToConsole” setting to false in “UiPath.settings”. I also configured the RDP session timout to 120sec.
I still get the following error in Orchestrator. The local robot logs shows nothing, so the process is not started at all. What is going wrong?
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80070520): A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)\r\n at UiPath.UiSystemClass.OpenInteractiveWindowsSession(String bstrUser, String bstrPassword, UiOpenSessionFlags nFlags, String bstrApplication, String bstrAppArguments, Int32 nDelayMs, Int32 userToken, UiGenericOptions options)\r\n at UiPath.Core.Setup.OpenInteractiveWindowsSession(String username, String password, OpenSessionFlags flags, String application, String arguments, Int32 userToken, Int32 preferredWidth, Int32 preferredHeight, Int32 preferredDepth)\r\n at UiPath.Service.Impl.Executor.StartProcessInSession(Guid executorInstanceId, String username, String password, OpenSessionInfo sessionInfo, IntPtr userToken)\r\n at UiPath.Service.Impl.Executor.<>c__DisplayClass13_0.<<Start>b__0>d.MoveNext()"