In development my process ran fine, but in production the process failed

Hi, anyone can help me. why this below error occurred.

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 XGL_ManualScheduler.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()

Please refer the below discussion
Could not load type ‘System.Activities.TextExpressionBase`1’ from assembly ‘UiPath.Workflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null’ - Help / Robot - UiPath Community Forum

My UiPath Studio version is 2023.10.0, and on the server, the UiPath Assistance shows the 2023.4.0 preview version.
If I upgrade the version on my server to match my version 2023.10. It will work or show an error again.
because I have used the enterprise edition, not the community edition.

It is recommended to use the same version of Studio, Orchestrator, Robot in all environments.

1 Like

Thank you for the update.
Now, I will synchronize the server robot version with my upgraded version to ensure error-free operation.

Is there any requirement needed.

Please refer the UiPath documentation for step by step guidance for upgrading products

Robot - Updating the Robot (uipath.com)