Cannot create unknown type - "GetOutlookMailMessages"

Program to access outlook email,
which is working in studio and UI-path assistance (ver 2020.10.2) both in same host.
this is used as development purpose.

for production, deployed into another host with Uipath-Assistance (ver 2020.10.2) having error,
Cannot create unknown type
‘{http://schemas.uipath.com/workflow/activities}GetOutlookMailMessages’.

Error details:

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.FuncFactory`1.Evaluate()
   at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings)
   at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList`1& validationErrors)
   at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack`1& activitiesRemaining, ActivityCallStack parentChain, IList`1& validationErrors, rocessActivityTreeOptions ptions, ProcessActivityCallback callback)
   at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
   at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& alidationErrors)
   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>d__89.MoveNext()

Image 55

Hi,

Which version of Mail activities package do you use? Is it bundled in 2020.10.2? If not, perhaps you should use bundled one.

Regards,

Hi,

It seems like there is an error with one of the packages in your UiPath Assistant for production (not development). Is your UiPath Assistant connected to the Internet? If it is not, you may need to install packages manually.

Regards,
Byte

@Yoichi
Uipath.Mail.Activities=1.9.5

Hi,

In Studio 2020.10.2, bundled Mail activity is version 1.9.3, as the following.

Can you try to downgrade it to 1.9.3 in Studio? It might be needed to replace the activities due to error.

Or
Have enable prod. machine to communicate with UiPath official feed on the internet.

Regards,