Hi,
Orchestrator(On Premise) version: 2022.10.4
Studio version: 2023.4.1
Assistant version: 2023.4.1
I am getting to different error messages.
When the robot user executes the process on the studio server it can write to the excel file.
The issue arrises when I run the unattended robot on a different machine then i get the error message:
System exception at initialization: You are not authorized! Error code: 0 at Source: UiPath.System.Activities
and directly after:
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object. at UiPath.Excel.Activities.ExcelInteropActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Things I have done:
-
Checked permission on the directory.
-
Updated dependecies, UiPath.System.Activities dependency from 23.4.3 → 23.4.4 and
UiPath.Excel.Activities dependency from 2.20.1 → 2.20.2 -
Deleted the nuget the two dependencies above from the nuget folder from the unattended robot server.
-
Added kill process(EXCEL)
Note that the robot is able to delete files(.txt and .png which is part of cleanup flow) from the folder where the problem occurs.
I have triggered this process through an API call and directly through orchestrator, both times i deleted the package from the nuget folder beforehand.
Am i missing something obvious?
1 post - 1 participant