posts - 0, comments - 1573, trackbacks - 0

IIS - Event ID 1062 - Server Application Unavailable

Have you seen these messages before?

iisServerAppUnavailable

IIS1062 IIS1062-1

Basically what this means is that you are trying to run two different versions of the .NET framework in the same application pool (process)

The fix is very simple

All we have to do is create a new application pool and make sure that only one version of the .NET framework will run in each version.

How do we do that?

In the IIS Manager we expand the Server Name, and then select the Application Pools node.

IIS1062-3

Now right click and select New -> Application Pool

We will now create two application pools, one for .NET Framework 1.1 and one for .NET Framework 2.0 applications.

IIS1062-2

We can normally just select "use default settings for new Application Pool" and give it a name.

So we create the two application pools and they will then show up in the list as shown below.

IIS1062-4

Note: The only reason we named them .NET Framework 1.1 and .NET Framework 2.0 is so we can identify them.

We so now have to find our applications and set the correct application pool for each application.  Most often we will do this only at the Web Site level, but depending on your configuration of web applications you may need to do it for different web applications within the same web site.

There are two steps to this:

  • First - set the Application Pool to the correct AppPool
  • Second - make sure the correct version of ASP.NET is selected for the application

IIS1062-5

In the sample above we will want to use the .NET Framework 1.1 - so we select the.NET Framework 1.1 App Pool and next we will make sure that ASP.NET is set to 1.1

IIS1062-6

Now after these changes we would set the correct configuration for the other web site or web application.

Note: What we have done is make it easier for US to identify if we have the correct AppPool and ASP.NET versions setup but this does not mean you could still not assign the wrong ASP.NET version to the app pool.

Note: It is recommended that you now create an application pool for each web application and not re-use the same AppPools between different web applications

Print | posted on Wednesday, July 23, 2008 12:18 PM |

Feedback

Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

My friend, I had the same problem and I solved it like this. The problem is tha t after every IIS Restart, the asp.net setting is lost(it takes the asp.net setting of the default web site), and the pools crash again. Any ideas?
7/23/2008 8:32 PM | George
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

Basically all settings in IIS inherit from the parent. This will not happen if you actually force the setting for the asp.net version.

I assume you have seen that the version is correct for example asp.net 1.1

But then you change the root to work with asp.net 2.0

All of the sites that inherit the settings from the root will now inherit the new asp.net settings and this is the problem you are seeing.

In that case you would need to modify each sub site to be set to the required version of asp.net.
7/24/2008 8:02 AM | Chris Crowe
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

how do i registger on this site...to be able to add new topic
8/20/2008 1:56 AM | Viktor
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

recycling the IIS ONLY will solve this problem.
2/2/2009 1:53 PM | NEo
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

2 thumbs up!
8/23/2009 3:06 AM | Ryan
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

Thanks. It solved my problem.
10/23/2009 2:56 AM | Jason
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

thanks, this worked perfectly
12/2/2009 1:51 AM | Bart
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

Hi,
I have come across the same problem, but the reason is non of the above. I am using MySQL database which is the datasource for my asp.net application.I changed grant privilege for a particular user of database. After this step when tried to run the asp application from IIS I got 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."

Even I tried to use another user of database for which I did not make any changes in grants. But still the application do not work.

Any help for finding solution would be highly appreciable,
Regards,
Bipin
2/4/2010 4:38 AM | Bipin
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

restart defaultAppPool.
4/1/2010 1:30 AM | shine
Gravatar

# re: IIS - Event ID 1062 - Server Application Unavailable

Well done, worked like a charm, thankyouplease x
11/24/2010 4:30 AM | K

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 1 and 3 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET