Aug
6
Written by:
MattHunt
8/6/2008 12:19 PM
When running multiple versions of ASP.NET web applications, i.e. Dot Net Framework Versions v2.0.50727 and v1.1.4322, you may receive that following error, when trying to view whichever site was launched after a site using a different version has been launched.
IIS cannot share the same Application Pool Between versions of .Net. The resolution to this issue is resolved by adding a secondary Application Pool and set each version to use separate pools as follows... Using Internet Information Services (IIS) Manager:
- Expand the tree and right click on Application Pools selecting New > Application Pool…
- Enter and ID for the new pool and click OK for my purposes I create one called ASPDOTNET2 obviously to use for ASP.NET v2.0.50727 sites.
- After creating the new pool apply it to all sites running ASP.NET v2.0.50727, you can see and or change the ASP.NET version by clicking on the ASP.NET Tab in each sites Properties Dialog. You apply the App Pool via the Home Directory Tab, and on the bottom there is an Application Pool drop down list, your new Pool should now be available. You should not need to restart anything, just refresh your error page and Tada!
www.SolsticeNext.com
Copyright ©2008 Computer Enhancement Professionals
Tags: