Access Denied

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Simon (anonymous_at_discussions.microsoft.com)
Date: 05/31/04


Date: Mon, 31 May 2004 08:21:13 -0700

Hi,

I have Windows Server 2003 with IIS 6 and CMS 2002 for my
intranet. Everything was working well on my development
server. But now I try to put it on my production server,
and when I try to access the intranet, I get an ASP.NET
which basically tells that ASP.NET can't access IIS. A
complete description of the error follows. Can anyone
help me with that?

TIA,
Simon

==========================================================
Access to the
path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\woodgrovenet\b30d75f3\32175c07"
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 to the
path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\woodgrovenet\b30d75f3\32175c07"
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.



Relevant Pages

  • Access Denied
    ... But now I try to put it on my production server, ... and when I try to access the intranet, ... which basically tells that ASP.NET can't access IIS. ... execution of the current web request. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Page Cannot Be Displayed Errors
    ... In WFetch, for Advanced Request, change to "Add Headers" and write: ... > directly on the web server, ... >>> Where can I get the IIS 6.0 Resource Kit, and how do I use WFetch? ...
    (microsoft.public.inetserver.iis)
  • Re: SSL broken after Windows 2003 upgrade
    ... The svchost.exe you reference is "IIS". ... routes them to the appropriate w3wp.exe based on configuration from WAS ... WFetch can make both a normal SSL request as well as a Client-Certificate ...
    (microsoft.public.inetserver.iis)
  • Re: IIS Extensions in URL causes filter to break.
    ... If your filter operates the way you say, ... IIS can only say that one or more of the events contain ... every request, and maybe more than once, depending on whether the URL causes ... As for the order of handling between ISAPI Extensions and Filters - Filters ...
    (microsoft.public.inetserver.iis.security)
  • Re: Suspicious IIS Log entry
    ... Your firewall will allow the request ... Your IIS web server is configured to let anyone access the ... hacker is requesting that the computer access the scripts directory, ...
    (Security-Basics)