<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx</link><description>Like any good technology, ASP.NET continues to evolve as new versions are released. But, like anything else, this brings with it a number of considerations. Microsoft has done a great job of allowing multiple versions of the framework to run side by side</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>ASP.NET tab in IIS, more dangerous than it first appears!</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#6466717</link><pubDate>Fri, 01 Aug 2008 15:42:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6466717</guid><dc:creator>Scott Forsyth's Blog</dc:creator><author>Scott Forsyth's Blog</author><description>&lt;p&gt;This blog post was a long time coming and fortunately doesn't apply to IIS7, but I thought I would finally&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6466717" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#3758765</link><pubDate>Thu, 06 Sep 2007 04:50:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3758765</guid><dc:creator>OWScott</dc:creator><author>OWScott</author><description>&lt;p&gt;Well, I'm a few months late replying to some of these, but I'll give a quick reply now for anyone that happens to be reading the thread and comments. &amp;nbsp;Thanks to everyone that already answered some of the questions.&lt;/p&gt;
&lt;p&gt;David: It's the -s command that you're looking for: aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1. &amp;nbsp;The 1 needs to be replaced with the siteID. &amp;nbsp;The /SampleApp1 can be left off if you're setting the framework version for the whole site. &amp;nbsp;You can also do the same using the ASPNET tab, but understand that either aspnet_regiis and the ASPNET tab will cause appdomain recycles for the entire server! &amp;nbsp;So don't run this during prime time on a production box. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;That leads to my second comment, Monty I still need to write my blog post on the ASPNET tab. &amp;nbsp;I obviously didn't hit my deadline for that. &amp;nbsp;I'm trying to decide if I should clean up an internal script and make it public. &amp;nbsp;I'll be sure to get to this fairly soon.&lt;/p&gt;
&lt;p&gt;Rob, I'm pretty sure that a v1.1 site can't run a v2.0 app that's in the GAC. &amp;nbsp;You'll probably need to upgrade your app to v2.0 for it to work. &amp;nbsp;The vast majority of v1.1 sites will run under v2.0 without any changes though, so give that a try and see if an upgrade works for you. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ajay Goel, I'm sure they can if they really tried, but the work to get multiple versions of the framework to load within the same worker process and play nice together is extensive. &amp;nbsp;It's probably cleaner all around to do it this way. &amp;nbsp;IIS 7 is cleaner yet. &amp;nbsp;You set the framework version at the app pool level rather than the application level, so it ensures that you'll never mess this up.&lt;/p&gt;
&lt;p&gt;Surya Prakash, your error isn't caused by the framework mismatch, it's something else. &amp;nbsp;A 403 error can be from a large number of things, for example no default doc or not execute permission granted on the folder. &amp;nbsp;I suspect you've solved this months ago so I won't go into detail on this one now.&lt;/p&gt;
&lt;p&gt;Tal, my best guess on yours is that you're using a different type of bit encryption level, or maybe a browser setting is not allowing you to view the page unless the domain name matches the cert, or some images or referenced objects in your page are referencing http:// without the https.&lt;/p&gt;
&lt;p&gt;Adb, a common cause for a 404 error is if you are using a different file extension that isn't set as a valid MIME type of a file extension. &amp;nbsp;IIS6 will throw a 404 for that. &amp;nbsp;As a test, rename the file to a common extension like aspx and see if it works. &amp;nbsp;Or, the more obvious error is that the file doesn't exist. &amp;nbsp;:)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3758765" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#3382391</link><pubDate>Fri, 03 Aug 2007 13:19:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3382391</guid><dc:creator>adb</dc:creator><author>adb</author><description>&lt;p&gt;folks,&lt;/p&gt;
&lt;p&gt;this is urgent&lt;/p&gt;
&lt;p&gt;after doing all of this if try to browse to the url i get 404 resource not found.&lt;/p&gt;
&lt;p&gt;what i am missing&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3382391" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#3059020</link><pubDate>Sun, 08 Jul 2007 09:24:50 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3059020</guid><dc:creator>Anas Bahsas</dc:creator><author>Anas Bahsas</author><description>&lt;p&gt;thanks scott I have solved my problem , my home directory using 1.1 and childs using 2.0 , but I have added new application pool for 2.0 vdir&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3059020" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2697321</link><pubDate>Thu, 31 May 2007 10:28:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2697321</guid><dc:creator>Monty</dc:creator><author>Monty</author><description>&lt;p&gt;Very concise instructions to set up a separate App Pool are here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.irishdev.com/blogs/jbrennan/archive/2005/10/27/1027.aspx"&gt;www.irishdev.com/.../1027.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2697321" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2697080</link><pubDate>Thu, 31 May 2007 09:57:58 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2697080</guid><dc:creator>Monty</dc:creator><author>Monty</author><description>&lt;p&gt;&amp;gt; I'll cover the different ways to move between&lt;/p&gt;
&lt;p&gt;&amp;gt; different versions of the framework in another&lt;/p&gt;
&lt;p&gt;&amp;gt; blog within the next few days&lt;/p&gt;
&lt;p&gt;Cool, can't wait! &amp;nbsp;;-)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2697080" width="1" height="1"&gt;</description></item><item><title>re: HTTP Error 403</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2588770</link><pubDate>Mon, 14 May 2007 14:00:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2588770</guid><dc:creator>Tal</dc:creator><author>Tal</author><description>&lt;p&gt;Hi ,I am having a very strange problem.I am running the default site in my company domain and everything working good. but when i'm tried to running the same site without the domain i'm received the following Error:&lt;/p&gt;
&lt;p&gt;&amp;quot;HTTP Error 403 - Forbidden because SSL use is required&amp;quot;&lt;/p&gt;
&lt;p&gt;Can any body suggest me what to do here.&lt;/p&gt;
&lt;p&gt;I'm typing &amp;quot;https://&amp;quot; at the beginning of the address.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Tal&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2588770" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2575240</link><pubDate>Sun, 13 May 2007 11:26:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2575240</guid><dc:creator>phoenix</dc:creator><author>phoenix</author><description>&lt;p&gt;I try to configure this website (quocanhiec.com.vn) but is still have this problem.&lt;/p&gt;
&lt;p&gt;Please tell me how to create a new application pool and move the site to that pool. I have read this article &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/ms998297.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms998297.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;from MSDN and do like the guide but it still not work.&lt;/p&gt;
&lt;p&gt;Plz.. help me! Thank&lt;/p&gt;
&lt;p&gt;My email : ngock2c@yahoo.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2575240" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2516195</link><pubDate>Mon, 07 May 2007 17:14:54 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2516195</guid><dc:creator>Bjorn Tipling</dc:creator><author>Bjorn Tipling</author><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This article helped me! Thanks. The screenshots of the task manager were really helpful. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2516195" width="1" height="1"&gt;</description></item><item><title>re: Running multiple versions of the Framework in ASP.NET</title><link>http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx#2482783</link><pubDate>Wed, 02 May 2007 22:17:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2482783</guid><dc:creator>BThomas</dc:creator><author>BThomas</author><description>&lt;p&gt;Thanks for this post. It is a life saver. I've searched and searched for an answer to this problem and this is the only one that makes sense and the one that worked. &lt;/p&gt;
&lt;p&gt;The only thing I would suggest is adding a short instructional on how to add an application pool. I tell ya, ASP.Net is great but it sure doesn't come without road bumps.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2482783" width="1" height="1"&gt;</description></item></channel></rss>