I know this has come up in other questions, but none seem as simple:
I have a UNC share on another machine, with security set to Full Control
for Everyone
. If I log into my web server, I can access this share.
However when I try to access it using Directory.GetFiles(path)
in the ASP.NET code, it returns an Access to the path \\xxxx is denied.
error.
Also oddly, when I run the same website from my local visual studio web server, but pointing at the same path, the directory can be accessed fine.
What am i missing here?!