let’s start by summarizing facts:
- I developed robot on one computer (let’s call it PC1), where it worked with no problem, when running from Studio or cmd (with /f /monitored and /executor switches). (Studio ver 2017.1.6522)
- We got Enterprise license, which I activated on a new computer (PC2), which was dedicated only to RPA (new inctalation of OS and whatnot) (Studio ver 2018.2.3)
- On PC2 when robot launched via Studio it worked with no problem, but when launched from cmd, following error appears
C:\Users\username>“C:\Program Files (x86)\UiPath\Studio\UiRobot.exe” -f:“C:\path_to_xaml_file\Main_some_name_1.0.xaml” /executor /monitored
Some_name System.Xaml.XamlObjectWriterException: Cannot set unknown member ‘UiPath.Database.Activities.ExecuteQuery.TimeoutMS’.
at System.Xaml.XamlObjectWriter.WriteStartMember(XamlMember property)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
1.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, Stack
1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, 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, IList1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
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)
Which probably should be problem with executing SQL query? Which doesen’t make sense, since when launched via studio it works ok. System ODBCs shouldn’t be needed, since PC1 doesen’t have them as well.
Also when updating UIPath.Core.Activities, the process fails, because it can’t resolve dependency on Uipath.Vision (> 1.1.0) (same with installing UIPath.UIAutomation.Activities, which Core is dependent on, so I guess it fails on installing the UIAutomation; feel free to correct me), which I don’t know if it is significant or not.
I tried reinstalling whole studio multiple times with deletion of everything related to UIPath to no avail. OS is Win10Pro.
If you need anything excluding the xaml, please feel free to ask, since I have no idea what is needed to diagnose the problem.
Can you help the lowly rookie which I am?