Unauthorisedaccessexception - how to gain access?

Posted by cfan on Stack Overflow See other posts from Stack Overflow or by cfan
Published on 2009-02-20T09:28:17Z Indexed on 2010/03/17 11:01 UTC
Read the original article Hit count: 201

Filed under:
|
|

I have a winform application to compress and move some files. When I try to access a path on my desktop, I get an unauthorisedaccess exception. I am running visual studio as administrator (says that in the program bar) and I am a full admin on my machine (can access other accounts, etc).

How can I acess this path (folder)? One of the problems I have is the folder keeps setting itself to readonly.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms