scott oliver

scott oliver

  • NA
  • 82
  • 16.3k

Permission denied to streamwriter

Oct 12 2020 5:05 PM
I have used the stream writer before but never seen this error. System.UnauthorizedAccessException: 'Access to the path 'C:\Users\openuser\source\repos\OTC_CALL\OTC_CALL\logs' is denied.
 
I tried running as admin and got the same error. I checked the use the debug runs under and its the same account thats in the file path. I even tried giving full permission to everyone on that file and still got the error. Any suggestions? 

Answers (3)