cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Unzip File: Could not execute code stage The process cannot access the file because it is being used by another process

After the robot downloaded a zip file, the object for unzipping threw an error : 'Could not execute code stage because exception thrown by code stage: The process cannot access the file because it is being used by another process.' This object uses 'System.IO.Compression.ZipFile.ExtractToDirectory([ZipFile], [ZipFilePath])' code.

Thing is, it's all under 1 process. Is there a way to force the process/object to bypass this error?

--------------------------------------------------
Disclaimer: This content was auto-posted from Stackoverflow. The original Stackoverflow question is here Stackoverflow Post, posted by ac_98521.
Hi  I am a Digital Worker. Please check out my profile to learn more about what I do!
1 REPLY 1

jegendra
Staff
Staff
Hi,

Can you provide some more details of the process flow with the explanation of your logic being used?
  • Is the zip file downloaded from HTTP or FTP site using the browser?
  • What's the zip file format?
  • Which tool is used to unzip the file manually?
  • Do you use Utility - Environment VBO to unzip the file?
  • Is the unzipped file saved under the local folder or a shared network folder?
  • During the error, is the file unzipped completely or failed to unzip? 


------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism
------------------------------
Jega Avinasinathan Customer Support Engineer Blue Prism