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.