Hey Vivek, some of the most frequently encountered orchestrator errors are as follows:
1. No robot available for user X
This error is encountered if the username provided for the Robot does not coincide with the one used on the Robot machine.
2. Permission missing: Launcher
It can occur when you are trying to start a job directly from the Robot machine (from the tray or Studio), and the machine username is not the same as the one used to connect the Robot to Orchestrator.If you are sure that the username with which you connected the Robot to Orchestrator is the same as the one on the machine, please use the Regutil.exe tool to deactivate the Robot license and reconnect to Orchestrator.
For example, if you connected the Robot to Orchestrator using the ABC username, you cannot start jobs on the Robot from the tray or Studio using a different user, such as XYZ.
3. Logon failure: unknown user name or bad password
This occurs when you tried to start a job on a Robot for which the credentials (the username and/or password) provided in Orchestrator are incorrect.
4. Executor start process failed, reason System.UnauthorizedAccessException: Access is denied.
The error is thrown if the Robot password is not provided. To add the password, edit the Robot.
5. Permission missing: Remote Execution
This error is displayed if you are trying to run a process on an Attended Robot from Orchestrator.
6. Executor start process failed, reason: A specified logon session does not exist. It may already have been terminated
There are two types of occurances:
A. Every time you try to start the Robot - This means that a logon session cannot be created at the moment. This happens if you are connected to the Robot machine with a different username with RDP. To avoid this error, sign off all the RDP connections on the Robot machine.
B. Randomly - In this case, you can check if the Robot machine has enough resources (CPU, Memory) or check the connection time using the mstsc command-line function. If the 60 seconds timeout period expires, the error is displayed.
7. An existing connection was forcibly closed by the remote host “Ooops! We’re sorry! It seems Orchestrator is down.”
This issue can occur in the following cases:
- The server is restarted in Internet Information Services (IIS).
- The server is shut down.
- The connection to the server is suddenly lost.
8. Value cannot be null
Encountered if, in Orchestrator, you start and kill a job quickly, while the process is still being downloaded on the Robot machine.
9. Job not found
The issue occurs when the connection between the Robot and Orchestrator is lost for a scheduled job with the Terminate After option enabled.
10. The handle is invalid
This error is displayed in the following cases:
A. Projects containing UI Automation - when a RDP connection already exists in the background (minimized).
B. As a known Windows issue.
11. Desktop has been disconnected while performing UI actions
The issue occurs whenever the RDP connection to the Robot machine is lost.
12. A device attached to the system is not functioning
This is caused by an external issues. "An attached device is not working for one of these reasons: (1) it is switched off, or connected improperly; (2) the floppy disk and drive types are incompatible; (3) the floppy disk is not properly inserted in the drive; (4) the drive door is open; or (5) the floppy disk is not properly formatted."
13. Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use
The issue is encountered if the logIntoConsole parameter in the UiPath.settings file is set to true while using High-Density Robots.
14. Execution error: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\UiPath…is denied
This error is encountered in the following situations:
A. If High-Density and regular Robots write or modify the same file. To avoid this, generate different files for Robots and unique user IDs.
B. If a Robot does not have write permissions for the target folder.
C. If the file has been created and the Robot cannot edit it.
15. Robot already running for user
This issue occurs when schedules overlap (2-3 schedules start at the same time).
16. Bad request and The remote host did not answer in a timely manner.
The issues occur when not all users on a machine are connected as Robots to Orchestrator.
17. The remote certificate is invalid
This occurs when the public key of the certificate is not imported or it is not imported in the trusted root certification authorities of the local machine.
18. Cannot upgrade the legacy UiPath.Core.Activities package.
This error can occur when you execute processes created prior to 2018.3. Processes created prior to 2018.3 depend on the legacy UI Automation package, namely Core.Activities. When you run them in the current version, you must use a Core.Activities meta-package that migrates the activities using the new System and UIAutomation packages.
By default, the legacy Core.Activities package is not published anywhere, so the migration meta-package is used. However, if the legacy Core.Activities was published on custom feeds or Orchestrator by users, the legacy package is installed, which exhibits this error. To solve or avoid this issue, simply remove the legacy Core.Activities package from any custom feed before trying to execute the process again.
19. System.Runtime.InteropServices.COMException: Licence permission missing
This issue occurs on Studio v2018.3.2 and above, when executing projects that are using the 18.3.6864.20582 version of the UiPath.UIAutomation.Activities package.
If you have projects created with Studio v2018.3.1 which were using the UiPath.UIAutomation.Activities dependency version 18.3.6864.20582 you must open them in Studio and the UiPath.UIAutomation.Activities dependency must be updated to the 18.3.6877.28298 version.
If you have projects created in versions prior to v2018.3.1 and weren't opened with this version, but v2018.3.1 is already installed, you must perform the following steps to prevent compatibility issues with future versions of the UiPath Platform. You must delete the 2018.3.6864.20598 version of the UiPath.Core.Activities dependency from the following locations:
- The Orchestrator feed
- The default packages location - %Program Files (x86)%\UiPath\Studio\Packages
- The NuGet cache - %userprofile%\.nuget\packages\uipath.core.activities
If Studio/Robot v2018.3.1 was NOT previously installed and the 18.3.6864.20582 version of UiPath.UIAutomation.Activities package is not deployed locally or on your Orchestrator feed, then you can upgrade to v2018.3.2 without any risks.