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