Re: IIS 5.0 and ASP 2.0



It's located c:\winnt\assembly\gac and I double checked and ASPNET has READ
access in that directory too.


"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:%23q8tu2tlGHA.856@xxxxxxxxxxxxxxxxxxxxxxx
Hmmm, now that I recall, isn't the GAC on W2K located at
c:\winnt\assembly\gac ?

Where are all your GAC assemblies located ?

In c:\winnt\assembly

or in :

c:\winnt\assembly\gac

???




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"DTM" <dan.moynihan@xxxxxxxxxxx> wrote in message
news:eV%23mDNslGHA.5036@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

Well we tried your instructions and followed the steps from the
"ASP.NET2.0 Troubleshooting.pdf" but still can't get our app to run. We
still get the same error in Event Viewer,



Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 6/21/2006
Time: 8:28:48 AM
User: N/A
Computer: CQL-GR-ST01
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.

This is the exact command we ran:



cacls c:\winnt\assembly /e /t /p cql-gr-st01\ASPNET:R



You can see that the user does have read access to assembly.



Any other ideas on this issue?

Thanks for your help.

"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:OgoZXf%23kGHA.5072@xxxxxxxxxxxxxxxxxxxxxxx
You can't set permissions on the GAC directory via Windows Explorer.

Use a commandline utility called CACLS.

Open up a command window and run the following command :
CACLS %WINDIR%\assembly /e /t /p [DOMAIN|MACHINENAME]\useraccount:R

...substituting either your domain name (for a domain account) or
machine name (for a local
account).

For example :
CACLS %WINDIR%\assembly /e /t /p MACHINENAME\account:R
or
CACLS %WINDIR%\assembly /e /t /p DOMAINNAME\useraccount:R

It *must* be the account ASP.NET is running as...




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================

"DTM" <dan.moynihan@xxxxxxxxxxx> wrote in message
news:ud0ny89kGHA.4224@xxxxxxxxxxxxxxxxxxxxxxx
Juan,

Here is the error I get in Event Viewer when trying to run our
application. How to a grant ASP.NET
user 'read' permissions to the GAC?


Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 6/19/2006
Time: 9:37:32 AM
User: N/A
Computer: CQL-GR-ST01
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.

Thanks,

"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:uib02p9kGHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
re:
How do we run this new application pool under Network Service

The Network Service account is specific to IIS 6.0.
I don't think you can create a Network Service account under IIS 5.x.

re:
is there a different way to grant the correct permissions to make our
application run

The best way to grant the correct permissions for 2.0 is :

aspnet_regiis -GA machinename\accountname
or
aspnet_regiis -GA domainname\accountname

Alternately, you can manually grant whichever account you're
running ASP.NET as, the permisions which this article enumerates :

http://msdn2.microsoft.com/en-us/library/kwzs111e.aspx




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"DTM" <dan.moynihan@xxxxxxxxxxx> wrote in message
news:%23x$CaZ9kGHA.4660@xxxxxxxxxxxxxxxxxxxxxxx
We have a win2k with SP4 running IIS5. We have Framework v2.0.507277
installed and looking run
an application in ASP 2.0. We are having troubles because the
default user is IWAN which
doesn't have the correct permissions to run an ASP 2.0 application.
How do we run this new
application pool under Network Service or is there a different way to
grant the correct
permissions to make our application run.



Thanks,
















.



Relevant Pages

  • Re: IIS 5.0 and ASP 2.0
    ... Where are all your GAC assemblies located? ... Failed to execute the request because the ASP.NET process identity does not have read permissions ... ...substituting either your domain name (for a domain account) or machine name (for a local ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Win XP Prof Limited Account
    ... Sometimes one also needs to loosen permissions in the ... take into account in future software purchasing choices. ... >>This solution is to grant that account the permissions ... > started fail if the user doesn't have admin rights. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Office Install
    ... This is a permissions issue. ... to be a grant to such as Users or the account rather than to the group ... >> on them grant Users group what is needed instead of only granting to ... >> Administrators group. ...
    (microsoft.public.security)
  • RE: Windows Service cannot create text files?
    ... runs under the rights to read/write in that folder. ... folder and on the security tab add the account. ... want to grant a specific path then it might get a bit more complicated... ... This will import the strong name and only assemblies ...
    (microsoft.public.dotnet.languages.vb)
  • Re: grant application permissions on server host
    ... To grant permissions, you would need to be able to impersonate an account ... Can I configure my app directly from my own computer? ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast