Job failed in orchestrator, remote desktop

Hi,

My job failed in orchestrator while the remote desktop is sign out. However, the process is successfully run when the remote desktop is signed in (When the screen is on).

PS: The robot setting > login to console is set to no

The error faced by the project

  1. When click activity. The exception details show :

Timeout reached

*I didn’t edit the properties of the click activity, even though the stimulate click. The stimulate click is default. ( I didn’t make it true or false)
*Not sure whether it’s because of the stimulate click, but I saw online someone said it doesn’t affect it.

2.Take screenshot error :

Take Screenshot: System.ComponentModel.Win32Exception (0x80004005): The handle is invalid at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation) at System.Drawing.Graphics.CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, CopyPixelOperation copyPixelOperation) at UiPath.Vision.UiImage.FromScreenRegion(Rectangle region) at UiPath.Core.Image…ctor(Region screenRegion)

Thanks and regards,
G_ii

Hello @g_ii

Please check whether the robot is installed in service mode in the remote machine.

Thanks

Hi @Rahul_Unnikrishnan ,

I opened the task manager and found these few item.
image

It means that I installed the service mode right?

1 Like

Hi @g_ii

You can install the correct one

Check out this thread

Hope it will help you

Regards
Gokul

Hi @Gokul001

I installed the service mode…

Is it possible that the error occur because it didn’t stimulate click?

Thanks.

Hi @g_ii

In the Click activity → Enable the Simulated click option in the properties

Regards
Gokul

Hi @Gokul001

When I select the stimulate click, the error message is shown as below :

Click with “Simulate” is not supported for this element. Please use other input method.

Is it because the button is undetectable? But when debug or run the studio, it’s work.

Thanks and regards,
G_ii

Hi @Gokul001

Wanted to ask is it possible that a selector can work in Studio and UiPath Assistant, but it are not abele to detect when run through the orchestrator.

If it is possible, then maybe it’s because of the selector as

“Click with “Simulate” is not supported for this element. Please use other input method.”

is shown when I enabled the stimulate click.

As previously, before I enabled the stimulate click

timeout reached

error is shown.

Regards,
G_ii

Hi @g_ii

After modification have you publish the package?

Check out the resolution of the PC

Hi,

found that the root cause of the job is due to the popup box of the server manager that appears every time I login into the remote desktop.

Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.