robot
2024.10
true
Admin Guide
Last updated 2024年10月21日

Package troubleshooting

UiPath Assistant 中不显示从 Studio 发布的包

描述

UiPath Assistant 中不显示从 Studio 发布的包。

潜在问题

The issue occurs when you use a mapped network drive for your packages. The mapped network drive is available to the user that created it, whereas the Robot Service operates on a system-wide level.

强制包签名验证

描述

When upgrading to a newer version from an older one, some automations may fail to execute, especially when package signature verification is enforced.

潜在问题

The packages folder holds both signed and unsigned versions of activity packages. When executing an automation, the Robot installs the lowest applicable version of that activity package, which may be the unsigned version. If package signature verification is enforced, then the automation execution fails. Otherwise, it executes as expected.

解决方案

  • 确保自动化项目中使用的所有程序包均已签名。
  • Modify your automations so that they request the latest package version upon execution.

迁移后无法访问 NuGet 包

描述

Once the migration of a Robot from Service Mode to UserMode is complete, the XML files within the NuGet packages become inaccessible. Additionaly, the following error message is displayed: "Access to path C:\Users\john.doe\.nuget\packages\HelloWorld\1.0.0\lib\net45\Main.xaml is denied".

潜在问题

When the Robot operates in Service Mode, the Local System user, under which the robot service runs, downloads and installs packages in a specific folder. After switching to User Mode, the current user cannot access the NuGet packages in that folder anymore.

解决方案 1

Deleting packages from the original folder allows the Robot to reinstall them in a folder the current user can access, enabling the Robot Service to access the packages as well.

解决方案 2

While converting from Service Mode to User Mode, you can modify the location of the package folder. This allows the Robot to rebuild the directory and use it for future downloads.

机器人无法下载包

描述

由于缺少项目对应的 .nupkg 文件,机器人无法下载包。

潜在问题

The package folder might already contain both:

  • a version of the package with the corresponding .nupkg project file, and
  • aversion without the .nupkg project file.

解决方案

Remove the previously installed packages from the %UserProfile%.nuget\Packages folder and download them again.

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。