Orchestrator error: Cannot create unknown type '{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({http://schemas.uipath.com/workflow/activities}Image)'

I am getting the error below when I try and run a package on orchestrator.

I have seen a solution posted to someone else with this problem, to “copy the .nupkg file from below location of the studio machine C:\Program Files (x86)\UiPath\Studio\Packages and paste that in the same location of the attended bot machine.”

But what package specifically? I don’t see a .nupkg that matches anything listed in the error below. Thank you


Error:

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

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__90.MoveNext()

@bryan.davidson

As per error looks like the system packages is the problem…from the dev machine copy the system packages folders and check if it resolves

Also ideally it should download the required version looks like it is not downloaded ,may be the feed is missing or is not downloading…what version you are on?

Cheers

Anil,

Thank you for the reply.

The server where I am having the issue is Orchestrator v22.10.5. It is a new server and new install that will replace an older server.

  • How can I get the feed to download what is needed and/or
  • Should I just copy files from the working Orchestrator server to this new one from this folder: C:\Program Files (x86)\UiPath\Orchestrator\NuGetPackages\ActivitiesSource

I fixed this issue by changing permission settings in the Orchestrator interface. Go to Tenant->Manage Access → Roles
and use the same folder and tenant permissions as the working orchestrator set up. It was a permissions issue. I did not need to copy over packages or anything.

1 Like

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