Solved

Server Application Unavailable errors for ASP.NET application, recycle default application pool required

Posted on 2009-07-07
8
475 Views
Last Modified: 2012-05-07
Running IIS 6.0. I have 100+ websites on the server, but only a few use any ASP.NET, but in the past few weeks something seems to be crashing. I get this error when trying to load a page that uses ASP.NET:

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 no idea how to diagnose this. My solution has been to go into the application pools, and I have to select "recycle" on the default application pool, which is what they all use. That immediately fixes the problem, but it seems to be happening more and more often. I'm hoping someone can help me figure out what's going on. I don't program in ASP.NET myself, just have a few installed apps that use it. I will provide any other info, logs, etc., that might be needed. Thanks!
0
Comment
Question by:bbdesign
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 9

Assisted Solution

by:sevensnake77
sevensnake77 earned 100 total points
ID: 24797485
Are you targeting the correct frameworks.  If so what frame works are you using, 1.1, 2.0 3.5
 
0
 

Author Comment

by:bbdesign
ID: 24797566
I went into IIS, to the sites that have been having problems recently, selected the ASP.NET tab, and I see they all are either 1.1.4322 or 2.0.50727
Is that what you wanted to know?
0
 
LVL 26

Expert Comment

by:Shaun Kline
ID: 24797826
One of the possible issues related to sevensnake77's comment is that the application pools for the different framework version must also be different. Hence if you have an ASP.Net 2.0 framework application and a ASP.Net 1.1 framework application running on the same IIS server, you will need two separate Application Pools, one for each version. (Multiple applications with the same framework version can use the same application pool.)
0
 
LVL 9

Expert Comment

by:sevensnake77
ID: 24797865
Yes, You must select in which you are compiling the asp.net script.
 
Question, do you receive this error with a blank asp.net page.  (( .asp ))
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:bbdesign
ID: 24798030
OK, so when I create these separate application pools, do I have to include any specific settings there telling the pool what ASP.NET version to use? Or is just the fact of separating my websites by ASP.NET version enough to fix it, alongside making sure the ASP.NET tab in the IIS site matches the pool?

Also, how can I know for sure what framework a given ASP.NET application is programmed in? Because I didn't create them myself.

Sounds like something that could be causing the errors I described? They do work most of the time, even the way they are now, but perhaps causing the occasional crash?

Thanks!
0
 
LVL 22

Assisted Solution

by:prairiedog
prairiedog earned 100 total points
ID: 24798480
@bbdesign:
The error message already told you where to check: Event viewer of the web server. Check the event log to see if there is any detailed information about the error.
0
 
LVL 26

Accepted Solution

by:
Shaun Kline earned 300 total points
ID: 24798487
You do not have to do anything specific when setting up the application pools. I would suggest giving them names that distinguish which version you are targeting them, maybe by just adding the version to the end (v2.0, v1.1, v1.0). As you stated, it should be enough just separating your websites by version number and matching it to the correct application pool.

I am unaware of any method to determine the version of ASP.Net that an application should use (other than knowing what to look for in the web.config files of your application or trial and error). If the applications are running correctly some of the time, then the current version setting should be correct.
0
 

Author Comment

by:bbdesign
ID: 24798809
Thanks guys, that seems to have fixed it. You're right, the app event log did show the same error/problem. The sites that run ASP.NET seem to be running faster than before, too, so this was probably an ongoing problem that is hopefully permanently fixed. Thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now