Solve the ASP. Net2.0 and 1.1 I can't parallel parallel with the same computer

xiaoxiao2021-04-01  231

Server Application Unavailable error Solution: 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. after to me for help, carefully read the IIS help files, only to find, It turns out that this error is caused by IIS6 application isolation mechanism. IIS default application isolation mechanism is called: "Work Process Isolation Mode", in this mode, the application is divided into multiple groups, each group is an "application pool", between each application pool Mutually isolated. The advantage of isolation is of course safe, stable, and so on. Each application pool in IIS is managed by a "working process", which is "w3wp.exe". If there are multiple applications in multiple application pools, we can see multiple w3wp.exe. We usually create a virtual directory by default, in "defaultApppool" in IIS6, so in the default, no matter how many ASP.NET programs you have, you can only see a W3WP in "Windows Task Manager". EXE process. The reason for the above error is: .NET Framework 2.0 program and .NET Framework1.1 (or 1.0) programs are placed in the same application pool (by default), which is the same work process : w3wp.exe is managed, while a single working process is unable to manage different programs (or different versions of programs). If you first access the page of the .NET Framework 1.1, the work process is loaded and manages the 1.1 version of the assembly. At this time, the server application unavailable error is coming out. Conversely, if the W3WP.exe in the default application pool has not yet started to visit the 2.0 web program (at this point, the application set has been loaded with the .NET Framework2.0 web assembly), then access 1.1 or 1.0 web program The "server application is unavailable" is the same. (You can end the previous W3WP.exe test.) My friend did not appear on my own development machine because he only visited this 2.0 web when developing the .NET Framework 2.0 project. The program has not accessed other web programs with this. There is already 1.0 projects on a friend's server and have been used. This error has never been encountered before today, in fact, most people have only access to projects that are being developed when developing a project. It is very likely that this problem is ignored, but when it is released, there is an error, and it is busy.

转载请注明原文地址:https://www.9cbs.com/read-131209.html

New Post(0)