Author: chalemic | Posted on: 6/27/2008 7:48:49 AM | Views : 299

Hello,
I seem to be in the large group of people having trouble with using File.Exists from IIS (Server 2003, IIS 6).  I have a virtual directory pointing to my target network drive, running under a specific AD user with full-control over that folder.  From the web site I can view the directory's contents.  I can login on a domain computer as the AD user and modify the directory and its contents.  In a classic ASP page written in VB, I can open and write to my test files, but not in C# 3.5. 
 
 The VB that works is: 
1 Dim oFSO
2 Set oFSO = CreateObject("Scripting.FileSystemObject")
3 Dim txtFileName
4 txtFileName = "test.txt"
5 Go to the complete details ...