RE: Remote Access Error

From: Christopher Knapp (ChristopherKnapp_at_discussions.microsoft.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 11:38:02 -0700

I changed to 'RemoteOnly' for the errors, so now I am seeing the real error... Here it is, anyone know what could have gone wrong or why permission would be denied? What would be the best way to re setup proper permissions in order to get this to work? Thank you.

---------------------------------------------------------------------
Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\remote\3f1585d2\3070828a" 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\remote\3f1585d2\3070828a" 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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[UnauthorizedAccessException: Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\remote\3f1585d2\3070828a" is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
   System.IO.Directory.CreateDirectory(String path) +195
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +98
   System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +176
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +928
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573



Relevant Pages

  • Re: Server Error in / Application
    ... > the current web request. ... > An unhandled exception was generated during the execution of the ... > the exception can be identified using the exception stack trace below. ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Remote Access Error
    ... execution of the current web request. ... >An unhandled exception was generated during the execution ... using the exception stack trace below. ... meInit(HttpContext context) +98 ...
    (microsoft.public.windows.server.sbs)
  • Re: Errors on Stress Test
    ... Just a stab in the dark, but any time you get random errors under load in a ... An unhandled exception occurred during the execution of the ... > current web request. ... > be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Errors on Stress Test
    ... Just a stab in the dark, but any time you get random errors under load in a ... An unhandled exception occurred during the execution of the ... > current web request. ... > be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.general)
  • Re: ERROR:Crystal Reports - Logon failed.
    ... An unhandled exception occurred during the execution of the ... > current web request. ... > exception can be identified using the exception stack trace below. ... > CrystalDecisions.Shared.TableLogOnInfo myLogin; ...
    (microsoft.public.dotnet.general)