Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800703F0): An attempt was made to reference a token that does not exist. (Exception from HRESULT: 0x800703F0) 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()
Start Time : “2017-07-10T09:09:00.687Z”
End Time : “2017-07-10T09:09:05.02Z”
Description:
I’m using Orchestrator in a corporate setup to run multiple processes on 2 PCs.
Recently I have started to get above error. I only get it sometimes, but today I got it once on each PC.
At least today it is the same process that fails. this is a process that run simultaneous on both PCs 30+ times per day.
As you can see the process is only running 5 sec before failing, last time it was 1 sec.
Can anyone tell me what this error message means, and how to avoid it?
Studio/Robot/Orchestrator Version:
I’m using the latest stable version of UiPath on an updated virtual windows 10
Hi @Dan_Wulff_Andersen,
I can guess you are using a terminal based application/WIndows, and you have to login to that application.
Please check the arguments which you are passing to the Interactive Window. Is there any null value with the arguments.
Hi @jibanjyoti
In the Event log I can see that UiPath gives the same error.
In UiPath log, the process is not even giving the first log line, that the process is starting.
The applications I what to start is not relevant, since I don’t get to that part.
On a normal process execution, this is the first log lines. see below.
As you can see, the first log, that the process execution started, is added 5 sec after the process is scheduled to start.
When I get this error, UiPath fails before I get the first log line.
09:33:05.3717 Info {“message”:“Process_0006__Feeder_waitlist_bookings_-_get_QueueItem_PROD execution started”,
09:33:06.6530 Info {“message”:“Initialise”,
09:33:06.8405 Info {“message”:“Starting FUNC_Outlook - Start Application”,
Here is a list of different reasons why it is failing. In all cases the process can start fine 30 min before and 30 min after.
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800703F0): An attempt was made to reference a token that does not exist.
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired.
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80070520): A specified logon session does not exist. It may already have been terminated.
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80071B8E): The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator.
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80070006): The handle is invalid.
Experiencing the same, it is really a random issue.
Anyone found out anything so far?
Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired. (Exception from HRESULT: 0x800705B4)
I have resolved this issue after uninstalling the below Security updates
Security Update for Microsoft Windows (KB4088879, KB4095515, KB4096236, KB4103715 & KB4103768)
Kindly try the same and revert in case of any issues.
In march there was a windows security update that broke the remote desktop connection between Orchestrator and robot. A fix was released for all version:
Can you please check the robot credentials from Orchestrator again? Those password/user/windows session errors in the logs might signal the fact that the password might be wrong or missing.
There are some not-so-user-friendly functionalities in the robot page in Orchestrator where you would modify something like the username and the password would reset but not visually (the dots are still there but the password is actually missing)
Please re-enter your credentials for the Robot in Orchestrator and let me know if this solved your issue.
As a tip, this COM exception happens when the Orchestrator cannot create a session on the target robot VM. This has several causes that can be diagnosed :
bad credentials in the robot page from orchestrator
a console session is already connected (cannot create rdp connection when console is active)
on windows 7 and 10, another user is logged in and only one connection is allowed at a time
wrong robot version on VM (see my post about versions above)
So when you get this error, try to manually create a connection to the robot VM using remote desktop connection application from windows. If it works, check your robot settings/version. If it doesn’t work, it’s a problem/limitation with Windows.
It is not confusing at all and I think we already tried everything.
credentials are there and correct
i even restarted the VM and tried, session should not be a problem
everything is on latest version.
To be honest from the logs it might seem that the firewall is somehow blocking the login, but we can’t identify exactly how and why. Anyway I will open and incident with the Support team to have this more looked into.