Re: Server Application unavailable error



I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 18/05/2007
Time: 07:57:37 PM
User: N/A
Computer: LJONES
Description:
Failed to execute the request because the ASP.NET process identity does not
have read permissions to the global assembly cache. Error: 0x80070005 Access
is denied.





--
L. A. Jones


"Juan T. Llibre" wrote:

The critical part of the error message is this :

!> Failed to execute the request because the ASP.NET process identity
!> does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet


--
L. A. Jones


"Juan T. Llibre" wrote:

The critical part of the error message is this :

!> Failed to execute the request because the ASP.NET process identity
!> does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.




.



Relevant Pages

  • Re: Server application error. Again.
    ... have read permissions to the global assembly cache. ... "Server Application Error" is not one single error, ... Failed to execute the request because the ASP.NET process identity does not ...
    (microsoft.public.dotnet.framework.aspnet)
  • permissions
    ... Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. ...
    (microsoft.public.dotnet.security)
  • Re: "access denied" error in asp.net application
    ... what i would do is add some code to print the executing process to the ... > security issue related to the application's attempt to write the GIF file ... > disk and added all the necessary permissions to the ASPNET account. ...
    (microsoft.public.office.developer.web.components)
  • Re: Server Application unavailable error
    ... The best way to approach this, since you can't set the access permissions ... That will, first, annul the ASPNET account and, then, recreate it, ... Juan T. Llibre, asp.net MVP ... the ASPNET account to the GAC directory itself. ...
    (microsoft.public.dotnet.framework.aspnet)
  • "access denied" error in asp.net application
    ... Using .ExportPicture to write the GIF/JPEG/PNG image to disk and then load ... security issue related to the application's attempt to write the GIF file to ... disk and added all the necessary permissions to the ASPNET account. ...
    (microsoft.public.office.developer.web.components)