Re: Access to Path is Denied.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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



.



Relevant Pages

  • Re: Windows Passwords
    ... "Windows Vista for Dummies" manual. ... I started by creating a test user account. ... The reason I say this is that, when I turned the Guest ...
    (microsoft.public.windows.vista.general)
  • Trusted connection
    ... Can I log on to SQL Server 2000 being loged on to a computer (local ... user account) which is added to a domain? ... local Administrators group but the ...
    (microsoft.public.sqlserver.security)
  • Re: Help Me Understand User Accounts
    ... When you log off and log back in as the limited user you'll be able to ... you'll need to set up a new email account (under the new ... limited user account) the same as you had before, ... Administrator accounts are the default type of account ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Windows Service Account
    ... you can use the find IIDentity to the user to give folder permissions ... The OP does not need to find which user account is running the Windows ... Local System account has mighty ...
    (microsoft.public.dotnet.general)
  • Re: DC Temporarily Off-line, Remaining DC Struggling
    ... suspects this issue is related to the account and roaming profile. ... Please make sure all user accounts are replicated to win2k3 DC. ... Does this issue only occurs if the user account uses ...
    (microsoft.public.windows.server.active_directory)