473,790 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4488
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*******@disc ussions.microso ft.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\asse mbly. 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*******@disc ussions.microso ft.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
3297
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 file). I have given the aspnet user Read and execute but the .bat will still not start. What specific permissions does this user need for other folders to start a ..bat file? Does the user need access to the WINNT\System32 directory or the...
7
1683
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 aspnet_wp.exe process. And that this process, by default, runs under the context of the ASPNET username. I would rather use a trusted connection to connect to SQL Server to avoid having to put a username and password in a config file. However, if...
7
960
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 c:\inetpub\wwwroot and rebooted before reinstalling. I created a new virtual directory from within IIS (e.g. MyWebTest). Then I tried to create a new Visual C# ASP.NET Web Application pointing to the location http://localhost/MyWebTest. I get...
7
1892
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 but he claims it's not here. Now at first I didn't beleive him, however, I wondered if now that Asp.Net is integrated into IIS in WIndows 2003, is there a separate process? In the end, what I want to find out is, on a default installation of...
2
4590
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 working. I need to update my 'images' folder permissions so the ASP.NET worker process has write permissions. However, when I go to the folder permissions, there is not worker process
2
5420
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. I have created an ASP.NET web service that I have running on my development machine, and am trying to get it to run on my test server. Both machines are running Windows 2000 SP4, IIS 5, and the .NET 2.0 framework. When I attempt to access...
6
3225
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 example that opens up Notepad.....
0
2903
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 permissions to the global assembly cache. Error: 0x80070005 Access is denied. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
4
2874
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 web page hosted on a unix driven file server. The user wants to have this file converted to a pdf. My page takes the query string and turns it into a windows unc path, then I copy the file down to the web server and place it into a directory. This...
0
9666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10413
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7530
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.