Kill process throws aggregate exception

I recently upgraded to version 2019.10.3. The kill process that’s included in the framework now throws an error everytime it fires. It actually does kill the process but then the error is thrown. Anyone else experience this?

Source: Kill Process

Message: Encountered errors while trying to kill a process

Exception Type: System.AggregateException

RemoteException wrapping System.AggregateException: Encountered errors while trying to kill a process —> RemoteException wrapping System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.Kill()
at UiPath.Core.Activities.KillProcess.Execute(CodeActivityContext context)
— End of inner exception stack trace —
at UiPath.Core.Activities.KillProcess.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)


Set ContinueOnError field to True in properties of Kill Process activity and then check it.


Take a Start Process .


Hope this could add you more insights

Cheers @Will_Tyler

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