I am facing the issue while running EXCEL related bot in the UIPATH tool

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]

Hey @Masuma_Khatun,

This error 0xC0000005 usually points to an Access Violation, often caused by Excel not being properly closed in the background or compatibility issues with Excel activities.

→ First, make sure Excel is installed and licensed properly
→ Then open Task Manager and kill all Excel.exe processes
→ Restart your machine to clear stuck sessions
→ In UiPath, add a “Kill Process” (Excel) at the beginning of the workflow
→ If the issue persists, try updating your Excel activities package
→ Also, run the robot in attended mode first to confirm if it’s an unattended mode limitation.

Let me know if you have any questions

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.