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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top