ASP.NET: Renaming a directoy

  • Thread starter Thread starter Philipp
  • Start date Start date
System.IO.Directory.Move (...) , provided you have sufficient access rights.

Eliyahu
 
I have sufficient access rights, but everytime when I try this solution
I get the exception "Access denied".
 
This likely means your access rights are still not sufficient. I am talking
about the ASP.NET working process rights or, if you use impersonating, the
user you are impersonating as.

Eliyahu
 
The ASP.NET working process "Network Service" has full access. I don't
impersonate.
 
ok, googling newsgroups on {asp.net "Network Service" access} showed that
this is a big topic, all about security setting. I am not so fluent in it. I
recommend starting a separate thread with crossposting to some iis
newsgroups.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top