How to resolve the error "The Requested Resource is in Use" . (Exception from HRESULT: 0x800700AA) received while running the multiple Robots on the same machine simultaneously?
The error “The Requested Resource is in Use” occurs when the Robot Service in the Robot machine, where the job is triggered is unable to create a user session.
This can be due to the fact that there is already a Job which is being executed on the Robot with the same user or a different user, which is keeping the Robot machine busy. Try the below settings, which will keep the Job in the Pending state in case the Robot is busy.
- Login to Console is not set to No. Set it to No in the Robot settings as given in the below screenshot.
- Ensure that the machine has enough CAL license available and it is possible to login manually using RDP for multiple users simultaneously.
- Sign out from the system instead of directly disconnecting it, so that all the resources are released and Robot creates a new session every time the Job is triggered.