Re: Intermittent Incorrect Result on System.IO.Directory.Exists

Brady Kelly <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
Chris:

> Check the permissions on the folder for the account ASP.NET is using.
> 
> System.IO.Directory.Exists() returns false if it has no rights to
> access
> it (for that user it effectively does not exist

The exact same code sequence and call sometimes returned true, with no file
system changes.  I've changed to an absolute path, instead of a relative one
to a child folder of the virtual directory, and the problem hasn't
manifested again, but I don't know that it won't.

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.