Showing posts with label solutions. Show all posts
Showing posts with label solutions. Show all posts

Tuesday, March 13, 2012

Server Application Unavailable

Help, I have Googled this to death. There are tons of threads with just as many solutions. None of which have worked for me.

Trying to access my ASP.NET page on my local machine's IIS and I get the following error:

------------------------------

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.

------------------------------

Event Viewer says:
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1084
Date: 9/9/2004
Time: 10:04:32 AM
User: N/A
Computer: WSENQ--00370PDR
Description:
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.

------------------------------

Running XP-Pro-sp1, .NET 1.1, IIS 6.0sp1I had the same problem on my machine this morning, it is 6:01 the next morning and I finnaly fixed it.

At first I had a machineName/acountName login fail error, then I changed a lot of seeting and got the error that you got: server application unavailable.

I uninstalled visual studio 2002, sqlServer because I changed so many things in there I could not fix them at my skill level. Then reinstalled them.

Then I found the following web page: http://aspnet101.com/aspnet101/tutorials.aspx?id=23

Followed the directions to a tee, but make sure in:
Step 1: Creating a Trusted SQL Server Connection

that you ALSO: not only perform the step for the administrator account but, also for the

* ASPNET_WP ACCOUNT*

Follow the rest exactly like it says. the rest of the steps only need to be performed once.
and it will work.

Hope this helps
Tom
What you need to do is go to the machine.Config file, which is located at:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG

Go to the line:

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite" shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000" restartQueueLimit="10"memoryLimit="60" webGarden="false" cpuMask="0xffffffff" userName="machine" password="AutoGenerate" logLevel="Errors" clientConnectedCheck="0:00:05" comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate" responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"/
Check the bold item in the above statement, and replace it with a higher number. That number is a percentage of the total main memory that is being used by the asp.net engine. The higher the better for your application, the worst for your machine performance.

Regards.
Hi Haidar,
What are you saying? How come the memory limit affect what the users are seeing. As you can see, they are talking about the permission issues, how could a memory setting fix it. I am sorry I am not trying to ridicule it. But, What are you talking about

Thanks
Hello, this error message usually happens if you are running any application that requires much of the memory. I had this once and I was able to solve it this way. It might be this solution, but what should be done right now, is to apply this solution and see what happens.

Regards.
Hmm. It is because the aspnet_wp could not be started when you debug with the VS.NET. There is a fix for this from Microsoft. Please take a look at the article.

http://support.microsoft.com/kb/820747/EN-US/

May be it was a coincidence that it seem to work after you change the memoryLimit setting. But I sincerely dont believe it has anything to do with aspnet_wp running

Anyway Take it easy

server application unavailable

hallo,
i'm going to ask a solution for a "classic" problem. actually i read a
lot about possible solutions to it but i was not able to solve it.
the "patient" is:
- a test server where i have "limited" power (alias, i cannot re-
install everything i want :-/)
- Windows 2000 sp 4 w/ iis 5.0
- .net frameworks installed: 1.0, 1.1, 2.0
- a bunch of *working* webapplications associated w/ framework 1.1
- a web application which does not work associated w/ framework 2.0 (i
checked the associations with the ASPNETVersionSwitcher tool)
symptoms:
- when i load the not-working application via browser, i get the red
error message "Server Application Unavailable"
- i checked the Event Viewer, here is what it says:
1. aspnet_wp.exe (PID: 2620) stopped unexpectedly.
2. Failed to execute the request because the ASP.NET process identity
does not have read permissions to the global assembly cache. Error:
0x80004005 Unspecified error
what i did:
- i read these two articles telling how to set the permission for
<machinename>\ASPNET account:
http://forums.microsoft.com/MSDN/Sh...135969&SiteID=1
http://support.microsoft.com/?scid=...B811320&x=9&y=9
still, after having set the permissions as the articles say, the
problem still remains.
do you have any other suggestions?
francesco
PS
all the guides i read say that after installing .net framework v2.0 it
should appear a tab titled "ASP.NET" in the iis web site property
page... that does not happen to me. is that normal?Last time I had error like that ASP.NET did not have any permissions (I
think all it need is read) to the BIN folder of my application
George.
"Francesco Spegni" <francesco.spegni@.gmail.com> wrote in message
news:1174993540.662501.226120@.l77g2000hsb.googlegroups.com...
> hallo,
> i'm going to ask a solution for a "classic" problem. actually i read a
> lot about possible solutions to it but i was not able to solve it.
> the "patient" is:
> - a test server where i have "limited" power (alias, i cannot re-
> install everything i want :-/)
> - Windows 2000 sp 4 w/ iis 5.0
> - .net frameworks installed: 1.0, 1.1, 2.0
> - a bunch of *working* webapplications associated w/ framework 1.1
> - a web application which does not work associated w/ framework 2.0 (i
> checked the associations with the ASPNETVersionSwitcher tool)
> symptoms:
> - when i load the not-working application via browser, i get the red
> error message "Server Application Unavailable"
> - i checked the Event Viewer, here is what it says:
> 1. aspnet_wp.exe (PID: 2620) stopped unexpectedly.
> 2. Failed to execute the request because the ASP.NET process identity
> does not have read permissions to the global assembly cache. Error:
> 0x80004005 Unspecified error
> what i did:
> - i read these two articles telling how to set the permission for
> <machinename>\ASPNET account:
> http://forums.microsoft.com/MSDN/Sh...135969&SiteID=1
> http://support.microsoft.com/?scid=...B811320&x=9&y=9
> still, after having set the permissions as the articles say, the
> problem still remains.
> do you have any other suggestions?
> francesco
> PS
> all the guides i read say that after installing .net framework v2.0 it
> should appear a tab titled "ASP.NET" in the iis web site property
> page... that does not happen to me. is that normal?
>
thanks, but the user (<machine_name>/ASPNET) has access to the bin
directory :-/
On 27 Mar, 13:38, "George Ter-Saakov" <gt-...@.cardone.com> wrote:
> Last time I had error like that ASP.NET did not have any permissions (I
> think all it need is read) to the BIN folder of my application
> George.
> "Francesco Spegni" <francesco.spe...@.gmail.com> wrote in message
> news:1174993540.662501.226120@.l77g2000hsb.googlegroups.com...
>
I think you answered your own question. the ASPNET process cannot read the
GAC. So you need to find out how to grant the proper permissions.
Sounds like you've got a messed up installation. Also, make sure your 2.0
app(s) are running under their OWN application pool.
Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Francesco Spegni" wrote:

> hallo,
> i'm going to ask a solution for a "classic" problem. actually i read a
> lot about possible solutions to it but i was not able to solve it.
> the "patient" is:
> - a test server where i have "limited" power (alias, i cannot re-
> install everything i want :-/)
> - Windows 2000 sp 4 w/ iis 5.0
> - .net frameworks installed: 1.0, 1.1, 2.0
> - a bunch of *working* webapplications associated w/ framework 1.1
> - a web application which does not work associated w/ framework 2.0 (i
> checked the associations with the ASPNETVersionSwitcher tool)
> symptoms:
> - when i load the not-working application via browser, i get the red
> error message "Server Application Unavailable"
> - i checked the Event Viewer, here is what it says:
> 1. aspnet_wp.exe (PID: 2620) stopped unexpectedly.
> 2. Failed to execute the request because the ASP.NET process identity
> does not have read permissions to the global assembly cache. Error:
> 0x80004005 Unspecified error
> what i did:
> - i read these two articles telling how to set the permission for
> <machinename>\ASPNET account:
> http://forums.microsoft.com/MSDN/Sh...135969&SiteID=1
> http://support.microsoft.com/?scid=...B811320&x=9&y=9
> still, after having set the permissions as the articles say, the
> problem still remains.
> do you have any other suggestions?
> francesco
> PS
> all the guides i read say that after installing .net framework v2.0 it
> should appear a tab titled "ASP.NET" in the iis web site property
> page... that does not happen to me. is that normal?
>
On 28 Mar, 01:01, Peter Bromberg [C# MVP]
<pbromb...@.yahoo.yabbadabbadoo.com> wrote:
> I think you answered your own question. the ASPNET process cannot read the
> GAC. So you need to find out how to grant the proper permissions.
> Sounds like you've got a messed up installation. Also, make sure your 2.0
> app(s) are running under their OWN application pool.
> Peter
uhm,
i'm not an expert in iis but i think that application pools are
configurable for iis 6 or successive ones, while i'm using iis 5. am i
wrong? if i'm wrong, could you point me to some documentation about
that?
moreover: which files is the GAC made of, actually? just the ones in
%windir%\assembly? i'm asking you this because i've already checked
they are readable by ASPNET user.
thanks
francesco