Remove the program in the robot

Hi,friends,I currently have a problem
My program can be executed normally from the studio (debug/run), but when I deploy to the robot and then execute it from the robot, I will get an error and prompt that one of my files does not exist (whether a file I wrote exists or not) Experience), but in fact the prompt says that the folders and files exist; is there a good solution to this situation?
Then, I tried to remove the program that I had deployed from the robot, and then redeployed, but I found that although I had removed this program, when I deployed it again, I could see that his version was not from Starting at 1.00, for example, my last version was 1.07, then I deleted this deployed program, and then redeployed from the studio, but his version started from 1.08. What should I do to remove the deployed program?

This problem has troubled me for a long time,anybody can give me some suggestions?Thanks

Hi @maxzz

Delete the process folder in the below path
C:\Users<user>.nuget\packages

According to the path you prompted, I deployed a program to the robot (at this time version 1.00) and then tried to delete the program I deployed in the path corresponding to my computer; but in fact, when I went to the robot again, the robot only indicated the prompt Said that my deployed program is waiting to be downloaded. I did not download it again but deployed it directly again (at this time version 1.01), which means that the program was not completely removed from my robot;

Is there any other way

My program can be executed normally from the studio (debug/run), but when I deploy to the robot and then execute it from the robot, I will get an error and prompt that one of my files does not exist (whether a file I wrote exists or not) Experience), but in fact the prompt says that the folders and files exist; is there a good solution to this situation?

I am just guessing here, as I’ve never been in the situation, but: Could this be a rights issue? Does the user running the robot have rights on the folder? Or maybe you used references like "%AppData%\some folder" in the path to the file? The %AppData% part would be different for different users.

This may be the case. I reported an error indicating that the file does not exist. It uses a relative path (relative to the main.xaml of the program). For example: Config\example\test.xlsx (this Config folder is at the same level as the Main.xaml file Directory), I am not sure that the writing of this path will result in unauthorized access to the file. If it is for this reason that I cannot successfully access the file under this path, how should I write about this path?

@maxzz,

  • You can give the full path like ‘C:\ProcessName\Config.xlsx’
  • Another way add that config path in Orchestrator asset as text and use it

Ok,i will try.

I tried to change all the paths used to absolute paths, and started Robot as an administrator, but still encountered problems

Here are some log records of studio2020-06-19_Studio.txt (58.7 KB)