How would I create a directory in ASP.NET?

J

Jon Hinkle

I've got a permission issue when I try to create a folder programmatically
using C# in an ASP.NET web service. I've set ASP.NET user to have full
control over the folder that I'm trying to create directories, but I keep
getting "access denied". The code is all written and it works in a WinForms
app just fine. I just don't know what permissions to give who to allow this.
Plus, obviously I need to keep the settings as secure as possible. Any
ideas would be great! Thanks
 
J

Jon Hinkle

I figured the permissions for it were that the IUSER-MachineName had to have
read permissions and the ASPNET account had to have write permissions. I had
the ASPNET account there, but I didn't realize both accounts had to have
those specific permissions. Pretty simple fix.
 

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

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top