Last post Dec 10, 2018 05:30 AM by Fei Han - MSFT
Dec 07, 2018 06:49 AM|human2x|LINK
I use this code to delete folder
Directory.Delete(Server.MapPath("~") & "\" & "a", True)
and I get this error :
Dec 07, 2018 11:49 AM|Rameezwaheed|LINK
You may have to run your Visual Studio / IDE as Administrator to access that folder. I'm not exactly sure why, but I've had the same problem. Something to do with default Windows permissions. Let us know if it works!
Refer the below article
Dec 07, 2018 08:52 PM|human2x|LINK
I ran Visual Studio as Administrator but the problem is still not solved.
It show the error message
"Access to the path 'desktop.ini' is denied."
I gave full permissions to "NETWORK SERVICE" on the project folder and its subfolders, but still not solved.
Dec 10, 2018 04:40 AM|Rameezwaheed|LINK
Please refer the below threads
Hope it helps
Dec 10, 2018 05:30 AM|Fei Han - MSFT|LINK
I do a test on my side, but I can not reproduce same issue. If possible, please share a reproducible sample so that we can do troubleshooting with that sample.
Besides, are you developing and running your project on Win7?