Coffeehouse Post

Single Post Permalink

View Thread: ASP.NET and Threading
  • User profile image

     I have yet another question for the C9 gurus. Recall that in my previous thread, I was working with an ASP.NET app and multi-threading. I came across an odd problem:

    My app has to check for several paths on network shares, this is done with Directory.Exists(path). However this is always returning False when called from inside one of my spawned threads, if called from the main Thread with the same path, it returns True.

    Can anyone shed some light as to why this happens? 

    Thanks   Smiley