Error - Cant create unknown type

Hi,

I am getting below error.

An error appeared while executing Voltas_Service_Ticket_Automation Error message: Cannot create unknown type ‘{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({http://schemas.uipath.com/workflow/activities}GenericValue)’.
plz help me out.

Thanks in Advance

You’re missing some activities.

hi ,

I have developed flow on one machine and migrated package to another machine.And tried to run it using bot.But it gives error as posted.

Copy the packages/activities from your development machine to your testing machine.

I have already done it.And after that trying to run.

C:\Users<youruser>\AppData\Local\UiPath\Activities
C:\Program Files\UiPath\Studio\Packages

Yes.I copied Package from C:\ProgramData\UiPath\Packages and transfered to same path at testing machine.

And did you also copy from C:\Users\AppData\Local\UiPath\Activities?

Hello,

I have only installed Robot not studio.

Hi @ashwinipundkar

it may help u…

Hi @amaresan,

Thank you for reply.

I have installed only robot.So I dont have Studio , manage packages and all.

Regards,
Ashwini

Hi,

Error Message is "18.4.5+Branch.support/v2018.4.Sha.2a53a262e2c1098055c3ecbdabe73d45e0a6dc29

Message: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}GetSecureCredential’.

Exception Type: System.Xaml.XamlObjectWriterException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}GetSecureCredential’.
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.RunWorkflow() in D:\a\1\s\Robot\UiPath.Executor\RobotRunner.cs:line 301

Help me out.
Thanks in advance

@ashwinipundkar

how u publish? in which server… in that server u have to add package.
after that u can invoke different server without uipath studio

Hi @ashwinipundkar,

If you have installed robot in another server, my kind suggestion is to run the package using orchestrator , creating a new robot for the new machine that has the robot being installed, and run the process with the package you created, as a job in that new machine using the robot created.