467,119 Members | 748 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,119 developers. It's quick & easy.

HTTPHandler to create, write file and account privileges

Hi,

I need to use an HTTPHandler to create and write files. I wanted to create
the file in the directory that has this handler, and other handlers. For me,
this directory is: c:\Inetpub\wwwroot\HttpHandlers. I get an error: "Access
to the path "C:\Inetpub\wwwroot\HTTPHandlers\bidhero.ccn" is denied."

I can have the code write files to other locations just fine. I'm using
ASP.net v.1.1 on Windows XP, and Windows 2003.

1. Which would be the best place to create and write this file to? This is
not a temporary file. Once created, it will be there for the length of the
application.

2. I've read several posts regarding this error, and they talk of account
privileges. How do I know which account is running this program, and how do
I change account privileges? How safe is it to change privileges to allow a
process to write?

Thanks.
-Shefali
Nov 18 '05 #1
  • viewed: 1045
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jed | last post: by
10 posts views Thread by robwharram@gmail.com | last post: by
5 posts views Thread by the4man | last post: by
6 posts views Thread by David | last post: by
3 posts views Thread by Tomasz J | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.