473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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


Nov 18 '05 #1
2 4465
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
"JerryW" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
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

Nov 18 '05 #2
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?
-----Original Message-----
I'm not sure if you should have to do this, but I think it will work foryou.

Find the directory where the Global Assembly Cache is held, and go topermissions. When you do your installation, it creates a user called ASPNETthat is which is what ASP.NET runs under. Give the ASPNET user account therequired permissions on the GAC directory and you should be set.
-Darrin
"JerryW" <an*******@discussions.microsoft.com> wrote in messagenews:05****************************@phx.gbl...
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

.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Matt Calhoon | last post by:
Hi there, I have specified a aspnet user account to run all .net sites. This account needs access to start a .BAT File (in my global.asax on session start the app needs to execute this bat...
7
by: Dave Mehrtens | last post by:
I am trying to configure my ASP.NET application and have come across something unexpected. First, I understand that all ASP.NET applications running on a single server will utilize a single...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
7
by: Cliff Harris | last post by:
I don't currently have an installation of Windows 2003 server, or I could answer this myself. After having a client install ASP.NET on Windows 2003, I then tried to find the aspnet_wp.exe process...
2
by: Carl Gilbert | last post by:
Hi I am trying to get an online gallery (www.ngallery.org - open source) to upload image to a folder. At the moment I am using localhost but plan to move to some web space when I get it all...
2
by: rrossney | last post by:
Please look at the "what I've already done" section of this message before responding to it: I believe that I've done everything that the people who experience this error are typically told to do....
6
by: bill | last post by:
I have a VB .net 2.0 site that needs to run a dos app upon a button click. I found Shell too unreliable using parameters and so used system.diagnostic.process. simple troubleshooting...
0
by: Eric | last post by:
I'm trying to run a C# web service that I ported from VS 2003 to VS 2005. I'm unable to run it, I see: Failed to execute the request because the ASP.NET process identity does not have read...
4
by: =?Utf-8?B?VkIgSm9ubmll?= | last post by:
I am at my witless end here, please help! I have an ASP.Net aspx web page, hosted on Windows Server 2003, that receives a query string with the path to an autocad drawing file selected from a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.