<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.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/" xmlns:cs="http://blogs.iis.net/"><channel><title>ASP.NET Administration</title><link>http://forums.iis.net/1038.aspx</link><description>A forum discussion around administering, configuring, and limited usage on ASP.NET 1.x, 2.x</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1878415.aspx</link><pubDate>Thu, 04 Sep 2008 11:23:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878415</guid><dc:creator>janebush08</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878415.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1878415</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ya.. it is different than what it actually seems...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1711941.aspx</link><pubDate>Wed, 16 May 2007 21:00:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1711941</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1711941.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1711941</wfw:commentRss><description>&lt;p&gt;Good deal.&amp;nbsp; I&amp;#39;m not sure what the reasoning behind the restart is.&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1709833.aspx</link><pubDate>Tue, 15 May 2007 10:45:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1709833</guid><dc:creator>IainH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1709833.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1709833</wfw:commentRss><description>&lt;p&gt;Cheers Steve.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;That led me to find the -norestart switch on the aspnet_regiis command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Seems the default behaviour of the ASP.NET tab is to execute the aspnet_regiis command to switch .NET versions without the -norestart switch.&amp;nbsp; This causes the w3 service to do a complete restart bringing down all the sites temporarily.&amp;nbsp; Seems odd default behaviour.... anyone know why M&amp;#39;Soft does this?&amp;nbsp; Is there a good reason to restart W3 as default when switching the version of one site?&lt;/p&gt;</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1704879.aspx</link><pubDate>Fri, 11 May 2007 01:13:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1704879</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1704879.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1704879</wfw:commentRss><description>&lt;STRONG&gt;&lt;FONT style="BACKGROUND-COLOR:#ffff66;"&gt;aspnet_regiis&lt;/FONT&gt;&lt;/STRONG&gt; -sn &lt;B style="COLOR:black;BACKGROUND-COLOR:#a0ffff;"&gt;w3svc&lt;/B&gt; look at using the command in the appropriate .NET version folder.&amp;nbsp; C:\windows\microsoft.net\framework\v2.0*&amp;nbsp; Make sure you test on a non-production box and such.&amp;nbsp; Backups, test, test, test!</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1703911.aspx</link><pubDate>Thu, 10 May 2007 13:41:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1703911</guid><dc:creator>IainH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1703911.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1703911</wfw:commentRss><description>&lt;P&gt;Sadly the default web site is set up to work on the 1.1 framework so I'm stuck with that set up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I thought maybe this was an issue with my particular web server but I've managed to replicate it on 2 other Win2003s.&amp;nbsp; Seems to be very odd behaviour for a web server to go down like that without warning.&amp;nbsp; Maybe I'm doing something wrong?!?&lt;/P&gt;</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1703809.aspx</link><pubDate>Thu, 10 May 2007 12:42:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1703809</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1703809.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1703809</wfw:commentRss><description>Can you set the root of the site to be 2.0?&amp;nbsp; That should then have all new sites start as 2.0.</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1703429.aspx</link><pubDate>Thu, 10 May 2007 07:37:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1703429</guid><dc:creator>IainH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1703429.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1703429</wfw:commentRss><description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;Don't think this is to do with the application pool.&amp;nbsp; Heres the sequence of events.&amp;nbsp; I have 2 application pools - the default and one specifically for ASP2 sites.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I create the new web site which defaults to NET 1.1 and the default application pool - the folder the site is pointed to is empty.&lt;/P&gt;
&lt;P&gt;Switch the application pool from the default to ASP2 pool hit apply - no problems - all sites are&amp;nbsp; still viewable.&lt;/P&gt;
&lt;P&gt;Go into ASP.NET tab and switch version from 1.1 to 2.0 hit apply - loss of service - all web sites are displaying "Service Unavailable" for a time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Seems its not the application pool but the switching of the version which is causing the issue.&amp;nbsp; This usually wouldn't be an issue&amp;nbsp;but its a very busy web server and some customers are noticing the downtime especially with the sites which don't come back up after the service restarts.&lt;/P&gt;</description></item><item><title>Re: Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1702822.aspx</link><pubDate>Wed, 09 May 2007 20:44:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1702822</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1702822.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1702822</wfw:commentRss><description>Since 1.1 and 2.0 sites can't use the same application pool, are you also assigning a new app pool when you switch it to 2.0?</description></item><item><title>Service restart when switching ASP.Net versions</title><link>http://forums.iis.net/thread/1702165.aspx</link><pubDate>Wed, 09 May 2007 13:55:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1702165</guid><dc:creator>IainH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1702165.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1702165</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Hi All,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I have an IIS server 6 on a win 2000 machine on which is installed both .NET 1.1 &amp;amp; 2.0 and every time I create a web site it defaults the site to 1.1.&amp;nbsp; This would be fine but I’ve noticed that when I go to switch the version of the site to 2.0 in MMC in the ASP.NET tab the entire W3 service does a restart bringing down every site we have on the server.&amp;nbsp; There are a large number of sites on the server and it can take up to 20 seconds for the service to recycle and for some reason not every site comes back up (leaving a Service Unavailable message) and it takes someone to go and manually restart the web site before it can. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;So I was just wandering whether anyone else had noticed this?&amp;nbsp; Is there a way to get all new web sites to default to 2.0 rather than 1.1 and if not is there a way to swap the site from 1.1 to 2.0 without the service restart.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Iain&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description></item></channel></rss>