Showing posts with label unavailable. Show all posts
Showing posts with label unavailable. Show all posts

Tuesday, March 13, 2012

Server App Unavailable error

I have the server application unavailable error, after checking the event log
i notices the following in the even logs

"aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid."

what could be possibly wrong?
i didn't change anything in the machine.confirg and the application was
running well all the time

ThanksSeems that after installing the new Service packs of .NET framework, this is happening to many folks. You might want to google for the error message and SP. I am thinking you might find the problem.

Oh BTW: Make sure that the username/password does work. :)

--
Girish Bharadwaj
http://msmvps.com/gbvb

> I have the server application unavailable error, after checking the
> event log i notices the following in the even logs
> "aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid."
> what could be possibly wrong?
> i didn't change anything in the machine.confirg and the application
> was
> running well all the time
> Thanks

Server App Unavailable error

I have the server application unavailable error, after checking the event lo
g
i notices the following in the even logs
"aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid."
what could be possibly wrong?
i didn't change anything in the machine.confirg and the application was
running well all the time
ThanksSeems that after installing the new Service packs of .NET framework, this is
happening to many folks. You might want to google for the error message and
SP. I am thinking you might find the problem.
Oh BTW: Make sure that the username/password does work. :)
Girish Bharadwaj
http://msmvps.com/gbvb

> I have the server application unavailable error, after checking the
> event log i notices the following in the even logs
> "aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid."
> what could be possibly wrong?
> i didn't change anything in the machine.confirg and the application
> was
> running well all the time
> Thanks
>

Server App Unavailable Error

I have a web service that I can access from a client machine as long as that web service is on the machine I delevoped it on. I created a virtual directory on our server's (Small Business Server 2000) internet information server and put all of the web service's files in the inetpub/wwwroot folder. However, when I try to access the web service while it's on the server I get an error that says that the server application is unavailable.

The error says to reference the system logs for a detailed description of the failure. When looking at the Event Viewer on the server the following error shows up:

"aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid"

I'm new to asp.net. Does anyone have any insight as to why this is happening?

Thanks in advance.http://support.microsoft.com/default.aspx?scid=kb;en-us;q315158&

CAUSE
By default, ASP.NET runs its worker process (Aspnet_wp.exe) with a weak account (the local machine account, which is named ASPNET) to provide a more secure environment. On a domain controller or on a backup domain controller, all user accounts are domain accounts and are not local machine accounts. Therefore, Aspnet_wp.exe fails to start because it cannot find a local account named "localmachinename\ASPNET". To provide a valid user account on the domain controller, you must specify an explicit account in the <processModel> section of the Machine.config file, or you must use the SYSTEM account.

etc.

server application aspnet_wp.exe stopped unexpectedly unavailable

hi,

I'm having an absolute nightmare with this!

I've seen many posts on the subject but still can't quite figure it
out.

I'm using csharp and Framework 1.1.4322.537 on Windows2000 Professional
5.00.2195 Service Pack 4

I click a hyperlink which takes me to an aspx page with a document ID
in the request string. The aspx page checks if there is a doc_id in the
request string. If there is, it looks at a Session variable DataView to
find the location of the document based on the doc_id (don't want users
to see actual location).

Once it has this info, it puts that into another Session Variable and
does a Response.Redirect to the same aspx page but with a user-friendly
request string i.e document=documentType.documentName

On reentry, the page sees this request string, finds the location from
the session variable and uses the following code to serve the PDF file:
if(impersonateValidUser("user", "domain", "password"))
{
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType="application/pdf";
Response.WriteFile(pdfFile);
Response.Flush();
Response.Close();
undoImpersonation();
}
else
{
}
return;

using the standard MS implementation of impersonation found here:
http://support.microsoft.com/defaul...kb;en-us;306158
EXCEPT that I am not doing it in Page_Load.

Code for Page_Load is:
//uses doc_id to identify which document from the dataset is required.
string objectName;
string objectType;
if (Request.QueryString["doc_id"] != null)
{
string docId = Request.QueryString["doc_id"];
System.Data.DataView documents =
(System.Data.DataView)Session["documents"];

if (documents == null)
throw new Exception("You must navigate via the Document Viewer and
select a document first.");
documents.RowFilter="doc_id="+ docId;
//check that there is a document
if (documents.Count==1)
{
objectName = documents[0].Row["object_name"].ToString();
objectType = documents[0].Row["r_object_type"].ToString();
pdfFile = (string)Session["pdfLocation"] +
documents[0].Row["DOCUrl"].ToString();
ArrayList pdfArray = new ArrayList();
pdfArray.Add(pdfFile);
pdfArray.Add(docId);
pdfArray.Add(objectName);
pdfArray.Add(objectType);
Session["pdfArray"] = pdfArray;
string newURL = HttpContext.Current.Request.Path + "?object=" +
objectType + "." + objectName;
Response.Redirect(newURL);
return;
}
else
{
throw new Exception("There is no such document id in the
current dataset.");
}
}
else
{
if (Session["pdfArray"] != null && Request.QueryString["object"] !=
null)
{
if (((ArrayList)Session["pdfArray"]).Count == 4)
{
pdfFile = (string)((ArrayList)Session["pdfArray"])[0];
objectName = (string)((ArrayList)Session["pdfArray"])[2];
objectType = (string)((ArrayList)Session["pdfArray"])[3];
string[] objRequest =
Request.QueryString["object"].Split(".".ToCharArray());
if (objRequest.Length == 2)
{
if (objRequest[0] != objectType || objRequest[1] != objectName)
throw new Exception("This is not a valid document.");
}
else
throw new Exception("This is not a valid document.");
ServePDF();
return;
}
else
{
throw new Exception("This is not a valid document.");
}
}
else
{
throw new Exception("This is not a valid document.");
}
}

string pdfFile is a class variable.

Now, this code works fine for 3 of my documents which are under 200kb
but the one that is 3822KB fails with the error message Server
Application Unavailable and the event log says aspnet_wp.exe stopped
unexpectedly.

The machine.config is set to use SYSTEM (though with Framework 1.1 I
don't think this should be necessary, and indeed it may not be - have
now tested "machine" and that seems to work the same). The httpRuntime
MaxRequestLength in machine.config was 4096 and since this was close I
upped it to 8192 but that didn't fix it. This setting is not overridden
in the web.config file.

What may give the game away (but not to me!) is that the Page_Load is
triggerred 3 times instead of the 2 I was expecting. Once with the
doc_id, then after the Redirect but then a third time? Presumably
something to do with the Response.Flush or Response.Close...

Can anyone help me? Even more frustrating is that I actually had this
big file working occasionally yesterday though it would randomly cause
this error message. However, after my tinkering it always produces the
error now :o( (only for the large file).

thanks
Phili should say I have also tried without impersonation (having set the
directory permissions appropriately, though my final application will
need to use impersonation or delegation - that's a whole different
question!).

Even without impersonation I still get the same problem.

Phil
can someone at least tell me why Page_Load is being triggerred 3 times
in this example?

I really can't figure out why the failure is so random...
phancey@.2bytes.co.uk wrote:
> can someone at least tell me why Page_Load is being triggerred 3
times
> in this example?
> I really can't figure out why the failure is so random...

That's a bug. Install .net framework 1.1 sp1. this would help.
by the way, for anyone else having this problem, it turned out to be
the size of the file at 3822KB. I ended up having to read it in chunks
and outputting it with flush before reading the next chunk. I used
500000 byte chunks and it seems to work fine. There may be an
alternative solution but this is what I ended up doing.

server application aspnet_wp.exe stopped unexpectedly unavailable

hi,
I'm having an absolute nightmare with this!
I've seen many posts on the subject but still can't quite figure it
out.
I'm using csharp and Framework 1.1.4322.537 on Windows2000 Professional
5.00.2195 Service Pack 4
I click a hyperlink which takes me to an aspx page with a document ID
in the request string. The aspx page checks if there is a doc_id in the
request string. If there is, it looks at a Session variable DataView to
find the location of the document based on the doc_id (don't want users
to see actual location).
Once it has this info, it puts that into another Session Variable and
does a Response.Redirect to the same aspx page but with a user-friendly
request string i.e document=documentType.documentName
On reentry, the page sees this request string, finds the location from
the session variable and uses the following code to serve the PDF file:
if(impersonateValidUser("user", "domain", "password"))
{
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType="application/pdf";
Response.WriteFile(pdfFile);
Response.Flush();
Response.Close();
undoImpersonation();
}
else
{
}
return;
using the standard MS implementation of impersonation found here:
http://support.microsoft.com/defaul...kb;en-us;306158
EXCEPT that I am not doing it in Page_Load.
Code for Page_Load is:
//uses doc_id to identify which document from the dataset is required.
string objectName;
string objectType;
if (Request.QueryString["doc_id"] != null)
{
string docId = Request.QueryString["doc_id"];
System.Data.DataView documents =
(System.Data.DataView)Session["documents"];
if (documents == null)
throw new Exception("You must navigate via the Document Viewer and
select a document first.");
documents.RowFilter="doc_id="+ docId;
//check that there is a document
if (documents.Count==1)
{
objectName = documents[0].Row["object_name"].ToString();
objectType = documents[0].Row["r_object_type"].ToString();
pdfFile = (string)Session["pdfLocation"] +
documents[0].Row["DOCUrl"].ToString();
ArrayList pdfArray = new ArrayList();
pdfArray.Add(pdfFile);
pdfArray.Add(docId);
pdfArray.Add(objectName);
pdfArray.Add(objectType);
Session["pdfArray"] = pdfArray;
string newURL = HttpContext.Current.Request.Path + "?object=" +
objectType + "." + objectName;
Response.Redirect(newURL);
return;
}
else
{
throw new Exception("There is no such document id in the
current dataset.");
}
}
else
{
if (Session["pdfArray"] != null && Request.QueryString["object"] !=
null)
{
if (((ArrayList)Session["pdfArray"]).Count == 4)
{
pdfFile = (string)((ArrayList)Session["pdfArray"])[0];
objectName = (string)((ArrayList)Session["pdfArray"])[2];
objectType = (string)((ArrayList)Session["pdfArray"])[3];
string[] objRequest =
Request.QueryString["object"].Split(".".ToCharArray());
if (objRequest.Length == 2)
{
if (objRequest[0] != objectType || objRequest[1] != objectName)
throw new Exception("This is not a valid document.");
}
else
throw new Exception("This is not a valid document.");
ServePDF();
return;
}
else
{
throw new Exception("This is not a valid document.");
}
}
else
{
throw new Exception("This is not a valid document.");
}
}
string pdfFile is a class variable.
Now, this code works fine for 3 of my documents which are under 200kb
but the one that is 3822KB fails with the error message Server
Application Unavailable and the event log says aspnet_wp.exe stopped
unexpectedly.
The machine.config is set to use SYSTEM (though with Framework 1.1 I
don't think this should be necessary, and indeed it may not be - have
now tested "machine" and that seems to work the same). The httpRuntime
MaxRequestLength in machine.config was 4096 and since this was close I
upped it to 8192 but that didn't fix it. This setting is not overridden
in the web.config file.
What may give the game away (but not to me!) is that the Page_Load is
triggerred 3 times instead of the 2 I was expecting. Once with the
doc_id, then after the Redirect but then a third time? Presumably
something to do with the Response.Flush or Response.Close...
Can anyone help me? Even more frustrating is that I actually had this
big file working occasionally yesterday though it would randomly cause
this error message. However, after my tinkering it always produces the
error now :o( (only for the large file).
thanks
Phili should say I have also tried without impersonation (having set the
directory permissions appropriately, though my final application will
need to use impersonation or delegation - that's a whole different
question!).
Even without impersonation I still get the same problem.
Phil
can someone at least tell me why Page_Load is being triggerred 3 times
in this example?
I really can't figure out why the failure is so random...
phancey@.2bytes.co.uk wrote:
> can someone at least tell me why Page_Load is being triggerred 3
times
> in this example?
> I really can't figure out why the failure is so random...
That's a bug. Install .net framework 1.1 sp1. this would help.
by the way, for anyone else having this problem, it turned out to be
the size of the file at 3822KB. I ended up having to read it in chunks
and outputting it with flush before reading the next chunk. I used
500000 byte chunks and it seems to work fine. There may be an
alternative solution but this is what I ended up doing.

Server Application is unavailable

hi guys.,..

i am facing a problem in creating virtual direcotry..

i have .net framework 1.1 already installed on my pc (XP)... and there are application which are running fine... developed in framework 1.1...

i installed .net framwork 2.0 and created a new virtual directry ...

but it gives me error as "Server Application Unavailable" error...

any body having any idea ??

right click ur defaultwebsite node in IIS properties
then choos Asp.net tab, make sure that Asp.net version is 2.0


HTH


If you have an application written in .net framework 1.1 and you have installed the .net framework 2.0, just make sure that the default .net version for that application is correct (1.1 in this case)

Follow the above poster steps to go check the application ASP.NET version.

HC


version is already 2.0 (i have checked it).

i have checked the versions for all application...

and are correctly selected...

is there any other setting that i am missing out ?


try to run aspnet_regiis.exe -i

HTH


ok...

aspnet_regiis -i option will install asp.net components to my system..

but does it effect to my existing uploaded applications based on framework 1.1 ?


no it wont affect them, when u want to run 1.1 application, choose in IIS framework 1.1 the same way as i told u in my previous post

HTH


JRICE:

no it wont affect them, when u want to run 1.1 application, choose in IIS framework 1.1 the same way as i told u in my previous post

HTH

thanks friend..

it works... but with slight change...

aspnet_regiis -iru

details:

aspnet_regiis -i will install asp.net components and scriptmaps as well as update scriptmaps of all EXISTING UPLOADED APPLICATION in IIS.

aspnet_regiis -iru will install asp.net components and scriptmaps but it does not update scriptmaps of all EXISTING UPLOADED APPLICATION in IIS.

Server Application Unavailable

Hello All,
I have installed VS 2005 beta after that when i try to launch the website its shoing me the above error.
I have windows 2003 server installed on my machine.
can anyone tell me why this error coming?
Cant theASP.NET 1.1 and ASP.NET 2.0 Co-exist?
If yes then how can i solve the above 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.

Well (like it says in the message), could you post the information from the eventlog?

That will probably give you a hint of whats wrong.

Regards

Fredr!k


I have the same configuration.
Well, they can coexist, try to restart the IIS and use the (regiis -i) from the command line in the 2.0 Framework directory.
Tell us then what happens.
Regards

Hi,
In IIS i right click on website and then goto ASP.NET where i changed the version from ASP.NET 2.0 to ASP.NET 1.1 and after that its giving me that error ...but if i changed to asp.net 2.0 then it working fine...but before installing asp.net 2.0 it was working fine with asp.net 1.1 what could be the reason?
Ashutosh

server application unavailable

hi all,

I have asp.net vs 1.0 and xp installed on my machine.i have created a page where i m executing the queries and binding the results to the datagrid.

It runs fine if the query doesnt take much time to execute..the results are displayed in the datagrid but if the query takes much time then i get a error "Server application unavailable".

I searched the internet also for this..i found a fix for this which is applicable to the vs 1.0 and windows xp but even after that the problem is same.

any help on this pls??

HI there,
Please check the following link
http://www.extremeexperts.com/Net/FAQ/ServerApplicationUnavailable.aspx
Hope this helps

Thanks i tried everything but the problem is the same ...so i thinking that i would uninstall the 1.0 framework and install 1.1 Want to know from u all that is that ok??

hi all,

I have tried that also.Actually i just made a test page in which i m executing the sql queries and then binding the results to a datagrid.

so when the resultset is small its works fine but when i m pulling data like over 30MB.It displays that server application unavlaible.When i view the event log it says

aspnet_wp.exe (PID: 1880) was recycled because memory consumption exceeded the 151 MB (60 percent of available RAM).

I have searched internet also for this but of no use.Is there any setting in the machine.config that i need to set.Any help on this pls??

Server Application Unavailable

I'm having a tough time with an asp.net application.

I'm running Win 2003 Server with IIS 6.0 and .Net 1.1 Framework.

Each time I try to access the app from a browser 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.
----------------------------
Here's a entry from this mornings log file. It refers to the page I'm trying to access.
----------------------------
2004-08-18 10:02:14 10.1.5.242 GET /ConcoWebAppX/SiteContacts.aspx SiteID=1268 80 - 10.1.5.242 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 500 0 0
----------------------------
I have security set to the local IUSR_MACHINENAME account from the root down, the Authenticated Access has been tried with both Integrated Windows Authentication and nothing checked.

The Execute Permissions under the Home Directory is set to scripts only.

I'm really at a loss.

Can anyone steer me in the right direction for an answer as well as a best practice?

Thanks.

Doug DexterDid you try removing all code from the page and re-running it to ensure that it is not a coding error (for example a never ending loop)?
The code runs in development, and has even run on this 2003 server and there are several .Net pages affected by this, not just the example I've shown.

So I'm certain it's a permission issue.

Thanks.
does it involve database ?
Yes.
This thing is driving me CRAZY...

It works on XP PRO...

But it REFUSES to run on Server 2003...

Hasn't SOMEONE had this problem?
FIXED.

In the web.config file set the following:


<authorization>
<allow users="*" /> <!-- Allow all users --
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>

John 3:16

dd

Server Application Unavailable

Hi get this 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.

but when i check the application event log and IIS log

there is nothing

do i need to have some option on for asp log the error?

if not what is causing the error?

Im running .net framework 1.1 on Windows 2000 and error happens on button postback but not all the time

just occasionally like 1 out of 30 times

is this you own designed application? Or a community start kit? It really sounds like your IIS keeps recycling. Is it possible you are changing out the files in the bin directory or writing to the web.config file?

I think try to stop and start the IIS.so that your problme may rectify.due to IIS problems some time you may get this error...or else you can try also for repairing IIS try to run following command.

regiis -i.

May help you.


ramana123:

I think try to stop and start the IIS.so that your problme may rectify.due to IIS problems some time you may get this error...or else you can try also for repairing IIS try to run following command.

regiis -i.

May help you.

I think you mean

aspnet_regiis -i

You can find this in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 or by opening up the SDK command prompt.


i made added to existing application

its is programmed in C#

i have added to the program before but never has seen this error


i added to existing application

its is programmed in C#

i have added to the program before but never has seen this error


i added to existing application

its is programmed in C#

i have added to the program before but never has seen this error


i tried using "aspnet_regiis -i " and i still get the problem

note: when i press refresh it works

its like postback event of the button is causing the error


I was play around with fp/vs express 2005 and application directories on my pc and got that error message.

1. In iis check the directory is an application directory?
2. Check the folder security look for "ASP.NET" MACHINE ACCOUNT (MYpc\aspnet) does it have the correct access?
2a. Any messages in the events?
3. Whats in your web.config (check security also)

May help


1. yes it is an application directory

2. it has the correct access

2a. no events in the event log

3. default settings in the web.config file

it does not happen everytime so i think its security


the error is caused when the asp or IIS is refreshing

so theres no way to get around it

server application unavailable

hi,
while browsing the asp.net application,i am getting server application unavailable error.in the application log the below msg is there

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.

plz give me suggestion to rectify the problemHi,

apparently the aspnet user account doesn't have enough privileges to access certain folders. When you type in the exact error in google then you get several hits on the error and how to solve them.

My first thing would be to just reinstall the .NET framework.

Grz, Kris.

Server Application Unavailable

I have made an .aspx file and I tried to access it throughhttp://localhost, when I type it in it brings up a page that saysServer ApplicationUnavailable. How can I access my .aspx files without this happening? I currently can't even access my .aspx files:( Please Help.Do you have ASP.NET installed and configured?
Baiju
Usually, that happens when your web server is recycling its worker process. And the most common reason for the process to restart is that you have an infinite loop in your code.
Try to start the application in debug mode from Visual Studio and look for a stack overflow exception. That should locate your loop pretty fast.
I tried a few things by uninstalling asp.net and then reinstalling it, now it shows my pages, but the asp.net script isn't showing, like it doesn't work but it is still showing it.:(

Server Application Unavailable

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.

Anyone? Tanks a lot

Possibly a dumb question sine this is obvious, but you didn't post anything about this:

Did you do as the error suggested and check the access permissions?

aspnet-regiis -i usually fixes this, though you may need to use the -ga parameter and the domain/account of the ASP.NET process account.

Jeff


Also take a look in the Event Viewer and see if there is anything else in there that can be causing the problem, but Jeff's suggestion should fix it.

Also, when using the aspnet_regiis with the grant access switch (/ga) use "ASPNET" for IIS 5.1 and below and "NETWORK SERVICE" for IIS 6.0 or 7.0.


Sorry for bumping an old thread, but I'm running into this problem too. I tried to follow vcsjones' instructions as so

C:\WINNT\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -ga "NETWORK SERVICE"
Start granting NETWORK SERVICE access to the IIS metabase and other directories used by ASP.NET.
Finished granting NETWORK SERVICE access to the IIS metabase and other directories used by ASP.NET.

But I still get the same error. Most of the solutions I find on the web are for the 1.0 framework, but event viewer says my source is 2.0.

The event description said to check the ACLs, and i have IIS_WPG and added NETWORK SERVICE to the security tab of the 2.0 framework but with no luck.

Any more suggestions?


I have tried to find out about this, and it is no where i can find a correct answer.

What I did was to delete the ASP.NET user from the local computer, and run the installation of the redist of .NET v 2.0 and select repair.

This did help me solv my problem.

// Grubler \\

Server Application Unavailable

I'm getting "Server Application Unavailable" on my windows 2k server machine. I ran aspnet_regiis -i and it did not help. Since that is all I know to do, I am stuck. Any ideas?Can you create a simple virtual web and put an html file into it?

Has IIS crashed?
It sometimes happens with me, make sure you don't have AN INFINITE LOOP, i had it once and and the problem was because of an infinite loop.
also, you might have a problem if you are printing on the screen using Response.Write(), if you are printing large amount of data, try to send them to a database or text file instead of printing them to the screen. Try them !!!! and report to me.
Have you ever managed to uncover any info regarding this problem? I'm having the same one. I ran aspnet_regiis -i and it restored functionality. However, on two other occasions it did not help. I'm currently under this black cloud. Thanks, Mike Schultz

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

Server Application Unavailable

Hi ,
I have the problem of same kind.
I developed a web application in visual stdudio .net 2003 and converted to visual studio .net 2005 beta version
My machine is with OS Win 2k3 std server.
And I have IIS 6.0 In my machine framework v1.1 as well as v2.0 is available
whenever I browse the page The Error displayed is like

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.

--------

In the Event Log I found the error as follows
Event Type: Error
Event Source: ASP.NET 2.0.50215.0
Event Category: None
Event ID: 1088
Date:
6/16/2005
Time:
2:13:49 PM
User: N/A
Computer :<cmname>
Description:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.

For more information, see Help andSupportCenter athttp://go.microsoft.com/fwlink/events.asp.

with warning as

Failed to initialize the AppDomain:/LM/W3SVC/1/Root/RunsManager

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.AppDomain.CreateInstance(String assemblyName, String typeName)

at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

For more information, see Help and Support Center at

I tried
Following fixes
1.execute the application in different pool
2.I installed from cmd aspnet_regiis /i
3.Also I checked with ACLs also
If any one help me...
Thanks in advance
Thilak

Just going to copy some text i posted on another forum, hope it helps:

One thing i never saw mentioned in running both versions at once was to seperate the application pools that the sites run in.... so i figured i'd pass it along on how to do so...
- Right click on "My Computer"
- Choose "Manage" then expand "Internet Information Services"
- Right click on "Application Pools" and choose "New / Application Pool"
- Give it a name like "2.0 Framework"
- Click "OK"
Now after the install of 2.0 framework, you are going to see a new tab "ASP.NET" when you right click and choose properties from one of your existing web applications... go to that tab and make sure that its mapped to 2.0 framework and not 1.1.... now choose the "Home Directory" tab and set the Application Pool to the new pool you just created... otherwise your app may throw very non-descriptive errors (more or less just "Service Unavailable")


It's a security issue. Check out this link to setup the ASP.NET user with the necessary rights:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT01.asp

Hi,

In the IIS, check the version of ASP.NET used for your application.

To do that, right click on the virtual directory - select properties and you will find the ASP.NET Tab in the properties Window.

Swtich to that tab and in the dropdownlist, select the 2.0 version. Click Ok 2 times to exit.

Write back if this doesnt solve your issue.

Thanks.


Hi,
Did your issue solve?
Thanks.

Server Application Unavailable

Hi ,

Recently for one of my asp.net application I am getting the 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.

I have found many solutions but they are not appropriate for me. ( like getting this error after installing security patch, problem due to asp.net 2.0 , application pools etc ).

One thing strange is all my other applications applications are working fine. For pages of one application only I am getting this error. Can anybody help me to solve this problem

Check the EventLog and let me know what the error there?

Usually this happens when you run two .NET versions in the same application pool.

Regards


Hismiling4ever ,

Thank you for your interest in helping me.

No entry has been added to event log.

I have read about this application pool issue, I have tried changing the application pool of this application to TestAppPool which I have newly created. That too doesn't solve my problem.

I have two applications say app1 and app2 , for app1 only I am getting this error and the second one runs fine.( both are asp.net 1.1 ).

Thanks & Regards

Rama Krishna


Check that if the website is running under .NET Framework 1.X. For this open IIS and right click on the website folder and select the properties. Click the ASPNET tab and check if the application is configured to use the .NET framework 1.X.

And then try again!

Hi azamsharp,

In the properties dialogbox I could not find any ASPNET tab. The different tabs available are Virtual Directory,Documents,Directory Security,HTTP Headers and Custom Errors.

Thanks & Regards

Rama Krishna


There must be a log in the event log. You have to find that.

Generate the error and go to see the log.


Hi Azamsharp,

I have generated the error and checked the event log. But no new error is being logged into the application section of the event viewer. I have also checked security section as well as system section of the event viewer.

Thanks & Regards

Rama Krishna


Hi Smiling4ever,

I have generated the error and checked the event log. But no new error is being logged into the application section of the event viewer. I have also checked security section as well as system section of the event viewer.

Thanks & Regards

Rama Krishna


Hi ,

I got it.

If we are giving the ASPNET and Network Service permissions for the web.config file it is working fine.

One doubt for me is the other applications which are running does not have these permissions on web.config and still they are running.

For this application too it used to run correctly , I dont know exactly what happened to it , it started giving server application unavailable.

If we give the ASPNET and Network Service Permissions on the web.config file , it started working fine. ( right click web.config file , choose properties , select security tab , add ASPNET and Netwok Service users )

Thanks for all the guys who responded for my post.

Thanks & Regards

Rama Krishna


That is great thenSmile

Looks like that you copied the files from other place and the windows missed the permissions during the copy process.

Anyway, Good Luck!

Regards

Server Application Unavailable

Hi all,
I'm getting a "Server Application Unavailable" error message when I runa query against my database which is in MS Access. Other pages arerunning fine. Also, the query runs for some particular combinations butfor other I get this error. I'm not sure why. And all this stratedhappening suddenly. Previously, it was running without problems and Ididn't even change the code. So why now?
the web server I'm using is Windows 2000 Server. The version of ASP.NET I have is 1.1.
I viewed the event log which describes a different error every time Irefresh the page. The errors are none of those that I found aftersearching on the net and msdn.
It seems I'm getting two error messages per refresh but they all seem to be different.
I have copied the event log below:
1)
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 5/12/2005
Time: 9:39:21 AM
User: N/A
Computer: (omitted)
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot befound. The local computer may not have the necessary registryinformation or message DLL files to display messages from a remotecomputer. The following information is part of the event: .NET Runtimeversion 1.1.4322.573- Setup Error: Failed to load resources fromresource file
Please check your Setup.

2)
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1008
Date: 5/12/2005
Time: 9:39:55 AM
User: N/A
Computer:
Description:
aspnet_wp.exe (PID: 3256) was recycled because it failed to respond to ping message.

3)
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 5/12/2005
Time: 9:51:46 AM
User: N/A
Computer:
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot befound. The local computer may not have the necessary registryinformation or message DLL files to display messages from a remotecomputer. The following information is part of the event: .NET Runtimeversion 1.1.4322.573- aspnet_wp.exe - Common Language Runtime DebuggingServices: Application has generated an exception that could not behandled.
Process id=0x1320 (4896), Thread id=0xbd0 (3024).
Click OK to terminate the application.
Click CANCEL to debug the application..

4)
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1000
Date: 5/12/2005
Time: 9:51:46 AM
User: N/A
Computer:
Description:
aspnet_wp.exe (PID: 4896) stopped unexpectedly.
I would really appreciate any help on this. Please help me.
Thanks in advance.
Usually, this happens when you have an infinite loop in your code. This seems to be confirmed by the problem only appearing for some parameters.

Server Application Unavailable

I am using IIS 5.1 with ASP.Net 1.1.4322. About once a month I get the error above when trying to open a web application. I used to fix this with fiuxup cmd, but that does not work anymore.

Here is the error in the application log:

Aspnet_wp.exe could not be launched because the username and/or password supplier in the processModel section of the config file are invalid.

I've never changed the config log. Here, I think, are the relevant entries:

processModel Attributes:
enable="[true|false]" - Enable processModel
userName="[user]" - Windows user to run the process as.
Special users: "SYSTEM": run as localsystem (high privilege admin) account.
"machine": run as low privilege user account named "ASPNET".
Other users: If domain is not specified, current machine name is assumed to be the domain name.
password="[AutoGenerate | password]" - Password of windows user. For special users (SYSTEM and machine), specify "AutoGenerate".
logLevel="[All|None|Errors]" - Event types logged to the event log

What is this error telling me? How can I fix it?

Many thanks
Mike Thomas

Take a look at:

http://support.microsoft.com/kb/315158/en-us

Jeff


Jeff,

Many thanks for your help - I am still going in circles on this one. The main thing I would like to learn is what changed with my computer, IIS, etc between yesterday and today. The processModel in my machine.config file was commented out yesterday, and everything worked fine. Today it is still commented out, but I get the error, so so much for the MSFT fix.

What mainly worries me is that there is some process going on behind the scenes which is creating changes I am unaware of. This app has been runnig for a couple of years now, but this problem comes up periodically.

It makes me very skittish about deploying MSFT flavor web apps - they seem to work one day then not the next.

At any rate, thanks for the pointer.
Mike Thomas

Server Application Unavailable

It's getting to be desperation time for me. I have an app which has been working for 2 years and suddenly I am getting the error above. I am using ASP.NET 1.1. I have data and programs locked up with this problem.

Is this error an alias for some other problem? The error is the same with friendly messages on or off.

The MSFT site says to edit the processModel section of machine.config, but that did not work. At any rate, yesterday when prog was working, processModel was commented out, as it still was today. I have never messed with ASPNET user account.

Both my web server computer and development computer have both ASP.NET 1.1 and Studio.Net 2003 installed, & both have developed this problem, almost at the same time. They are not connected via any network, though.

At any rate, I don't think the problem can be machine.config; it has not changed. Are there "correct" settings for the ASPNET user account? I've never set any password. Is there some default which can be changed? Any help would be greatly appreciated.

Many thanks
Mike Thomas

Take a look in the Event Log. The error should be logged there.

HTH,
Ryan