Works in Studio but it throws an error when executing on Orchestrator

My bot was running perfect in Studio but it failed when i tried to execute it using Orchestrator.
I have also tried downgrading the packages used to versions earlier than the Orchestrator but that did not help with the issue.

Can someone help me understand what does this mean pls?

Below is the error received.

  • Info: 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 RPA_ID465_KSB1.without_email.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 @ellie.liu

Check the below thread

Try keeping Runtime rule as Lowest as Applicable by keeping the packages in the latest version.

Hope it helps

Most probably you built the project in a 23.4+ or 23.10+ Studio/CLI version and you are running the project in a lower Robot version.

Try to upgrade the robot to this version https://download.uipath.com/versions/23.10.6/UiPathStudio.msi and retry to run the process.

1 Like

Hi Marian,

i’m using Studio Community Version 2023.12.0.
The Orchestrator is 2022.10.5.
I have downgraded all the packages used to 2022.10.5 and before.

I’ve checked with IT, they cant upgrade the Orchestrator.

Hi Parvathy,

i’m using Studio Community Version 2023.12.0.
The Orchestrator is 2022.10.5.
I have downgraded all the packages used to 2022.10.5 and before. I have also kept the runtime rule to lowest as applicable.

but those didnt resolve the error.

@ellie.liu,

As Marian highlighted, it’s Robot version issue. Try to upgrade robot version as per version compatibility of your Studio.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.