Hi,
My colleague uses the Assistant to run a robot that is uploaded to our Orchestrator. I just updated my UiPath Studio license to 2023.4.5 and my colleague has the same version, but she has an attended license. I have googled the problem and it seems there is something wrong with the packages. We opened the robot via her VDI and UiPath Studio, just to check how the packages looked like, and as you can see on the picture below, there are a lot of red exclamation marks and no way to update these. What should we do to make these green again?
Kind regards,
Anna
Parvathy
(PS Parvathy)
December 13, 2023, 2:35pm
2
Hi @ahaegglund
May be that current package version is not compatible with UiPath version. Could you please try with previous version packages only without updating to latest version and then check once.
Regards,
postwick
(Paul Ostwick)
December 13, 2023, 2:42pm
3
Check with your network/security team to see if they’re being blocked from downloading the packages from the online feeds.
Please provide these details:
Are you still having and using Classic Folder in your Orchestrator?
Which is the impacted Studio/Robot version?
In which mode did you install the impacted Studio/Robot (User Mode or Service Mode)?
Provide from the impacted Studio/Robot machine this screenshot (Start → Internet Options → Connections → LAN settings)
Provide these files from the impacted Studio/Robot machine:
C:\Program Files\UiPath\Studio\UiPath.config
C:\Program Files\UiPath\Studio\NuGet.config
C:\Users\your_robot_username\AppData\Roaming\NuGet\NuGet.Config
Provide the unfiltered Application Event viewer logs from the impacted Studio/Robot machine.
Generate the Event Viewer log by following the below steps and share it with us:
• Start > Event viewer > Windows Logs > Application > right-click on it and then select “save all event”. Save the file (unfiltered) as .evtx and provide it to us
• Reference: https://uipath-survey.secure.force.com/CaseView/articles/Knowledge/How-to-get-Application-Logs-from-the-Event-Viewer
Provide the project.json file of your impacted process in the impacted UiPath Studio/Robot.
Which is the Orchestrator version?
Is your impacted Studio/Robot machine in a closed environment without access to external package feeds?
Did you add these roles for your impacted robot/user account in Orchestrator?
• Allow to be Automation User at the Tenant level
and
• Automation User at the folder level (in the folder(s) where the process is present)
From the impacted Studio/Robot machine provide a screenshot from the browser (not Internet Explorer, as we are not supporting it) while you are trying to access https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
From the impacted Studio/Robot machine provide a screenshot from the cmd.exe while you are running
ping pkgs.dev.azure.com -4
From the impacted Studio/Robot machine provide a screenshot from the cmd.exe while you are running
tracert -4 pkgs.dev.azure.com
From the impacted Studio/Robot machine provide a screenshot from the cmd.exe while you are running
nslookup pkgs.dev.azure.com
From the impacted Studio/Robot machine provide a screenshot from the powershell.exe while you are running
Add a full-page screenshot from Orchestrator → Tenant → Settings → Deployment
Download the nuget.exe from here https://dist.nuget.org/win-x86-commandline/v6.7.0/nuget.exe and run the below command with the impacted robot user
nuget.exe locals all -clear
Hi, we re-installed UiPath and now her packages are all green, and it is possible to start the robot through Studio. But we still get the same error when she tries to start through Assistant. She gets this error message now:
Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}LogMessage’.
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, IList
1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList
1& 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, IList
1& 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__119.MoveNext()
So at least she can run the robot, but not as smoothly as through the assistant.
//Anna
The LogMessage activity is included in the UiPath.System.Activities package. That means your machine didn’t install it correctly.
Also, the UiPath.System.Activities platform dependency should match the robot version.
You may try to deleted the packages folder from %userprofile%\.nuget
folder and retry to start the process.