Cannot bring target application foreground - Internet Explorer

We have a process that processes quite a few transaction items in the queue, using Internet Explorer (don’t ask why; thats just the way it is). After processing 15 transaction items, it always runs into the error displayed in the screenshot:

There have been issues similar to this on the UiPath forum with no definite answers for the last 4 years, so I’ll state some specs over here:

  • The robot is in service mode
  • This is a windows process that was converted from legacy recently
  • Process uses internet explorer and ‘Click image’ activities because it was designed almost 6 years ago. This cannot be changed immediately.
  • File explorer is not open.

Let me know about any ideas as to why this occurs everytime after processing a few transaction items, and not at the start.

@ramsun

It might be because of service mode…if not installed in service mode the screen can get locked after some time due to window settings…try installing in service mode that would be best option

Also it would be a good idea to check the screenshot during error to know if there is any pop up or something that is blocking it

To check service mode…go to task manager → details → check for UiPath.service.host

Cheers

I have already mentioned the fact that the robot is in service mode, in the question.

@ramsun

Then why did you mention not sure after that?

Did you happen to check the screenshot?

Cheers

I have the same issue and have been looking all over. I’m in service mode as well. All I see is posts about service mode. That is not the problem.

One thing I did see was to use simulated instead of Chromium but not sure if that works. My process will run for a long time then fail due to this error.