I recently upgraded to UiPath 23.4.0 on my development machine because I saw it was available. I upgraded a project to use the latest packages, one of which is UiPath.System.Activities 23.4.2. The code works fine on my development machine when I am running it in Studio. But when I run the code in my UiPath Assistant from the orchestrator the below issue happens too.
I pushed my project to the remote machine but the project just stops immediately in orchestrator and I get this error:
“Could not load file or assembly ‘UiPath.System.Activities, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.”
To try to fix it, I installed 23.4.0 on my Robot machine, but that still did not fix it. I then tried deleting all of the packages from “C:\Program Files\UiPath\Studio\Packages” but that also did not fix it. I tried reducing the Runtime Rule of the dependencies in the project from Strict to Lowest Applicable Version, which also did not fix it.
I think the 23.4.2 version of system.activities is not on my robot machine, but I don’t know how to check that.
Hi @Nitya1, thanks for your message. There are no Robot logs at the folder path you mentioned. But as previously mentioned, there is an error related to the missing package: “Could not load file or assembly ‘UiPath.System.Activities, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.”
The package is not installed. So how do I go about getting the latest System.Activities package?
Yep, they are both the same version, 23.4.0. I think maybe because I am using the newest version that for some reason UiPath Orchestrator doesn’t have the latest version of the system.activities package? It’s weird.
Thanks again for your continued assistance! I disabled the firewall, deleted the package from my nuget folder to get a new version of the package, and re-installed it via Assistant and it still doesn’t work.
The compatibility is fine.
Where do I go in Orchestrator to see the System.Activities package? I don’t see it anywhere.
I’m having the exact same issue, and it started happening after updating both robot and development machine to version 23.4.0. I think I have found the culprit. I compared the .nuspec file for the published nupkg, and in version 23.4.0 I can find the following dependencies listed:
So basically it looks like the proper dependencies were missing from the nupkg published by new version of Studio? I just added the lines from old version of the .nuspec -file to the new version (I didn’t delete the runtime dependencies, idk if those are actually required?) and re-zipped the packaged and renamed back to .nupkg and boom it works. Hopefully a fix is on the way.