I am getting an error in the web portal while running it in UiPath Assistant, but the SAP application is working correctly

I am working with both SAP and a web portal. I used different click activities and tested all possible click options, and everything works correctly in Studio. However, when I run the process from UiPath Assistant, it shows the following error:

Error:-
“Could not load file or assembly ‘UiPath.System.Activities, Version=25.10.3.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.”

I have already updated the activity packages, but the issue still persists

Hi @Sharanbasappa_Malipatil
Welcome to UiPath,

Ensure the same UiPath.System.Activities package version is installed on both Studio and Robot, consolidate dependencies in Manage Packages, , if still not work then republish the process from Studio so Assistant can load the correct assembly.

If helpful, mark as solution. Happy automation with UiPath

Try clearing the NuGet Cache from the unattended robot user profile.

It’s located normally at this location - %USERPROFILE%\.nuget\packages

Then re-run it.

Can you confirm. Is this the same machine you developed on?

If not, what version of assistant is running on the machine you are trying to use and what version of Studio did you use to build the automation?

Yes, its same machine develops on

Please elaborate it how I can clear NuGet Cache

And Studio versions?

I feel like I saw this recently and cannot remember what the issue was in the end. Let me see if I can remember it.

and click OK

Delete everything inside the packages folder and Restart the UiPath Robot service from the services.

Then when you re-run bot, it will install all the dependencies.

Hi @Sharanbasappa_Malipatil , check eventviewer logs on the computer it is failing, you will see which package is missing, upload the package to UiPath orchestrator library section.

I ran into these issues earlier, i had to upload the missing library version to orchestrator library

The error occurs because UiPath Studio is using UiPath.System.Activities version 25.10.3, but the Robot or Assistant does not have this version available. Update the Robot or Assistant to match the Studio version, or downgrade UiPath.System.Activities in Studio to a version that the Robot already supports, then publish again and run. This will resolve the issue.

Let me know if this worked or not?