Not able to read XML file using Read File Activity

Hi There,

WHile I am trying to read an XML file stored in my machine, getting error saying

Source: Message Box

Message: An error occurred trying to start process ‘C:\Users<UserName>.nuget\packages\UiPath.system.activities.runtime.windows\23.12.0-preview\build\net461\WorkerProcess.exe’ with working directory ‘C:\Users<UserName>\Documents\UiPath\ReadDataFromXML’. The filename or extension is too long.

Exception Type: System.ComponentModel.Win32Exception

Any help in resolving this error would be great help.

Note: I tried to replace the file in different locations still getting same error.

@AutomationWorld
welcome to the forum

As currently XML file reading is blocked, we will focus on this.

Let us know:

  • UiPath Studio Version
  • Package Version: UiPath.System.Activities
  • a sample Filepath

try again by

  • by placing the file with a new short filename and .xml extension on a location, where the resulting fullfilepath is shorter then 250 chars and the file is accessible (Filesystem permissions)