Skip to main content
Question

Technical error 0xc0000142

  • November 24, 2025
  • 3 replies
  • 24 views

Forum|alt.badge.img+11

Hi everyone,

I have a bot in production that suddenly fails with the error message “The application was unable to start correctly(0xc0000142). Click OK to close the application.

How can that be solved ?

 

3 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • November 24, 2025

@Augustin That’s an error at the Bot Agent itself. Here’s what I would do if I received the same message:

  1. Launch Services and stop the Bot Agent.
  2. Once the Bot Agent is stopped, I would delete all the files and folders from here (note that this is a hidden folder):  
    C:\ProgramData\AutomationAnywhere
  3. Return to Services and start the Bot Agent.

What does that do? It cleans out the cache and any possibly corrupted files. The next time you run an automation, it will download fresh versions of the packages. See if that helps and let us know!


Forum|alt.badge.img+11
  • Author
  • Flight Specialist | Tier 4
  • November 24, 2025

@Augustin That’s an error at the Bot Agent itself. Here’s what I would do if I received the same message:

 

Hi Aaron,

Thanks a lot for your quick answer.

I have stopped the service, deleted the GlobalCache folder and started it again. It now seems to be working.

However, as it is the first time I encounter this error, I would like to know how I could avoid this error. What could be its cause ? How to ensure it won’t occur again ?


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • November 24, 2025

@Augustin Computers are fickle devices. Ensuring it won’t happen again? Literally impossible. This is the first time I’ve seen your specific error, so you won the “most unusual error” lottery for today.

Files get corrupted; memory gets corrupted; files get corrupted during the download process… there’s just too many variables and possibilities for issues. 

You might be able to reduce these chances by using server-class hardware with ECC memory and mirrored (or RAID’ed) storage, but Murphy’s Law still will find a way.