Question:
With the release of .net 2.0, we are faced with the task of migrating from ASP .NET 1.1 to ASP .NET 2.0. In the process, we will encounter many problems of two versions of websites coexisting on one server.
On IIS 5, everything seems to be working fine (haven't looked into it specifically). However, due to the introduction of the concept of Application Pool on IIS 6, there will be some problems. When we apply the same Application Pool to two different .net versions of the website, the following application log error will appear (here ASP.NET 2.0 is the English version and ASP.NET 1.1 is the Chinese version):
Event type: Error Event source: ASP.NET 2.0.50727.0
Event Type: None Event ID: 1062
Date: 2006-1-5
Event: 10:04:15
User: N/A
Computer: xxxxxxxxxx
describe:
It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.
For more information, see http:// Help and Support Center at go.microsoft.com/fwlink/events.asp .
Event Type: Error Event Source: ASP.NET 1.1.4322.0
Event Type: None Event ID: 1062
Date: 2006-1-5
Event: 10:35:47
User: N/A
Computer: xxxxxxxx
describe:
It is not possible to run two different ASP.NET versions in the same IIS process. Please use the IIS management tools to reconfigure the server to run the application in a separate process.
For more information, see the Help and Support Center at http://go.microsoft.com/fwlink/events.asp .
Solution:
Use different Application Pools for different versions of the site (including the virtual directory, because it also uses the Application Pool). It's that simple.