the automation runs well in Studio - when started from the Orchestrator or the Assistant - it errors out with the Could Not Load File or Assembly… I did follow some of the suggestions on the forum - deleting .Nuget packages - no change in behavior even after a republish
I do see the UiPath.AutomationNext.Activities in the Imports area - not sure if I can delete.
Lost here…
This is from the orchestrator log file:
Info: Could not load file or assembly ‘UiPath.UIAutomationNext, Version=22.12.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly ‘UiPath.UIAutomationNext, Version=22.12.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified. at XXXXXXXXXXX.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()
When I execute the case (testcase) locally via studio the execution goes fine. As soon I execute the case in orchestrator following errors interrupts the execution. I noticed, that the folder C:\Users<particular username>.nuget\packages is also empty. And even when I run the process locally via studio, the packages are not there. I am using the package UiPath.UiAutomation.Activities (24.10.1) in ‘Lowest applicable version’ runtime rule. Before I was also trying with ‘strict’ runtime rule but still the same issue. Can someone help me there?
I also got the same ‘Failed to install package (NU1107)’ error. I fixed that by referencing directly the suggested UiPath package. But still came up to this mentioned error of you.