Re: Access to Path is Denied.
- From: "Tim Peer" <Peert@xxxxxxxxxxx>
- Date: Wed, 6 Jun 2007 13:39:25 -0700
Thank you Aneesh and Mr. Arnold,
I am attempting to create the file on a disk on the local system. The
username of the account running the C# program should have adequate privs
since it is in the administrators group. I have altered permissions on the
login (domain) user account, ASPNET local user account and no luck. It was
mentioned I might have an open stream on the file, I don't think this is the
case since I am creating a new file and SYSTEM.IO activity is limited to
this single method.
System.IO.FileInfo finfo = new System.IO.FileInfo(ffile);
if (!finfo.Exists) finfo.Create();
Do you know within which account the .NET 2.0 application executes. From
what I can see, my account being in the administrators group should not
raise this violation, but should the application execute from an account
proxy...
Also, I read that the USERS group is used by .NET application when such
errors occur but do not have a USERS group in Small Business Server 2003.
Thanks again for your help with this.
Tim
.
- Follow-Ups:
- Re: Access to Path is Denied.
- From: Mr. Arnold
- Re: Access to Path is Denied.
- References:
- Access to Path is Denied.
- From: Tim Peer
- Access to Path is Denied.
- Prev by Date: Re: color text
- Next by Date: Remove Row from a DataView
- Previous by thread: Re: Access to Path is Denied.
- Next by thread: Re: Access to Path is Denied.
- Index(es):
Relevant Pages
|