Re: Server Application unavailable error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones


"Juan T. Llibre" wrote:

I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Dave" <Dave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D2A11057-0C94-47E7-B28D-ED0048B3904B@xxxxxxxxxxxxxxxx
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: Global.asax not firing
    ... They should refer to the *same* account. ... Juan T. Llibre, asp.net MVP ... just fine on my development machine and on another production machine. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Application unavailable error
    ... account *all* the permissions ASP.NET needs to run. ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot open an access database from within an ASP.NET applicat
    ... Venki ... "Juan T. Llibre" wrote: ... the account ASP.NET is running as. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Windows 2003 SP1 breaks ASP.NET app?
    ... thanks to PL and Juan for your replies. ... Well, I am building the server as we speak, and will start porting my ... > Installing SP1 resets some permissions. ... > Make sure the right account has the permissions it needs. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Latest Security and 404 errors for Web Services
    ... If you're running IIS 6.0, ... > We have checked the permissions and they seem ok, ... > Juan T. Llibre a écrit: ... >> Juan T. Llibre ...
    (microsoft.public.dotnet.framework.aspnet)