Last post Dec 02, 2009 09:42 PM by miteshsura
Feb 01, 2007 08:30 PM|jose_jimenez|LINK
I wrote this post on my blog on how to resolve the generic Server Application Unavailable message we sometimes get as ASP.Net developers:
If you have ever received an error message on a .Net application that simply stated "Server Application Unavailable" you might find this useful.
When you receive this error, make sure to check the event viewer on the server. This is found under administrative tools. Under the application event log, you will likely find an error that states: "It is not possible to run two different versions of ASP.NET
in the same IIS process. Please use the IIS Administration tool to run the application in a separate process."
An application pool is a process that responds to web requests under IIS. An application pool does not have a setting for what type of ASP.Net applications will be run in it. Instead, it loads the appropriate libraries when an ASP.Net application is loaded
in the process. Because the libraries for ASP.Net 1.1 and ASP.Net 2.0 are similar, but not the same, the application pool cannot respond to requests for both types of applications at the same time. This can cause sporadic behaviour if you are using the server
at the same time as another developer and you have applications using different versions of the framework in the same application pool.
Make sure that on your server there is an application pool dedicated to ASP.Net 2.0 applications and one for ASP.Net 1.1 applications. When you add an ASP.Net application to the server, make sure you select the right application pool for it.
Application Pools Mixed environments
Feb 14, 2007 07:37 PM|Girijesh|LINK
I agree with your thought about Server Application Unable Message. and I thinks this will helps a lot to others.
Feb 19, 2007 07:46 AM|LEHayes|LINK
This sounds like a similar issue I am running into. When I build out my web ap in Web Dev 2005, I can see the the web app working fine, as the ASP.NET Development Server pops up and the the program shows up on the site with a port value. My problem is that
when I attempt to hit it directly as if from the internet, I get a generic error message that mentions about the web.config file, I recently made a change on the site properties to change from ASP 1.1 to 2.0 now it gives a message "Server
Application Unavailable" I follow the instructions according to info on the page and it talks about error 500 in the log file.
I looked in my IIS and I could not find a reference to "application pool". I have multiple sites running on this server (win2k, IE6SP1, assuming IIS5, SQL Express).
This is driving me nuts as I have web pages in the same folder that are not part of the ASP.NET (C#) application and I can view them fine from the browser, but the only way I can see my web app is through
the ASP.NET Development Server program using the port addressing it specifies.
Feb 19, 2007 07:48 AM|LEHayes|LINK
Feb 20, 2007 01:50 PM|jose_jimenez|LINK
You may be running a different version of IIS than I. Have you run the aspnet_regiis -s command on your directory from the framework directory?
Mar 22, 2007 03:45 PM|shadisland|LINK
It sounds like you haven't looked in your Event Viewer (instead of the log file). If you open Control Panel, Administrative Tools, Event Viewer (it's also in Computer Manager) you will see Application Errors that explain some details about the error you
are getting. In my case it was a folder permissions problem. I gave the ASPNET user access to my web folders and it worked.
Apr 01, 2007 07:16 AM|securesign|LINK
When you need to run a different version of the .NET Framework on a different Virtual Directories inside the site,or sites; you need to create a different Application Pool and assign for each Virtual Directory or each Site one of the Application Pools that
you have created. Then you can make each one of this Virtual Directory or/Site run on a different version of the .NET Framework.
for more information:
Versions of the .NET Framework and the IIS6 Application Pools
Server Application Unavailable
Apr 19, 2007 03:27 PM|kckriegs|LINK
LEHayes, Application pools are not available in IIS5/Win2k.
Your 2.0 app in Web Dev 2005 does not use IIS at all. Rather, it uses an ASP.NET Dev Server that ships with the IDE software. When you start the application in development, it uses this software and assigns a random port.
To prepare your application for deployment, try using the Build/Publish Web Site Interface in VS.NET 2005
The following threads might help you:
Web Dev Server: http://forums.asp.net/thread/1152915.aspx
VS.NET 2005 Compilation: http://forums.asp.net/thread/1148445.aspx
Apr 25, 2007 10:58 AM|slasi.net|LINK
this post was verry helpfull, thank you
here is a link how to create new application pools :
May 02, 2007 07:50 PM|kckriegs|LINK
May 10, 2007 12:27 PM|Azfar Khan|LINK
Aug 08, 2007 08:23 PM|BOA_DEV|LINK
this post saved me lots of time! thank you!
Aug 10, 2007 06:25 PM|Contributor|LINK
With this type of problem encountered in my system while browsing all
.aspx pages from web browser, specifically i checked the error from the event viewer console read as follow:
"Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied".
After a lot of research on how it's been solved in d past, i learnt that there is a local group user that is not associated to all the application folder called "IIS_WPG" in my wwwroot which i need to give "Read & Execute, Read " right permission. Well,
after checking my root folder "wwwroot", i find this under the security tab of the server's root but not associated to all the application folder in that root, then i clicked Adavnced button where i checked "Allow inheritable permissions from the parent ....".
Later I ensure i have this group applied specifically to my application folder under the security tab and give the same right and applied it to all folder underneath my application folder. After refreshing my IIS and re-browse the page, it shurely works.
I hope this solve a problem.
Server Application Unavailable
Aug 25, 2007 10:51 AM|GeckoTT|LINK
I also got this type of error. "Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied" in log and "Server Application Unavailable" Message on browser.
I'm using Window 2003 Enterprise Edition, VS 2005, IIS 6.0. I already change Application Pool to New one and using Administrator Account. But, I'm still got that error.
So, I try to solve as you said. I set permissions Advance "Allow inheritable permissions from the parent ...." to true. I'm afraid it can't solve in me. But, I didn't found "IIS_WPG" under wwwroot. It's ok if try to browse from source code. My problem is
that I can't browse site after Publish Web Site.
How can I continue now ? Please help me as soon as possible. Thanks in advance.
Aug 27, 2007 05:53 PM|jose_jimenez|LINK
did you check the event log of the server you published your site to?
Aug 28, 2007 06:40 AM|GeckoTT|LINK
I work on only one computer. Not 've different server. I can browse not publish, original source on IIS and after Publish I can't browse and got that error. Thanks for reply.
Thet Thet Aung
Aug 28, 2007 11:56 AM|naturehermit|LINK
Well I must say, this is a great post and could be kept as a reference material for all people trying to set up as I have been answering this type of questions. Good work guys.
Oct 04, 2007 05:53 PM|Raskolnikov|LINK
I had this error today on a new site that i created. Turns out i did not have the permissions set correctly on the folder of the web application. Anyway, that might be something else you want to check.
Nov 09, 2007 06:02 PM|csganesh|LINK
need to give permission for the virtual folder. give the permission as "everyone" and try it
May 12, 2008 12:59 PM|antonyvijayan|LINK
Check ASPUSER account. It should have administrator privillege. Also check ASPUSER account is locked or not.
My Computer Right Click ==>Click Manager ==> Local Users and Groups ==> Users==> right click ASPUSER
May 16, 2008 07:44 PM|rajendrasedhain|LINK
Thank you jose_jimenez .It helps me a lot.
May 30, 2008 07:43 PM|jose_jimenez|LINK
I'm glad it helped. Do you come to the UI Developer meetings? Email me a the UI.
Jun 06, 2008 09:56 PM|nickpir12|LINK
I'm pleased to announce the public availability of my IIS Metabase Analyzer which will help you locate and resolve this issue. It is available here:
Please let me know if you find it useful.
Sep 08, 2008 07:38 PM|nsuresh_rasr|LINK
Thanks a lot. Your solution solved my issue.
Sep 09, 2008 10:52 AM|anubha.saxena|LINK
Aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.
Then the most likely causes are:
Microsoft .NET Framework is no longer registered correctly.
The Microsoft Internet Information Server memory is corrupted.
The ASP.NET user no longer has access to the Microsoft .NET Framework folder, the application folder, or the Temporary Files folder.
You have recently applied a security patch to IIS.
Your system is a domain controller.
(Advanced) The processModel section of the Machine.config file does not specify AutoGenerate for the password.
Sep 09, 2008 12:41 PM|anubha.saxena|LINK
Our ASP.NET 2.0 website keeps giving us the error "Server Application Unavailable". When we look in the event log, the error is further explained:
"aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid."
There is another error that states:
"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."
We have been trying to launch a new version of the site, which has been upgraded to ASP.NET 2.0. The only configuration change we have made on the server (besides deleting the old website and uploading the new files) is to change the ASP.NET version option
on the ASP.NET of the website properties in IIS.
We are running IIS 6 on Windows Server 2003.
Jan 06, 2009 05:31 PM|benizi|LINK
I ran into this problem. Afterward, I had trouble with some .NET 1.1 apps not working, even though some others in the same ASP 1.1 pool were fine. For others to start working again, I needed to 'Recycle' the App Pool. (In IIS management console: right-click
the pool, choose 'Recycle'.)
Jan 27, 2009 06:50 AM|prabhatasp|LINK
I have same problem. i am publish my website and create a websetup. when i install my machine it works fine but when i install it my client machine i am getting a windows login screen. I have tried every thing like install and uninstall IIS, register iis and
create user permission, etc. but no luck. Please help me as soon as possible. Thanks in advance.
Server Application Unavailable Message
Jan 27, 2009 07:08 AM|antonyvijayan|LINK
Feb 13, 2009 09:11 AM|PRP Gupta|LINK
This is Raghavendra. I'm getting the above error while browsing the application.
I dont have two versions of .net(1.1 and 2.0). Only 2.0 framework is installed.
Then what is the solution to rectify this problem.I am not geeting the solution.
Mar 22, 2009 01:41 PM|rizwanahmed23|LINK
Thanks for great post
May 22, 2009 03:46 PM|pedlar|LINK
I am getting this error. When I check the event log I receive the prompt "asp.net_wp.exe (PID: XXX) stopped unexpectedly".
I receive this error when trying to import a C++ dll which accesses an object oriented database into a C++/CLR web service.
I am able to import an ordinary C++ dll into the C++/CLR web service (using the /clr switch) without a problem.
I hope someone will be able to suggest a possible solution.
Jul 23, 2009 04:09 AM|resti|LINK
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.
please help me on this.
Aug 28, 2009 03:22 PM|theunsie|LINK
My issue: I have classic ASP websites and ASP.net 2.0 websites running in the same IIS, and they weren't all set to use .net 2.0. This caused a periodic (more than twice a day) downtime of ASP.NET websites causing "Server Application Unavailable" error.
I checked the logs and ""It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration tool to run the application in a separate process.""
Hi, this answered my question completely. I have some legacy ASP websites that were running on .net 1.0 and some other ones running on .net 2.0. I had to switch them all to be .net 2.0 in IIS, to resolve this issue. It worked - thanks
Oct 16, 2009 04:35 PM|chandu_sanka|LINK
i developed one small website using asp.net1.1.Funtionality of the application is to fetch data from database and provide it in excel file to users.Data will be minimum 20000 to 30000 records.Frequently i am getting error as "Server Application Unavailable".If
i do iisreset then the application will start working.I had only one application running in that server.If found the below application log in event viewer
It has taken too long to refresh the W3SVC counters, the stale counters are being used instead. This is the second message within the past 12:00:00 (hours, minutes, seconds). No more stale counter messages will be logged for this client session until
the time limit expires.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://go.microsoft.com/fwlink?linkid=538.
Please suggest me what needs to be done.I cannot do iisreset every time.
Thanks in Advance
Dec 02, 2009 09:42 PM|miteshsura|LINK
have a look at this link, it has solution for each issue you see the error message: