Solutions to ServerApplicationUnavailable problems in ASP. NET Applications

Source: Internet
Author: User

The company servers include. the NET2 application is running, and I used it. NET4 platform development, the local test is normal, throwing the server to find that either my new platform is not good, or. the old NET2 platform is poor, and it does not help restart IIS services or WWW services.

When I realized that the two platforms were in conflict, I recalled that I didn't use any conflicting components or functions, so I guess it may be a version conflict between. NET2 and. NET4.

Error message:

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 found it on the internet because I put the. NET2 and. NET4 applications to the default application pool DefaultAppPool.

By default, a new virtual directory is created on the default website set by IIS, and the application is automatically allocated to the default application pool defaappapppool. NET, of course, will cause a conflict. Therefore, you must create an application pool for different versions of applications to avoid conflicts, such:

Here I have created two pools for AppPoolfZ merge? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> keys =" http://www.2cto.com/uploadfile/Collfiles/20140430/2014043013045652.bmp "alt =" \ ">

Then specify the application pool in the application,

After setting, you can see the configured application in the application pool,

In this way, version conflicts will no longer occur. by solving the problems, I have learned new things and hope to help my friends who need them make progress together.

Related Article

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.