Make sure you can access the file or path manually on the machine and user id (of the robot) that it is being run on. That’s typically why you would get Access Denied.
We are trying to unzip a file that is in a folder on the desktop. The unzip is using an invoke that has two path variables, the first indicates the file to unzip, the second the folder to put the unzipped files in. It is the second that fails with the Access denied error. The assigned VB script to the second variable is as follows, “C:\Users\Massimo.Gatta\Desktop\SS\Working Copies” .
I hardcoded the path into the workflow and I still get the same error message…any other suggestions on how to fix this issue? I have tried running as administrator and as user to which each have access to local folder, but when I run the workflow, it produces this error.
we are facing the same issue while copying the file.
Access to destination folder is denied.
Destination folder exists, user has admin rights on the machine and manually can access the folder without problems.
Hey this one fixed it for me. So this folder has been created somewhen earlier. Deleted the whole package and redownloaded it via Robot. Now working properly.
For me, just deleting the hidden folder “.local” didn’t work.
I had to delete it and then also disable the show “Hidden” folders again AND disable the “Read-only” option too.
I used InvokeMethod to use the System.IO.Compression.ZipFile - for unzipping and no problem.
I both used first hardcoding the paths and then assigning. All was ok.
Then when I was “cleaning up” something broke and I got Access to the path … is denied message. Which brought me here… I found out that in my case I had reversed the order of the Parameters. Originally it was like this
but when I got the Access denied it was like this
I don’t know if this is strictly relevant here but apparently this method is order sensitive but I don’t remember seeing any docs emphasizing that fact… anyways…
Please someone had a solution? I have this problem when im trying to copy a file. I’m adm and i’ve deleted the “.local” hidden folder but did not work. Is this a Bug on UiPath??