Server Application Unavailable ...

Source: Internet
Author: User
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 is found in the application Event log of the Web server. Please review this log entry to discover what caused this error to occur.

The original error was caused by the IIS6 application isolation mechanism. The IIS default application isolation mechanism is called "worker process isolation mode", in which the application is divided into groups, each group is an "application pool", and each application pool is isolated from each other. The benefits of isolation are, of course, safe, stable, and so on. Each application pool in IIS is managed separately by a "worker process", i.e. "W3wp.exe". If you have programs running in multiple application pools, we can see multiple w3wp.exe. Our new virtual directories are all by default directed to IIS6 's "DefaultAppPool", so by default, no matter how many asp.net programs you run, you can see only one w3wp.exe process in Windows Task Manager.

The reason for this error is that the. NET Framework 2.0 program is placed in the same application pool as the. NET Framework1.1 (or 1.0) program (by default into the DefaultAppPool pool), that is, by the same worker process: W3wp.exe is managed, and a single worker process cannot manage different programs (or different versions of programs) at the same time. If you first access a page of the. NET Framework 1.1, the worker process loads and manages the 1.1 version of the assembly, and then accesses the Web Program page of the. NET Framework 2.0, and the Server application unavailable error comes out. Conversely, if you access the Web program for 2.0 before the w3wp.exe of the default application pool has been started (when the application set has already loaded the. NET framework2.0 Web assembly), and then access the 1.1 or 1.0 Web Program page, the same will also occur. "The server application is not available" such as Chinese prompts. (You can end up with the previous w3wp.exe for testing.) )

Solution:

1. Create a new application pool in IIS, iis->application pools->create new AppPoolFramework1.1

2. Then select your virtual directory based on. NET framework2.0, click "Properties"-"Select the application pool you just created in the application pool and tap OK." Iis->web sites->your sites->right Click->properties->directory (Tab Page)->application Pool-> AppPoolFramework1.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.