Error message: Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}Delete'

Hello.

When starting my processes with the orchestrator the robot returns the following error message:
Error message: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}Delete’.
RemoteException wrapping System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}Delete’.
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()

The process can be executed without problems on the same machine if done through the studio. I might think it could be an dependencies issue. however i am not able to update libraries in the orchestrator (see Picture)

I am useing community edition.

Hope you Guys can help :slight_smile:

@rasmusvoll,

Welcome to our community!

Are you using any delete activity in your xaml?

yes. deleting some files.

okay, is the xaml migrated from a old version to new version of UiPath studio.

You can remove the delete activity and add it again, then check once. The xaml might not well formed.

Or Create a xaml with delete and compare the xaml tags by opening both in notepad

Omg. thank you so much, you have no idea how long i have been trying to make that Work (Y)

1 Like

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