Access is denied
From: Scott Sivorn (ssivorn_at_bolidenmkm.co.uk)
Date: 06/23/03
- Next message: Matjaz Ladava: "Re: Access is denied"
- Previous message: Paul Ingles: "RSACryptoServiceProvider - Decrypting then Encrypting"
- Next in thread: Matjaz Ladava: "Re: Access is denied"
- Reply: Matjaz Ladava: "Re: Access is denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 23 Jun 2003 04:09:05 -0700
I have installed from a clean installation WinXP, and
visual studio (2003) and all associated patches. I have
created a sample application that uses the
Server.CreateObject method. The following is the error i
continually receive whatever i try to do. The ASP account
has every privilege it can be given yet the error is still
received, i have also tried tweaking the privileges for
the IIS account.
This is the same installation as on a Win2K machine which
has no problems at all.
Does anyone have any ideas that could shed some light on
this? Or know what could be causing the problem?
Server Error in '/WebApplication1' Application.
-----------------------------------------------------------
---------------------
Access is denied.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.
Exception Details: System.UnauthorizedAccessException:
Access is denied.
ASP.NET is not authorized to access the requested
resource. Consider granting access rights to the resource
to the ASP.NET request identity. ASP.NET has a base
process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application
is not impersonating. If the application is impersonating
via <identity impersonate="true"/>, the identity will be
the anonymous user (typically IUSR_MACHINENAME) or the
authenticated request user.
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 appropriate user or
group. Highlight the ASP.NET account, and check the boxes
for the desired access.
- Next message: Matjaz Ladava: "Re: Access is denied"
- Previous message: Paul Ingles: "RSACryptoServiceProvider - Decrypting then Encrypting"
- Next in thread: Matjaz Ladava: "Re: Access is denied"
- Reply: Matjaz Ladava: "Re: Access is denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|