Unable to delete a Folder via RPA

jassi_123

Member
Hello Team,



I am unable to delete the folder by using the deletion directory action in Utility File Management VBO. Here is the error which I am getting:-



System.IO.IOException: Access to the path '\\egv-viewp01\Profile\gtest08.ATKEARNEY_AD.V2\AppData\Local\Microsoft\Windows\Burn\Burn' is denied.

at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

at Utility___File_Management.Delete_Directory(String Directory_Path, Boolean Recursive, Boolean ErrorIfNotExists, Boolean& Success, String& Error_Message)



Although my RPA account has full access to delete this directory and I tried to delete the directory manually without any error but when I try to delete it via RPA then it gives me the following error message.



Can someone please look into this issue.

Regards,
(Jaspreet Singh)
 
Top