hello, i have a web app and registered it as service on a windows 2016 server standard.
now i like to open & read a file from a users documents folder at web app start.
what windows file permissions i must add that the app have access there?
seems a service run with special security settings and can not open the file.
What path are you using to access the file? I’m not seeing the issue here, but I’m testing on Windows 10.
[quote=471161:@Markus Rauch]hello, i have a web app and registered it as service on a windows 2016 server standard.
now i like to open & read a file from a users documents folder at web app start.
what windows file permissions i must add that the app have access there?
seems a service run with special security settings and can not open the file.[/quote]
Youll need to run the service as the user you want to access.
just
C:\Users\MyUser\Documents\List.txt
ok, i will do so.