I have this code in an ASP.NET MVC page:
bool bExists = Directory.Exists(sFolderPath);
It returns true from my development machine and false from the production machine using the same sFolderPath values. My first thought was that the production machine doesn't have rights to the specific folder, but I took the sFolderPath value on the production machine and I am able to browse to the folder in Windows Explorer. My network admin tells me that the folder has read permissions set for Everyone. Why can't the production machine using IIS see the directory when browsing from a page on our Intranet website?
MCSD .NET developer in Dallas, Texas