Hello,
I am trying to run a task from Orchestrator, but that closes down my citrix desktop and throws an exception as below. When I run the task from the studio on my citrix desktop it works fine.
“Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80071B9D): The target session is incompatible with the current session. (Exception from HRESULT: 0x80071B9D)\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, SettingsDictionary execSettings, IntPtr userToken)\r\n at UiPath.Service.Impl.Executor.<>c__DisplayClass15_1.<b__0>d.MoveNext()”
Start Time: 2018/03/15 17:30:39
End Time: 2018/03/15 17:30:39
That’s all I got.
let me tell you how I usually login to the remote desktop. I go to the gateway where I enter my username and password and then download .ica file which opens the remote desktop. Hope that helps in identifying the problem.
Setting logIntoConsole on the robot settings (you can do it under runtime tab in Orchestrator) enabled and false (by default it is disabled and false) should prevent this to occur.
Changing the settings I mentioned on my previous post should be resolving the issue.
Could you give a try and let us know?
Actually, what version of the studio are you using. Thinking better about it your problem may be related recent windows update and the RDP lib used by UiPath.
A corrective was applied with the release under - something you might want to try you are using an older version.