<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://v900u039rux.maximumasp.com/Web/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>hB0 : ASP.NET</title><link>http://v900u039rux.maximumasp.com/Web/blogs/hb0/archive/tags/ASP.NET/default.aspx</link><description>Tags: ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Running multiple versions of the Framework in ASP.NET</title><link>http://v900u039rux.maximumasp.com/Web/blogs/hb0/archive/2007/10/20/running-multiple-versions-of-the-framework-in-asp-net.aspx</link><pubDate>Sat, 20 Oct 2007 09:36:00 GMT</pubDate><guid isPermaLink="false">3790bee0-d05b-4b84-a272-3ed522a0473a:81</guid><dc:creator>hB0</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://v900u039rux.maximumasp.com/Web/blogs/hb0/rsscomments.aspx?PostID=81</wfw:commentRss><comments>http://v900u039rux.maximumasp.com/Web/blogs/hb0/archive/2007/10/20/running-multiple-versions-of-the-framework-in-asp-net.aspx#comments</comments><description>&lt;p&gt;Like any good technology, ASP.NET continues to evolve as new versions are released.&lt;br /&gt;But, like anything else, this brings with it a number of considerations.&lt;br /&gt;Microsoft has done a great job of allowing multiple versions of the framework to run side by side.&lt;br /&gt;Version v1.0, v1.1 and v2.0 can all run together at the same time on the same server.&lt;br /&gt;There are a couple catches to consider with running multiple versions of the framework side by side.&lt;br /&gt;&lt;br /&gt;Worker Process is the one that hosts a particular framework version. There is one per version of the framework. (v1.0, v1.1 and v2.0).&lt;br /&gt;If a process for a particular version of the framework doesn&amp;#39;t exist, as soon as it&amp;#39;s needed, a new process will be spun up.&lt;br /&gt;This allows multiple versions of the framework to live beside each other in IIS.&lt;br /&gt;aspnet_wp.exe is the worker process with IIS 5, w3wp.exe is the worker process with IIS 6.&lt;br /&gt;IIS 6 was an impressive upgrade that brought with it some new concepts. One key new concept is Application Pools.&lt;br /&gt;A system administrator is able to create groups of sites and place each site in its own group.&lt;br /&gt;Whenever a site needs to run, a w3wp.exe process will start for its application pool if it hasn&amp;#39;t already started.&lt;br /&gt;This brings with it a number of welcome security, performance and management advantages.&lt;br /&gt;You are now able to specify your own Identity User which can be unique per Application Pool.&lt;br /&gt;With IIS 6 there is one problem:&lt;br /&gt;&lt;b&gt;You cannot run more than one version of the framework in the same application pool in IIS 6.&lt;/b&gt;&lt;br /&gt;While multiple versions of the framework can co-exist on the same server, they can&amp;#39;t co-exist in the same process.&lt;br /&gt;If you attempt to run multiple versions of the framework at the same time in the same process, the 2nd version that tries to run will fail with the following error:&lt;br /&gt;&lt;b&gt;Server Application Unavailable&lt;/b&gt;&lt;br /&gt;The web application you are attempting to access on this web server is currently unavailable.&amp;nbsp; Please hit the &amp;quot;Refresh&amp;quot; button in your web browser to retry your request.&lt;br /&gt;You will also receive Event ID 1062 in Event Viewer that says:&lt;br /&gt;&amp;quot;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.&amp;quot;&lt;br /&gt;&lt;b&gt;What to do&lt;/b&gt;&lt;br /&gt;Fortunately, the solution is very easy.&lt;br /&gt;Simply create a new application pool and move the site that you will be upgrading to that pool.&lt;br /&gt;So basically you can group all the sites to a different application pool which is all specific to framework version and windows user credential.&lt;/p&gt;&lt;p&gt;Ref: &lt;a href="http://www.digcode.com/default.aspx?page=ed51cde3-d979-4daf-afae-fa6192562ea9&amp;amp;article=84582435-172d-415b-a46d-ea0583c83c26" title="Understanding Application Pooling in IIS 6.0" target="_blank"&gt;Understanding Application Pooling in IIS 6.0&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://v900u039rux.maximumasp.com/Web/aggbug.aspx?PostID=81" width="1" height="1"&gt;</description><category domain="http://v900u039rux.maximumasp.com/Web/blogs/hb0/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item></channel></rss>