Directory.Exists(path) always returning false!!

Posted on 2008-10-05
Medium Priority
Last Modified: 2011-10-03
Hi, do someone has any idea why Directory.Exists(path) always returning false? I use File.Exists(filepath) successfully but  Directory.Exists always returns false! Per this thread: http://forums.asp.net/p/943219/1132652.aspx they claim its a permission issue, the auther changed the impersonation of his account and it works, how can I change the impersonation of my account? I tried     <identity impersonate="true" /> but still have the smae problem!
Any suggestion?
Question by:Abdu_Allah
LVL 26

Accepted Solution

Anurag Thakur earned 1000 total points
ID: 22646005
LVL 16

Assisted Solution

by:Gyanendra Singh
Gyanendra Singh earned 1000 total points
ID: 22647165

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question