I've got a script that checks if a file exists. The path is a network share that exists on the server..
I.e. the directory is D:\Mainfolder\Subfolder\file.txt the network share is \Server\Subfolder\file.txt
The file exists, however from my asp.net site, it says that it doesn't.. I assume that this is a permissions issue since it works if the file is in a different folder.
I've added a bunch of accounts to the permissions of both the share and the folder, but nothing is working..
Is there a way to display which user the File.Exists is being executed as?
Thanks