Unable to Execute the Job from Uipath Robot

Hi All,

I have recently developed an attended automation and its working in my machine. But when i tried to run it from User’s machine i couldn’t execute the BOT from UiPath Assistant and getting below error

Please be noted that Both studio and UiPath Assistant version is same
**Could not load type ‘System.Activities.TextExpressionBase`1’ from assembly ‘UiPath.Workflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null’.

System.TypeLoadException: Could not load type 'System.Activities.TextExpressionBase1' from assembly 'UiPath.Workflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null'. at KeyBankARPReportProcess_AttendedBOT.Main.GetImplementation() at System.Activities.Activity.OnInternalCacheMetadata(Boolean createEmptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow()**

Hi @Aswini

Please check if the UiPath version is same like yours and check the version of the package .

Hi @Kanak_Lata_Singh

Business doesn’t have Dev or Test Environment for the application. So i had developed the code in users machine and she has community studio in her machine and that code is working in my machine which has 22.10 enterprise version. But now we have a back for the first business user and BOT is failing in the backup person whose has community edition and same version of Assistant in her machine

please find the screenshot below for Package versions i have used

image

Hi @Aswini

It could be also because you have enterprise version and they have community .
Is it possible u can debug the code in community version in one of the user’s machine and check .

@Kanak_Lata_Singh i have debugged and checked its working very fine when i run from studio in both of their machines and running fine from UiPath assistant is working in only one user machine but other user is getting issue

Hi @Aswini

Please refer this below thread , hope it helps you in solving this issue .

Double check if the robot version is having the same version as your Studio.
If you don’t want to check that, update the robot version to the latest version at this moment (24.10.6) and the compatibility error should go away.