ASPNET access to directory denied

From: Andrew (Andrew_at_discussions.microsoft.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 13:21:03 -0700

Hello, I am a network admin, not a developer, but one of our developers is having trouble with some code and he is asking me for help. So I appologize if some things that I am saying don't sound right.

When making a request to a network server from his local machine that he tests from, he is getting this error:

---------------------------------------------------------------------------

Exception Details: System.UnauthorizedAccessException: Access to Path "<path>" is denied.

The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited privelages. Consider granting access rights to the resource to the ASP.NET process identiy.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET user. Highlight the ASP.NET account, and check the Write box in the Allow column.

-----------------------------------------------------------------------------------------

The problem is, when following these directions, I go to the resource (dir on the server) and open the security tab and try to add his {machinename}\ASPNET account to the list, I get this error:

The Object {machinename}\ASPNET is not valid because only objects from domains that appear in the "Look in" box are allowed.

Well the machine is in that domain, so I am completely lost. Anybody have any ideas?



Relevant Pages

  • ASPNET directory access on server denied
    ... Hello, I am a network admin, not a developer, but one of our developers is having trouble with some code and he is asking me for help. ... When making a request to a network server from his local machine that he tests from, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Advice for developer working under network admin
    ... developer and why is the network admin delegating project tasks. ... I am the only developer on staff. ...
    (microsoft.public.cert.exam.mcsd)
  • Re: What is considered orthodox?
    ... For situations where you have "1 application, 1 developer" People almost ... always develop on their local machine. ... server, it depends on the person and their companies practices. ... or is it considered normal practice to write ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: vss connection methods
    ... perhaps your traveling developer can do a get latest ... already in VSS with the changes on the local machine. ... > manual merge of the modified files back into the server-based solution. ...
    (microsoft.public.vstudio.sourcesafe)