Program 'tempCodeRunnerFile.exe' failed to run: Access is deniedAt line:1 char:110 This error comes up in few programs some times. I can't find any solution. Please help me with one.
Asked
Active
Viewed 6,946 times
4 Answers
2
This could be because of your antivirus. it will assume the file created during compilation to be an virus and won't permit it to run.
- Temporary turn off your antivirus.
- Uninstall your antivirus
- Or Try changing name of the file
This is what helped me hope it will help you as well

anu2arc
- 21
- 2
1
I had the same problem and finally found out that my powershell has problem! So change default terminal by selecting it in vscode terminal dropdown menu (ctrl+j) then restart vscode.

reza
- 11
- 4
0
I had mcAfee antivirus and it kept deleting the exe files and so it wont run. i would suggest you shut those antiviruses off. I think Real-time scanning is the real reason it happens.

blanck21
- 1