"Access to path
C:\Users\john.doe\.nuget\packages\HelloWorld\1.0.0\lib\net45\Main.xaml is denied".
When the Robot is deployed in Service Mode, packages are downloaded and installed in a folder (e.g.
.nuget\packages) by the Local System user that the robot is running service under.
When converted to User Mode, NuGet packages from that folder are no longer accessible as the current user that runs the Robot does not have permissions to view or edit those files.
If you choose to delete packages from the original folder, the Robot reinstalls the processes in the configured folder under the user's permission. This way, the Robot has access to the files whenever it needs to run them.
When converting the Robot from Service-Mode to User-Mode, also change the folder name from
This causes the Robot to re-create the
.nuget\packages folder and download the processes in it so they can later be used.
By default, activities packages are downloaded and installed in the
%userprofile%\.nuget\packages folder. You can set a different folder in one of the following ways:
During installation, by installing from the command line with the option
After installation, by manually editing the
- Open the
uipath.configfile in a text editor. By default, the file is located in
- In the
packageSettingsnode, add the
packagesInstallationFolderkey with the path to the new folder as its value.
- Save the changes and restart the robot.
For example, add the following to
uipath.configto change the download location to
- Open the
<packageSettings> <add key="packagesInstallationFolder" value="C:\nuget" /> </packageSettings>
For more details around the differences between Service-Mode and User-Mode Robots, read the according to deployment document which provides a more detailed description of each type of Robot.
Updated 3 months ago