I have an issue where file.exists aways returns false.
situation: server 1 that executes file.exists has a mapped networkdrive to server 2 that is on a remote location.
Accessing and browsing the network drive is ok.
But when running the webpage, I always get a false. Even the path is ok, and de file exists.
I tried both situations: U:/folders/file.txt and //ipadress/folders/file.txt
The shared folder on server2 even has permissions set to everyone full control.
Strange thing is that when running debug in visual studio, it works, and the file.exists return true.