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:

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
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:

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

1 Like

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?


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


we are also facing the same issue on our machines.

Could you please provide resolution steps for this?


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


I’m also facing the same issue.

Can anyone please provide the steps to fix this issue.


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.



I agree with @AaronTank. The exception (0xC0000005) overrides the try catch sequence in UiPath Studio and leads to irratic process stoppages.

Some of the answers in this thread and elsewhere was to change the version of the excel activities. But this is not the solution. We have tried all possible (from latest versions upto 2.7.2) excel versions as dependencies but the error still persists.

@loginerror could you help elevate this issue? I see many developers have faced / may face the same issue. Summary of this exception

  1. Changing the excel activity dependency version does not fix this issue
  2. This exception is classified as System.Exception but the catch (System Exception) sequence does not catch this error, which is not the excepted behavior un UiPath Studio.
  3. The activity at which this fails was also given the property of “Continue on Failure”. Still the error pops up and the entire process stops.
  4. Killing excel process before this error occurs does not help either

Error Details:
Message: Job stopped with an unexpected exit code: 0xC0000005
Exception Type: System.Exception
RemoteException wrapping System.Exception: Job stopped with an unexpected exit code: 0xC0000005


Hi @jeevith

First thing - if this is an Enterprise issue, please do let our technical support know here:

Then, does any of the Forum topics resonate with your issue (i.e. similar environment/tasks?)


iam facing the same issue could you please guide me what u did to resolve the issue?

I developed a reusable component to get the data from access db and it worked absolutely fine for me.

I’m having the same problem with the word automation (office 2007, is it a problem because it is old?). Can anybody help me?

Main.xaml (6.1 KB)

Hello @Manoj_Batra Can you share your reusable with me as I have this error working with db. Probably it will be of help to myself and my team. Thanks in Advance.