Bot not running in Orchestrator

Hi,
I have developed a BOT and when I execute on local machine it works perfectly. However when I try to run it from orchestrator, it gives me the following error:

Cannot create unknown type ‘{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({http://schemas.uipath.com/workflow/activities}GenericValue)’.

RemoteException wrapping System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({http://schemas.uipath.com/workflow/activities}GenericValue)’.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory1.Evaluate() at System.Activities.DynamicActivity.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.d__83.MoveNext()

Please let me know what the issue is. Thanks a lot for your help.

@nanmishra

Check the studio version and Orchestrator version are same

Hope this may help you

Thanks

I checked, both shows 2019.10. Thanks for ur help.

Hi @nanmishra ,

we had a simular problem as we started using the Orchestrator.

I’ve opened a ticket and got the following reply:

Based on the case description, most probably the Robot is not looking at the local machine for the package and that is why it is taking so long. Please try the following troubleshooting steps and then restart Robot service:

Change nuget config to disable the external package sources and enable only the Orchestrator feed. For that, you need to keep the local feed only and comment the external feeds in the following three locations. Keep at least one feed active. If local feed is not present (), then add it):Refer to the images below:

  1. C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet
  2. C:\Program Files (x86)\UiPath\Studio.
  3. C:\Users%userprofile%\AppData\Roaming\NuGet

C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet

C:\Program Files (x86)\UiPath\Studio:

C:\Users%userprofile%\AppData\Roaming\NuGet

This is still our configuration, and everthing works fine.