By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

directory permissions problem

P: n/a
I have an ASP.NET app that writes an Excel file out to a subdirectory within
the root web and then emails it out as an attachment. If I have the
<identity impersonate="true"/string in the web.config file then there is no
error. However because that was interfering with other areas of the app that
used Active Directory I had to take that identity string out of web.config
and instead set impersonation programmactically just before file creation and
remove impersonation after file creation. So the problem is this: when a
user who is not in the local admins group of the web server requests this
file creation function, they get an "access denied" error. If they are in
the local admin group of that box then everything works fine. Obviously I
don't want to add a bunch of people as local admins. What am I doing wrong
and is there a way I can get over this problem?

Thanks in advance,
Steve.

Nov 7 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.