The error message “Could not load file or assembly ‘UiPath.Web.Activities, Version=1.20.1.0, Culture=neutral, PublicKeyToken=null’” indicates that Orchestrator cannot find the expected version of the UiPath.Web.Activities package (version 1.20.1.0) while running your robot. This is likely because you’ve downgraded the UiPath.WebAPI.Activities package in your project, but the robot still has a dependency on the older UiPath.Web.Activities package (version 1.20.1.0)
1. Update the Robot Dependency (Recommended):
Since your robot is working with the downgraded UiPath.WebAPI.Activities package (version 1.18.0), it’s best to update the robot’s dependency to match.
2.Verify Compatibility (Important):
After making any package version changes, ensure compatibility between the UiPath.WebAPI.Activities and UiPath.Web.Activities versions. Refer to UiPath documentation for compatibility information to avoid future conflicts.
3. Delete the all packages and reinstall all of them one by one:
If updating UiPath.Web.Activities isn’t feasible due to dependencies in your robot, you might consider upgrading the UiPath.WebAPI.Activities package back to version 1.20.1.0 (less recommended as it deviates from your current working setup).
Note: pls take a backup of your project and reperform the steps, also check your UiPath version with Orchestrator version
Why does it say that nearest version found in “Official” package source is “1.19.0-preview”, when I clearly am able to find and install version “1.20.1” - is this a bug???
I have now upgraded my Studio to 23.10.6 and published a new version with the newest dependencies installed.
When trying to execute an unattended robot (also on version 23.10.6) I still get the “Could not load file or assembly…”.
I can see in our Orchestrator library packages that we have an older version uploaded.
Could it be this package that interferes with the one comming from the Official package source?