PC Review


Reply
Thread Tools Rate Thread

Access to the path

 
 
Hemant
Guest
Posts: n/a
 
      2nd Nov 2009
Hi,
I am working in asp.net 2008 . I want to create a application like widow
file search using LINQ.
but While using GelAllFiles in a directory I am getting error .
the error is
""Access to the path 'D:\System Volume Information' is denied"

Thanks,
Hemant


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      2nd Nov 2009
On Nov 2, 1:16*pm, "Hemant" <Hem...@nomail.com> wrote:
> Hi,
> I am working in asp.net 2008 . I want to create a application like widow
> file search using LINQ.
> but While using GelAllFiles in a directory I am getting error .
> the error is
> ""Access to the path 'D:\System Volume Information' is denied"
>
> Thanks,
> Hemant


This is a system directory to keep restore points. Check directory
name e.g. if dir == "System Volume Information" return; or catch the
exception. I think, this directory is used by XP and Vista only.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Windows cannot access the specified device,path or file. You may not have the appropiate permission to access the item Bob Windows Vista General Discussion 0 17th Nov 2009 06:59 AM
Re: Windows cannot access the specified device,path or file. You may not have the appropiate permission to access the item Dave-UK Windows Vista General Discussion 0 16th Nov 2009 01:53 PM
An exception occurred in the OnBeforeInstall event handler of <name> Access to the path <path> is denied. Andrzej Lipski Microsoft Dot NET 0 5th Oct 2007 04:24 PM
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay Microsoft ASP .NET 2 20th Aug 2007 08:38 PM
Bizzare: Invalid path to Access mdb, path is good Keith-Earl Microsoft ASP .NET 1 3rd May 2004 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.