Results 1 to 3 of 3

Thread: Access denied to .NET framework when trying to run ASP.NET page in IIS (RESOLVED)

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Access denied to .NET framework when trying to run ASP.NET page in IIS (RESOLVED)

    The error is:

    Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\andynorris_woof\f6003df4\b89f2e03" 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\andynorris_woof\f6003df4\b89f2e03" 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.


    Anyone got any ideas?

    Woof

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Stop and restart the IIS, (-iisreset) sometimes during debugging, you can abruptly end the debugger keeping the resource locked.

    If that doesn't resolve the issue, make sure you have given permissions to the ASPNET account on that folder to read/write.

    On Windows2003 servers with .Net 1.1, the ASPNET account is called NETWORK SERVICE. That would be the account you need to give permissions to.

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width