Re: ASPNET directory access on server denied
From: Raterus (raterus_at_spam.org)
Date: 07/27/04
- Next message: Farooq Khan: "Re: accessing mapped drives in ASP.NET application"
- Previous message: Stephen Shirley, MCSD .NET: "Re: Impersonation in asp.net"
- In reply to: Andrew: "ASPNET directory access on server denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jul 2004 17:34:12 -0400
Tell him that the ASPNET user is on good only on the webserver, if he wants to access a network resource, he'll have to impersonate a valid domain user.
"Andrew" <Andrew@discussions.microsoft.com> wrote in message news:EB1E5B4D-42F5-4060-8D33-857CF135BA6D@microsoft.com...
> 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: Farooq Khan: "Re: accessing mapped drives in ASP.NET application"
- Previous message: Stephen Shirley, MCSD .NET: "Re: Impersonation in asp.net"
- In reply to: Andrew: "ASPNET directory access on server denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|