473,651 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server application error. Again.

I have asked previously, how to get the rid of 'Server application
unavailable' error. Mr Llibre tried tried diligently to help, but same
problem. I would like a bullet proof suggestion as to how to get my .aspx
pages to be shown on IIS. Here is the error.

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
May 21 '07 #1
6 2829
"Dave" <Da**@discussio ns.microsoft.co mwrote in message
news:42******** *************** ***********@mic rosoft.com...
>I have asked previously, how to get the rid of 'Server application
unavailable' error. Mr Llibre tried tried diligently to help, but same
problem. I would like a bullet proof suggestion as to how to get my .aspx
pages to be shown on IIS. Here is the error.

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.
"Server Application Error" is not one single error, so you're not going to
hear one single answer.

In this case, you're being told exactly what's wrong:

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.
--
John Saunders [MVP]
May 21 '07 #2
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.
--
John Saunders [MVP]

I actually see what's wrong. But I do not know how to go about solving it.
I've done extensive search on the Internet and I've seen many articles
concerning this problem and I see several solutions. I've tried most of these
fixes and they don't work. (I am not the only only one who has this problem,
just do a Google search). Is it possible for me to alter GAC to allow ASP.net
to have read permission? How dangerous is this?
May 21 '07 #3
re:
!Is it possible for me to alter GAC to allow ASP.net
!to have read permission? How dangerous is this?

It's not dangerous at all.

Just unregister fusion.dll ( regserver32 /u fusion.dll )
and add ASPNET to the accounts allowed access to drive:\windows\ assembly

And, afterwards, don't forget to reregister it : regserver32 fusion.dll

Mind you, you *must* be running NTFS permissions for that to work.
Are you ?

It's far easier, however, to run :

aspnet_regiis -ga machinename\ASP NET

That should work, too, without any contortions.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:5C******** *************** ***********@mic rosoft.com...
>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.
--
John Saunders [MVP]


I actually see what's wrong. But I do not know how to go about solving it.
I've done extensive search on the Internet and I've seen many articles
concerning this problem and I see several solutions. I've tried most of these
fixes and they don't work. (I am not the only only one who has this problem,
just do a Google search). Is it possible for me to alter GAC to allow ASP.net
to have read permission? How dangerous is this?

May 21 '07 #4
I am the only user of this computer and I use administrator privileges. So I
think I should have NTFS permissions. Questions

1. Do I run regserver32 /u fusion.dll from any directory?

2. How do I "add ASPNET to the accounts allowed access to
drive:\windows\ assembly?"

3. When you stated that it was far easier to run "aspnet_reg iis -ga
machinename\ASP NET". Do you mean I could run this command only without
consideration to all the other instructions you gave me?

Thank you for toiling with me!
--
L. A. Jones
"Juan T. Llibre" wrote:
re:
!Is it possible for me to alter GAC to allow ASP.net
!to have read permission? How dangerous is this?

It's not dangerous at all.

Just unregister fusion.dll ( regserver32 /u fusion.dll )
and add ASPNET to the accounts allowed access to drive:\windows\ assembly

And, afterwards, don't forget to reregister it : regserver32 fusion.dll

Mind you, you *must* be running NTFS permissions for that to work.
Are you ?

It's far easier, however, to run :

aspnet_regiis -ga machinename\ASP NET

That should work, too, without any contortions.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:5C******** *************** ***********@mic rosoft.com...
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.
--
John Saunders [MVP]

I actually see what's wrong. But I do not know how to go about solving it.
I've done extensive search on the Internet and I've seen many articles
concerning this problem and I see several solutions. I've tried most of these
fixes and they don't work. (I am not the only only one who has this problem,
just do a Google search). Is it possible for me to alter GAC to allow ASP.net
to have read permission? How dangerous is this?


May 22 '07 #5
re:
!>I am the only user of this computer and I use administrator privileges.

The issue is not whether you are the administrator or not.
It's whether your *file system* is NTFS or not.

Is it NTFS or is it FAT32 ?

To find out the file system you have, right-click your boot drive
in Windows Explorer and select "Properties " from the context menu.

You'll see whether your file system is FAT32 or NTFS in that screen.

re:
!1. Do I run regserver32 /u fusion.dll from any directory?

Preferably, from a command window in the same directory fusion.dll is in.
Drive:\WINDOWS\ Microsoft.NET\F ramework\v2.0.5 0727

That will allow you to change permissions on drive:\windows\ assembly

re:
!2. How do I "add ASPNET to the accounts allowed access to
! drive:\windows\ assembly?"

*If* your file system is NTFS, right click the drive\windows\a ssembly directory
from within Windows Explorer, and select the Security tab so you can assign permissions..

That will only work if you have unregistered fusion.dll

Don't forget to *re-register* fusion.dll afterwards:

regsrvr32 fusion.dll

re:
!3. When you stated that it was far easier to run "aspnet_reg iis -ga
! machinename\ASP NET". Do you mean I could run this command only without
! consideration to all the other instructions you gave me?

That should work *if* you're running an NTFS file system.
If you're running FAT32, it won't work.

If you're running FAT32, you'll have to *convert* your file system to NTFS.

Running :
convert D: /fs:ntfs
....from a command-line would format drive D: as ntfs.

Change the drive letter to your boot drive letter.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:3E******** *************** ***********@mic rosoft.com...
>I am the only user of this computer and I use administrator privileges. So I
think I should have NTFS permissions. Questions

1. Do I run regserver32 /u fusion.dll from any directory?

2. How do I "add ASPNET to the accounts allowed access to
drive:\windows\ assembly?"

3. When you stated that it was far easier to run "aspnet_reg iis -ga
machinename\ASP NET". Do you mean I could run this command only without
consideration to all the other instructions you gave me?

Thank you for toiling with me!
--
L. A. Jones
"Juan T. Llibre" wrote:
>re:
!Is it possible for me to alter GAC to allow ASP.net
!to have read permission? How dangerous is this?

It's not dangerous at all.

Just unregister fusion.dll ( regserver32 /u fusion.dll )
and add ASPNET to the accounts allowed access to drive:\windows\ assembly

And, afterwards, don't forget to reregister it : regserver32 fusion.dll

Mind you, you *must* be running NTFS permissions for that to work.
Are you ?

It's far easier, however, to run :

aspnet_regii s -ga machinename\ASP NET

That should work, too, without any contortions.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:5C******* *************** ************@mi crosoft.com...
>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.
--
John Saunders [MVP]
I actually see what's wrong. But I do not know how to go about solving it.
I've done extensive search on the Internet and I've seen many articles
concerning this problem and I see several solutions. I've tried most of these
fixes and they don't work. (I am not the only only one who has this problem,
just do a Google search). Is it possible for me to alter GAC to allow ASP.net
to have read permission? How dangerous is this?



May 22 '07 #6
I ran the last command only and I got the from cmd window: "Finished granting
LJONES\ASPNET access to the IIS metabase ...". However, problem remains. I
also noticed one strange occurence, when I try to access localhost using
Firefox, I am prompted for username & password but not from IE6. I guess I
gonna ask someone from .Net user group to have a physical look on my computer.
--
L. A. Jones
"Juan T. Llibre" wrote:
re:
!>I am the only user of this computer and I use administrator privileges.

The issue is not whether you are the administrator or not.
It's whether your *file system* is NTFS or not.

Is it NTFS or is it FAT32 ?

To find out the file system you have, right-click your boot drive
in Windows Explorer and select "Properties " from the context menu.

You'll see whether your file system is FAT32 or NTFS in that screen.

re:
!1. Do I run regserver32 /u fusion.dll from any directory?

Preferably, from a command window in the same directory fusion.dll is in.
Drive:\WINDOWS\ Microsoft.NET\F ramework\v2.0.5 0727

That will allow you to change permissions on drive:\windows\ assembly

re:
!2. How do I "add ASPNET to the accounts allowed access to
! drive:\windows\ assembly?"

*If* your file system is NTFS, right click the drive\windows\a ssembly directory
from within Windows Explorer, and select the Security tab so you can assign permissions..

That will only work if you have unregistered fusion.dll

Don't forget to *re-register* fusion.dll afterwards:

regsrvr32 fusion.dll

re:
!3. When you stated that it was far easier to run "aspnet_reg iis -ga
! machinename\ASP NET". Do you mean I could run this command only without
! consideration to all the other instructions you gave me?

That should work *if* you're running an NTFS file system.
If you're running FAT32, it won't work.

If you're running FAT32, you'll have to *convert* your file system to NTFS.

Running :
convert D: /fs:ntfs
....from a command-line would format drive D: as ntfs.

Change the drive letter to your boot drive letter.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:3E******** *************** ***********@mic rosoft.com...
I am the only user of this computer and I use administrator privileges. So I
think I should have NTFS permissions. Questions

1. Do I run regserver32 /u fusion.dll from any directory?

2. How do I "add ASPNET to the accounts allowed access to
drive:\windows\ assembly?"

3. When you stated that it was far easier to run "aspnet_reg iis -ga
machinename\ASP NET". Do you mean I could run this command only without
consideration to all the other instructions you gave me?

Thank you for toiling with me!
--
L. A. Jones
"Juan T. Llibre" wrote:
re:
!Is it possible for me to alter GAC to allow ASP.net
!to have read permission? How dangerous is this?

It's not dangerous at all.

Just unregister fusion.dll ( regserver32 /u fusion.dll )
and add ASPNET to the accounts allowed access to drive:\windows\ assembly

And, afterwards, don't forget to reregister it : regserver32 fusion.dll

Mind you, you *must* be running NTFS permissions for that to work.
Are you ?

It's far easier, however, to run :

aspnet_regiis -ga machinename\ASP NET

That should work, too, without any contortions.

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" <Da**@discussio ns.microsoft.co mwrote in message
news:5C******** *************** ***********@mic rosoft.com...
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.
--
John Saunders [MVP]
I actually see what's wrong. But I do not know how to go about solving it.
I've done extensive search on the Internet and I've seen many articles
concerning this problem and I see several solutions. I've tried most of these
fixes and they don't work. (I am not the only only one who has this problem,
just do a Google search). Is it possible for me to alter GAC to allow ASP.net
to have read permission? How dangerous is this?


May 22 '07 #7

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

Similar topics

0
528
by: Mridul Buragohain | last post by:
hi all! ===================================== my environment: MS .NET 1.1 with Service pack 1 ASP.NET framework IIS 5.0 C#.NET language. =====================================
1
2484
by: Jules Hoppenbrouwers | last post by:
I developed an ASP.NET application with Visual Studio .NET 2003 on a Windows XP Pro machine. Everything seemed to work ok. One I was working on this application while I was still dialled in. When I disconnected I could not open my application in http://localhost/webapp Visual Studio .NET 2003 gives me the following error when I try to open my application: "The Web server reported the following error when attempting to create or open...
1
3153
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and
9
647
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1 application. I use W2K SP4 and have applied the hot Fix KB824146 and KB824105, both IE fixes. I don't have VS installed because this is a Quality Environment. I do have .NET SDK and .NET 1.1 Runtime installed. I can't change my APSNET user to run as...
8
7825
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the VALUE ENTERED BY THE USER EXISTS IN THE DB , then THE ERROR MESSAGE OF THE COMPARE VALIDATOR SHOULD BE DISPLAYED. For this, I used the reference artiicle "http://msdn.microsoft.com/library/default.asp?url=/library/en-...
17
5083
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows XP IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm trying to run an ASP.NET 2 site with 1.1 framework). I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the...
1
18915
by: tamasumalta | last post by:
I am using the attached code Private Sub StartApplicationProcess InitialiseObject() oWord.Visible = True oDoc = oWord.Documents.Open(StrStackPath) oWord.Visible = True end sub The variables oWord and oDoc are declared in the class as below
13
4748
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158 But the problem is that 99% of these are for ASP .NET 1.x and this is .NET 2.x which I just installed to try and get .net working for the first time ever. I've see all the HACKS to get .net 1.x...
5
6316
by: marshmallowww | last post by:
I have an Access 2000 mde application which uses ADO and pass through queries to communicate with SQL Server 7, 2000 or 2005. Some of my customers, especially those with SQL Server 2005, have had pass-through queries fail due to intermittent connection failures. I can easily restablish a connection for ADO. My problem is with pass-through queries.
0
8347
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
8694
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
8457
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
5605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
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
4280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
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
1
1905
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.