Job stopped with an unexpected exit code: 0xC0000005

I have always assumed that a process should not stop if it is in try catch and in infinite loop. Process looks like this:

TRY
connect to access db
insert a line of data to table (using query activity)
update that line of data (using non query activity)
delay 10 sec
CATCH
on system exception do nothing

And also it designed to loop itself.

After an hour or so, an exception is thrown and the process is stopped:

18.4.5+Branch.support/v2018.4.Sha.2a53a262e2c1098055c3ecbdabe73d45e0a6dc29

Message: Job stopped with an unexpected exit code: 0xC0000005

Exception Type: System.Exception

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:

System.Exception: Job stopped with an unexpected exit code: 0xC0000005

Hi @NotFranmax,

Have to tried to google the error code, it represents some some installation error, Can you check once?

1 Like

Thanks, will check and return

Did you ever find out what the issue was?

Hi,

I am also facing this issue.

Can you please provide solution if it is resolved, I am struggling to find this solution over a week.

Thanks in advance

Hi,

we are also facing the same issue on our machines.

Could you please provide resolution steps for this?

Thanks

did u resolved tis issue?

Yes, It was coming when I was trying to open the access db connection more than once. So, I created a custom code to fix that and it worked fine for me

Hi,

I’m also facing the same issue.

Can anyone please provide the steps to fix this issue.

Thanks

Steps to solve -

  1. Under Project > Dependencies
    2 Right Click on Excel.Activities
    3 . Click on Manage
    4 Select the package “UiPath.Excel.Activities”
    5 . On right Pane, click on update

This must fix the error.

I selected the latest package 2.8.6 ( not the preview)

1 Like

None of the above solutions resolved the problem for me. Do you have any other ideas please?
Thank you in advance.

Seems like a db driver issue. Try reinstalling access database engine:

Did not worked…

I also face this error ocassionally. It seems to be a generic error code related to many different causes. Once it was caused from a string object I was passing getting too large due to a bad loop, other times it has been due to the application going offline. I am automating a web-based app and occasionally if the internet connection drops or is interrupted or the server has some issue, the application will hang. Then, after about 30 seconds of the app being unresponsive, this error appears.

The problem is that this exception is not caught by Try/Catch. When this happens, the solution is to close the app and re-launch it - an operation which should be handled by my reFramework implementation. However, any time this error occurs, it is not caught and the process stops dead. How do I make this exception get caught? It’s a fairly common failure point of my automation which the reframework should address, but is failing to work correctly.

image
image