0

代理主机只有C盘。我尝试C:\Users\uania\AppData\Local\UiPath\app-21.4.4\UiRoobot.exe execute --file C:\agent\_work\1\s\src\abc.xaml在代理主机上运行并且运行良好,但是在发布时运行它,我得到一个错误访问被拒绝。我删除了代理配置并使用另一个授权帐户重新配置,它仍然无法正常工作。

描述异常: UiPath.Service.UserHost 21.4.4.0 System.Threading.Tasks.Task RefreshStatus(UiPath.Service.Api.RefreshStatusParameters) # System.AggregateException: One or more errors occurred. (access denied.) ---> System.ComponentModel.Win32Exception (5): access 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.GetOrOpenProcessHandle() at System.Diagnostics.Process.EnsureWatchingForExit() at System.Diagnostics.Process.set_EnableRaisingEvents(Boolean value) at UiPath.Service.UserHost.AttendedServiceProxy.RegisterClientProcess(Int32 clientPid) at UiPath.Service.UserHost.AgentOperations.RefreshStatus(RefreshStatusParameters parameters) --- End of inner exception stack trace ---

我还能尝试什么?

4

1 回答 1

0

您是否通过运行此文件来引用?

这就是我从设备调用批处理文件的方式

start "" "C:\Users\ecaballes\AppData\Local\UiPath\app-20.10.2-beta0004\Uirobot.exe" -file "C:\Users\ecaballes\Desktop\BR EXTRACTION\main.xaml"
于 2021-09-27T05:30:28.567 回答