ASP.NET process identity does not have read permissions to the GAC

J

JerryW

I just reinstalled .NET 2003 (after repeated attempts to
get ASP.NET Web Applications to work).

I created a new virtual directory from within IIS (e.g.
WebTest). Then I tried to create a new Visual C# ASP.NET
Web Application pointint to the location
http://localhost/MyWebTest. I get an error:

"The Web server reported the following error when
attempting to create or open the Web project located at
the following
URL: 'http://localhost/MyWebTest'. 'HTTP/1.1 500 Internal
Server Error'.

The Event log has:

Failed to execute the request because the ASP.NET process
identity does not have read permissions to the global
assembly cache. Error: 0x8013141a

Can anyone help me fix this? - Thanks
 
D

Darrin J Olson

I'm not sure if you should have to do this, but I think it will work for
you.

Find the directory where the Global Assembly Cache is held, and go to
permissions. When you do your installation, it creates a user called ASPNET
that is which is what ASP.NET runs under. Give the ASPNET user account the
required permissions on the GAC directory and you should be set.

-Darrin
 
J

JerryW

The location of the GAC is C:\Windows\assembly. When I
right-mouse-click on it and select Properties I see only
a "General" tab - no Security tab as in other folders. I
am using Windows XP Prof. Do you know of another way to
change permissions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top