- 发行说明
- 入门指南
- UiPath Assistant
- 安装和升级
- 机器人类型
- 机器人组件
- 许可
- 将机器人连接到 Orchestrator
- 流程与活动
- 日志记录
- Robot JavaScript SDK
- 特定场景
- 故障排除
观察到的行为
从 v2020.4 版本开始,以管理员身份运行 UiPath Assistant 或 Studio,它们将无法与 UiPath 机器人服务通信,这可能引发以下错误:
Studio
The Robot Status displays a "Robot Error" message, and when trying to run or debug a process, an "Access Denied" error is displayed.
UiPath Assistant
Assistant 中的连接状态错误地报告为离线,并且流程列表不可用。
原因
UiPath Assistant and Studio (clients) require communication with Robot Service. This is a separate Windows process, which is automatically started by the client if it is not already running, with the same elevation level as the client.
例如:
- 如果 Assistant 以特权级别启动(它将自动以相同的特权级别启动 UiPath 机器人服务),然后 Studio 以不同的特权级别启动,则 UiPath 机器人服务只能与相同特权级别的机器人服务 (Assistant) 通信。
- 如果 Assistant 正常启动,然后关闭,然后以管理员身份启动,则通信会中断,因为最初以正常特权启动了 UiPath 机器人服务。
UiPath 机器人服务的权限级别与 Assistant 或 Studio 的权限级别不同,因此它们无法通信,并且将发生上述错误。
The behavior described is applicable to both User Mode and Service Mode Robots.
解决方案
为避免这种情况,请确保 Assistant、Studio 和机器人服务始终以相同的权限级别运行。
建议使用用户级权限运行 UiPath Assistant、Studio 和机器人。对于权限需要提升的特殊情况,您需要确保将 UiPath.Studio.exe 和 UiPath.Assistant.exe 配置为默认使用管理员权限运行。在此设置中,还必须以提升的权限使用命令行。
机器人 JavaScript 插件无法在权限提升的模式下运行。