Automation faults because of package installation

I made an automation using Studio Web. It gets triggered when I receive an email and its purpose is to download a file from an FTP server and subsequently upload it to OneDrive. When testing the automation it finishes succesfully but when its triggered, it faults. The output says “Failed to install package” and “UiPath.CoreIpc.RemoteException: NU1202: Package UiPath.OfficeLibs 1.0.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0)”. It apparently only supports net461 and net6.0 but when istalling the second version nothing changed and the first version is not available in the official web anymore.

Has anyone had the same problem o an idea of how I can fix this?
Tnx.

Hey @Christian_Olubiodun_Georg,

We’ve raised an issue and we will try to investigate. We will need the project where this fails in order to try to replicate the issue.

Thank you,

Hello, thanks for the quick answer. Here’s a picture of the project.


The error output is the following:

Raw message:
Failed to install package ‘Test.Lowi.1.0.5’

UiPath.CoreIpc.RemoteException: Failed to install package ‘Test.Lowi.1.0.5’ —> UiPath.CoreIpc.RemoteException: NU1202: Package UiPath.OfficeLibs 1.0.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package UiPath.OfficeLibs 1.0.0 supports:

  • net461 (.NETFramework,Version=v4.6.1)
  • net6.0-windows7.0 (.NETCoreApp,Version=v6.0)
    NU1202: Package UiPath.OfficeLibs 1.0.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0) / linux-x64. Package UiPath.OfficeLibs 1.0.0 supports:
  • net461 (.NETFramework,Version=v4.6.1)
  • net6.0-windows7.0 (.NETCoreApp,Version=v6.0)
    — End of inner exception stack trace —
    at UiPath.Robot.Core.ProjectInstaller.InstallCore(InstallProjectCommand installCommand) in /home/admincdag30a7a6e8we/azp/agent/_work/1/s/Studio/Robot/UiPath.Robot.Core/NetCore/ProjectInstaller.cs:line 77
    at UiPath.Robot.Core.ProjectInstaller.<>c__DisplayClass11_0.<b__0>d.MoveNext() in /home/admincdag30a7a6e8we/azp/agent/_work/1/s/Studio/Robot/UiPath.Robot.Core/NetCore/ProjectInstaller.cs:line 54
    — End of stack trace from previous location —

hello, now you are already get a solution for this problem or how to?

Hello, unfortunately not, I thought that maybe the problem relies on the .NET version of the Robot Machine and not of my computer but due to my company policy I can’t create a VM cloud robot (in which maybe I have more control), only a Serverless.

my problem is when testing process always successful but when production always failed.

I think this error like when running on local machine (not cloud) because failed install package while cloud is not need install anything.

I have the same problem aswell however the packages do need to be installed on the cloud server as well as in the local machine. The activities might be in the server but the project has to be built inside there too.

Hello, I was finally able to solve the problem. All I did was:

  1. Replicated the project on the Studio Desktop app and upload it to Orchestrator with Windows compatibility, NOT cross-platform. This is very important.
  2. Chose windows credentials for the Robot.
  3. Made sure that the domain/username of the robot and the machine name are the same.
  4. Used the host’s password for the credentials.

Hope this helps!