Ask a Question related to ASP.NET Security, Design and Development.
-
Raterus #1
Re: ASPNET directory access on server denied
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?Raterus Guest
-
"Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server
Hi all, I am trying to run schtasks.exe from asp.net application wich uses forms authentication under ASPNET account. It gives me "Access is... -
Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security... -
Access Denied when reading directory information on another server
Hi, I am reading directory information (directory name and size) on another server. I am impersonating a user account via web.config. This account... -
Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading... -
SQL Server, ASP and Access Denied
I have a web application in which I use a PDF form to collect data from the user and submit that data directly from the PDF to ASP. All pages of...



Reply With Quote

