PC Review


Reply
Thread Tools Rate Thread

System.UnauthorizedAccessException was unhandled

 
 
Chu2ch
Guest
Posts: n/a
 
      23rd Dec 2007
Hello,

I am using vb.net with .net 3.5 and vs 2008 to build a small
application that iterates through all the directories on my hard disk.

However i get an error while executing the FileIO.FileSystem.GetFiles
method when trying to get the files for C:\Documents and Settings.

The error is:

System.UnauthorizedAccessException was unhandled
Message="Access to the path 'C:\Documents and Settings' is denied."
Source="mscorlib" ...

any help is appreciated

TIA

Chris
 
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
System.UnauthorizedAccessException was unhandled<62197ca5-6eb8-4fd2-97af-5d96f3733601@s12g2000prg.googlegroups.com> Steve Floyd Microsoft VB .NET 0 13th Nov 2008 11:58 PM
System.UnauthorizedAccessException Empi Microsoft Dot NET Compact Framework 2 15th Aug 2007 08:24 AM
System.UnauthorizedAccessException from COM+ app =?Utf-8?B?SnVhbiBEZW50?= Microsoft Dot NET Framework 1 20th Jul 2005 05:20 AM
System.UnauthorizedAccessException =?Utf-8?B?RGF2aWRT?= Microsoft ASP .NET 0 4th Oct 2004 07:39 PM
System.UnauthorizedAccessException Peter Afonin Microsoft ASP .NET 7 10th Sep 2004 12:14 AM


Features
 

Advertising
 

Newsgroups
 


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