Bot fails after publishing to orchestrator

Could not load file or assembly ‘UiPath.SmartData.Telemetry, Version=6.9.5.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

at UiPath.IntelligentOCR.Activities.TaxonomyManagement.LoadTaxonomy…ctor()
at supplier_invoice.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, IList`1& 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,

You can downgrade the UiPath.IntelligentOCR.Activities package version to 6.5

UiPath.SmartData.Telemetry assembly. It’s likely that this assembly is either missing or has a version mismatch in your Orchestrator environment.
follow this steps :

1.Ensure that all the dependencies and libraries, including the UiPath.SmartData.Telemetry assembly, are correctly included in your project.check your project’s dependencies and verify that this assembly is available and properly referenced.

2.Open your project in UiPath Studio and go to the “Manage Packages” section. Make sure that all packages, including UiPath.SmartData.Telemetry, are up-to-date. If not, update them to the latest version.
3.Verify the version of UiPath.SmartData.Telemetry that is available in your Orchestrator environment. It should match the version used in your development project. If there’s a version mismatch, you may need to update your project to use the correct version.

@Chandru96

Downgrading is not a solution.

@Chandru96 this is usually because the server cannot download the package due to network restrictions.

Hi @Chandru96

  1. Sometimes, UiPath Studio may need a restart to recognize newly added or updated assemblies.
  2. Ensure that the assembly reference to ‘UiPath.SmartData.Telemetry’ is correctly added to your project. If it’s missing or not correctly referenced, you need to add it.
  3. Verify if the version ‘6.9.5.0’ specified in the error message matches the version of the ‘UiPath.SmartData.Telemetry’ assembly you have referenced in your project. If it doesn’t match, update the reference to the correct version.

There is no network restrictions as such can you please elaborate more on the other cases why i am getting this issue, Also about the Versions and packages that I have included