ASPNET directory access on server denied
From: Andrew (Andrew_at_discussions.microsoft.com)
Date: 07/27/04
- Next message: Ken Varn: "Can I set the Web.config <forms> element timeout value progmatically?"
- Previous message: dqbhere: "Using Microsofts Application block Exception Manager on Windows 20"
- Next in thread: Raterus: "Re: ASPNET directory access on server denied"
- Reply: Raterus: "Re: ASPNET directory access on server denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jul 2004 13:21:13 -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?
- Next message: Ken Varn: "Can I set the Web.config <forms> element timeout value progmatically?"
- Previous message: dqbhere: "Using Microsofts Application block Exception Manager on Windows 20"
- Next in thread: Raterus: "Re: ASPNET directory access on server denied"
- Reply: Raterus: "Re: ASPNET directory access on server denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|