473,386 Members | 1,706 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.

Server Application unavailable error

I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones
May 18 '07 #1
17 4850
re:
!Administrator Note: An error message detailing the cause of this specific
!request failure can be found in the application event log of the web server.
!Please review this log entry to discover what caused this error to occur

What does the application event log entry state ?

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**@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
>I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones

May 18 '07 #2
Warning message:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 18/05/2007
Time: 05:19:46 PM
User: N/A
Computer: LJONES
Description:
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/webRetail

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Access is denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo,
StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)

Error 1:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 18/05/2007
Time: 05:19:46 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.

Error 2:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1000
Date: 18/05/2007
Time: 05:19:46 PM
User: N/A
Computer: LJONES
Description:
aspnet_wp.exe (PID: 4800) stopped unexpectedly.

--
L. A. Jones
"Juan T. Llibre" wrote:
re:
!Administrator Note: An error message detailing the cause of this specific
!request failure can be found in the application event log of the web server.
!Please review this log entry to discover what caused this error to occur

What does the application event log entry state ?

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**@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones


May 18 '07 #3
The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.

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**@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
Warning message:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 18/05/2007
Time: 05:19:46 PM
User: N/A
Computer: LJONES
Description:
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/webRetail

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Access is denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo,
StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)

Error 1:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 18/05/2007
Time: 05:19:46 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.

Error 2:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1000
Date: 18/05/2007
Time: 05:19:46 PM
User: N/A
Computer: LJONES
Description:
aspnet_wp.exe (PID: 4800) stopped unexpectedly.

--
L. A. Jones
"Juan T. Llibre" wrote:
>re:
!Administrator Note: An error message detailing the cause of this specific
!request failure can be found in the application event log of the web server.
!Please review this log entry to discover what caused this error to occur

What does the application event log entry state ?

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**@discussions.microsoft.comwrote in message
news:7B**********************************@microso ft.com...
>I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones



May 18 '07 #4
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

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
"Juan T. Llibre" wrote:
The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

--
L. A. Jones
"Juan T. Llibre" wrote:
The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.

May 19 '07 #5
I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly


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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

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
"Juan T. Llibre" wrote:
>The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

--
L. A. Jones
"Juan T. Llibre" wrote:
>The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.


May 19 '07 #6
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:
I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly


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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

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
"Juan T. Llibre" wrote:
The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

--
L. A. Jones
"Juan T. Llibre" wrote:
The critical part of the error message is this :

!Failed to execute the request because the ASP.NET process identity
!does not have read permissions to the global assembly cache.

Are you impersonating the ASP.NET identity ?

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.



May 19 '07 #7
Hi,
check out below link:
http://forums.microsoft.com/MSDN/Sho...35969&SiteID=1
--
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"Dave" wrote:
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:
I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly


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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.
>
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
>
>
"Juan T. Llibre" wrote:
>
>The critical part of the error message is this :
>>
>!Failed to execute the request because the ASP.NET process identity
>!does not have read permissions to the global assembly cache.
>>
>Are you impersonating the ASP.NET identity ?
>>
>You are running on XP.
>XP's default ASP.NET identity is the ASPNET account.
>>
>run :
>>
>aspnet_regiis -ga machinename\aspnet
>( substitute *your* machine's name for "machinename"... )
>>
>....from a command window in the .Net Framework 2.0 directory :
>Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27
>>
>I'm not sure if you can get away with running just :
>>
>aspnet_regiis -ga aspnet
>>
>>
--
L. A. Jones
>
>
"Juan T. Llibre" wrote:
>
>The critical part of the error message is this :
>>
>!Failed to execute the request because the ASP.NET process identity
>!does not have read permissions to the global assembly cache.
>>
>Are you impersonating the ASP.NET identity ?
>>
>You are running on XP.
>XP's default ASP.NET identity is the ASPNET account.
>>
>run :
>>
>aspnet_regiis -ga machinename\aspnet
>( substitute *your* machine's name for "machinename"... )
>>
>....from a command window in the .Net Framework 2.0 directory :
>Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27
>>
>I'm not sure if you can get away with running just :
>>
>aspnet_regiis -ga aspnet
>>
>That should get you up and running again.
>>
>>
>>
>>
May 19 '07 #8
re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microsof t.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:
>I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microso ft.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.
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.
>You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.

May 19 '07 #9
Still does not help. I'm thinking of re-installing IIS, ASP. Net and Visual
Studio.
--
L. A. Jones
"Juan T. Llibre" wrote:
re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microsof t.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:
I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.
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.
You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.


May 19 '07 #10
I am so, so so, ahhhhhh. What is wrong? I can't believe that I've spent the
better part of 4 days trying to figure out this without success. If Apache
could have done it I would have switched long ago. I've been using Apache and
PHP for years and no problem to configure the web server. This is my first
try at using ASP.Net. When I check the Internet, I see a plethora of
questions about the same issue and there seem to be so many ad-hoc
patches/solutions. The only thing I see on Microsoft site which resembles my
problem, has to do with problems in ASP.Net 1.0 issues. I have not seen any
solution to ASP.Net 2.0 problems. If I had not invested so time and effort in
this I would toss all this .net technology aside.
--
L. A. Jones
"Juan T. Llibre" wrote:
re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microsof t.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:
I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.
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.
You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.


May 19 '07 #11
On your first message you said that the problem
is with *one* of several ASP.NET applications:

!I have some asp.net applications running on a IIS server. No problem.
!This morning, i wanted to start an asp.net application, but i get the error:
!"Server Application Unavailable; the web application you are attempting to
!access on this web server is currently unavailable.

Can you run *any* asp.net application on your IIS server ?
Or, does the problem extend to *all* asp.net applications ?

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**@discussions.microsoft.comwrote in message
news:39**********************************@microsof t.com...
>I am so, so so, ahhhhhh. What is wrong? I can't believe that I've spent the
better part of 4 days trying to figure out this without success. If Apache
could have done it I would have switched long ago. I've been using Apache and
PHP for years and no problem to configure the web server. This is my first
try at using ASP.Net. When I check the Internet, I see a plethora of
questions about the same issue and there seem to be so many ad-hoc
patches/solutions. The only thing I see on Microsoft site which resembles my
problem, has to do with problems in ASP.Net 1.0 issues. I have not seen any
solution to ASP.Net 2.0 problems. If I had not invested so time and effort in
this I would toss all this .net technology aside.
--
L. A. Jones
"Juan T. Llibre" wrote:
>re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microso ft.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:

I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microso ft.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.
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.
>You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.



May 19 '07 #12
Actually, I meant 1 application. I have never been able to run an ASP.Net
from IIS application only using VS 2005.
--
L. A. Jones
"Juan T. Llibre" wrote:
On your first message you said that the problem
is with *one* of several ASP.NET applications:

!I have some asp.net applications running on a IIS server. No problem.
!This morning, i wanted to start an asp.net application, but i get the error:
!"Server Application Unavailable; the web application you are attempting to
!access on this web server is currently unavailable.

Can you run *any* asp.net application on your IIS server ?
Or, does the problem extend to *all* asp.net applications ?

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**@discussions.microsoft.comwrote in message
news:39**********************************@microsof t.com...
I am so, so so, ahhhhhh. What is wrong? I can't believe that I've spent the
better part of 4 days trying to figure out this without success. If Apache
could have done it I would have switched long ago. I've been using Apache and
PHP for years and no problem to configure the web server. This is my first
try at using ASP.Net. When I check the Internet, I see a plethora of
questions about the same issue and there seem to be so many ad-hoc
patches/solutions. The only thing I see on Microsoft site which resembles my
problem, has to do with problems in ASP.Net 1.0 issues. I have not seen any
solution to ASP.Net 2.0 problems. If I had not invested so time and effort in
this I would toss all this .net technology aside.
--
L. A. Jones
"Juan T. Llibre" wrote:
re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microsof t.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:

I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

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.

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.


May 19 '07 #13
If that's the case, it's a good assumption that you have a bad install.
Nuke ( fully uninstall ) IIS and the .Net Framework.

"Start", "Settings", "Control Panel", "Add or Remove Programs".

The .Net Framework 2.0 removal icon should be visible
when you open "Add or Remove Programs".

You can, afterwards, uninstall IIS by clicking "Add/Remove Windows Components".

Then, after rebooting, install *first* IIS, and then the .Net Framework 2.0

Please postback your results.


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**@discussions.microsoft.comwrote in message
news:DA**********************************@microsof t.com...
Actually, I meant 1 application. I have never been able to run an ASP.Net
from IIS application only using VS 2005.
--
L. A. Jones
"Juan T. Llibre" wrote:
>On your first message you said that the problem
is with *one* of several ASP.NET applications:

!I have some asp.net applications running on a IIS server. No problem.
!This morning, i wanted to start an asp.net application, but i get the error:
!"Server Application Unavailable; the web application you are attempting to
!access on this web server is currently unavailable.

Can you run *any* asp.net application on your IIS server ?
Or, does the problem extend to *all* asp.net applications ?

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**@discussions.microsoft.comwrote in message
news:39**********************************@microso ft.com...
>I am so, so so, ahhhhhh. What is wrong? I can't believe that I've spent the
better part of 4 days trying to figure out this without success. If Apache
could have done it I would have switched long ago. I've been using Apache and
PHP for years and no problem to configure the web server. This is my first
try at using ASP.Net. When I check the Internet, I see a plethora of
questions about the same issue and there seem to be so many ad-hoc
patches/solutions. The only thing I see on Microsoft site which resembles my
problem, has to do with problems in ASP.Net 1.0 issues. I have not seen any
solution to ASP.Net 2.0 problems. If I had not invested so time and effort in
this I would toss all this .net technology aside.
--
L. A. Jones
"Juan T. Llibre" wrote:

re
!Not sure of the steps to this. Could you enumerate the steps. Thanks

The best way to approach this, since you can't set the access permissions
to the GAC directly, is to annul and recreate the ASPNET account.

To do that, run, from a command window in the .Net Framework directory:

aspnet_regiis -u

and, immediately after that, run :

aspnet_regiis -i

That will, first, annul the ASPNET account and, then, recreate it,
assigning all necessary permissions to all the needed directories,
including the GAC.

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**@discussions.microsoft.comwrote in message
news:AD**********************************@microso ft.com...
Not sure of the steps to this. Could you enumerate the steps. Thanks
--
L. A. Jones
"Juan T. Llibre" wrote:

I suspect you fumbled the command which gives *any*
account *all* the permissions ASP.NET needs to run.

In spite of that, Try to give access permissions to
the ASPNET account to the GAC directory itself.

The GAC directory is Drive:\WINDOWS\assembly
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**@discussions.microsoft.comwrote in message
news:D2**********************************@microso ft.com...
I did all you told me to do and the problem persists. This is the error
event log data. It seems the same as shown below.

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.

You are running on XP.
XP's default ASP.NET identity is the ASPNET account.

run :

aspnet_regiis -ga machinename\aspnet
( substitute *your* machine's name for "machinename"... )

....from a command window in the .Net Framework 2.0 directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.507 27

I'm not sure if you can get away with running just :

aspnet_regiis -ga aspnet

That should get you up and running again.



May 19 '07 #14
"Start", "Settings", "Control Panel", "Add or Remove Programs".
>
The .Net Framework 2.0 removal icon should be visible
when you open "Add or Remove Programs".

You can, afterwards, uninstall IIS by clicking "Add/Remove Windows Components".

Then, after rebooting, install *first* IIS, and then the .Net Framework 2.0

Please postback your results.

No change. Do you think I need to re-install from the OS? That is what I've
seen in some newsgroups. I notice that if I try to use Firefox to access
localhost/mysite, I am being prompted for username and password. That is not
the case with IE6
--
L. A. Jones

May 19 '07 #15
Hi,
You have mentioned that both .NET 1.0 and .NET 2.0 are installed .So
probably both ASP.NET 1.0 and ASP.NET 2.0 are installed on your machine.If
that is the case then you need to tell IIS which version you want it to run
with.Steps for these are:
The ASP.NET MMC Snapin is integrated into the IIS MMC administration tool.
To use the snapin, use the following steps:
[1]Open the IIS MMC console, by using Administrative Tools/Internet
Information Services.
[2]Select the application or directory you want to debug, and select
Properties from the Action menu.
[3]From the property sheet, click on the ASP.NET tab.
On this tab, you can review or change the ASP.NET version used for the
current application. Any change you make to this setting applies to all child
applications.
from this tab you can change version to 2.0 or 1.1.
However I wanted to make sure that if you are using IIS 6
--
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"Dave" wrote:
I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones
May 20 '07 #16
Dave,

I was plagued by this exact error as well as "Access Denied" errors until I
figured out the file encryption software my company installs as part of our
standard image was causing this.

-Dave

"Dave" wrote:
I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?

//Error below

Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur
--
L. A. Jones
May 21 '07 #17
I am surprised that you say you uninstalled IIS and the .Net Framework,
and reinstalled them both, in only the 1 1/2 hours that passed between
my suggestion and the time you reported that implementing them didn't work.

Are you *sure* you followed my suggestion *exactly* as explained ?

It's impossible to uninstall/reinstall *both* IIS
*and* the .Net Framework in less than 1 1/2 hours.


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**@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
>"Start", "Settings", "Control Panel", "Add or Remove Programs".

The .Net Framework 2.0 removal icon should be visible
when you open "Add or Remove Programs".

You can, afterwards, uninstall IIS by clicking "Add/Remove Windows Components".

Then, after rebooting, install *first* IIS, and then the .Net Framework 2.0

Please postback your results.
No change. Do you think I need to re-install from the OS? That is what I've
seen in some newsgroups. I notice that if I try to use Firefox to access
localhost/mysite, I am being prompted for username and password. That is not
the case with IE6
--
L. A. Jones

May 21 '07 #18

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

Similar topics

0
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. =====================================
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
1
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
1
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...
9
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...
1
by: Robert Halford | last post by:
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are...
6
by: Damon Roberts | last post by:
Hi My dev server has started posting a Server Application Unavailable error for all of my asp.net web apps... Server Application Unavailable The web application you are attempting to access...
17
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...
13
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:...
5
by: myth0s | last post by:
Hello everybody :) I have trouble getting my ASP application to work. I googled a lot for a solution... many solutions I tried came from The Scripts, but none of them worked. Nonetheless, I think...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.