<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>Won Yoo&amp;#39;s Blog : vista SP2</title><link>http://blogs.iis.net/wonyoo/archive/tags/vista+SP2/default.aspx</link><description>Tags: vista SP2</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Workaround: Running ASP.NET 1.1 on Vista SP2/WS08 SP2</title><link>http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx</link><pubDate>Thu, 18 Jun 2009 22:01:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3243800</guid><dc:creator>wonyoo</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/wonyoo/rsscomments.aspx?PostID=3243800</wfw:commentRss><comments>http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Many of you have probably read the article on how to install ASP.NET 1.1 on IIS7 on Vista and WS08 (The article can be found at &lt;A href="http://learn.iis.net/page.aspx/472/how-to-install-aspnet-11-with-iis7-on-vista-and-windows-2008/" mce_href="http://learn.iis.net/page.aspx/472/how-to-install-aspnet-11-with-iis7-on-vista-and-windows-2008/"&gt;http://learn.iis.net/page.aspx/472/how-to-install-aspnet-11-with-iis7-on-vista-and-windows-2008/&lt;/A&gt;).&lt;/P&gt;
&lt;P mce_keep="true"&gt;While above works great on Vista/Vista SP1/WS08 RTM, if you try to run ASP.NET 1.1 on &lt;STRONG&gt;Vista SP2/WS08 SP2&lt;/STRONG&gt;, you&amp;nbsp;may have experienced the following error if you are on a &lt;STRONG&gt;64-bit OS&lt;/STRONG&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;There was an error while performing this operation.&lt;/P&gt;
&lt;P&gt;Details:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Filename:&lt;BR&gt;\\?\C:\Windows\system32\inetsrv\config\applicationHost.config&lt;BR&gt;Error:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;U&gt;Here is the problem.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;In order to support .NET 4.0 Framework, IIS team has released a hotfix (&lt;A href="http://support.microsoft.com/kb/958854" mce_href="http://support.microsoft.com/kb/958854"&gt;http://support.microsoft.com/kb/958854&lt;/A&gt;) which is also included in SP2.&amp;nbsp; At the root of the problem is that this hotfix allows the IIS runtime to read the correct version of .NET Framework configuration based on the .NET Framework version that is associated with the application pool.&amp;nbsp; For example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;.NET Framework version 1.1: the config location is %windir%\Microsoft.NET\Framework\v1.1.4322\CONFIG&lt;/LI&gt;
&lt;LI&gt;.NET Framework version 2.0: the config location is %windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG&lt;/LI&gt;
&lt;LI&gt;.NET Framework version 4.0: the config location is %windir%\Microsoft.NET\Framework\v4.0.nnnnn\CONFIG&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;The problem is that when the runtime tries to load the corresponding configuration, it doesn't take the bitness of the application pool into the consideration.&amp;nbsp; As you know, ASP.NET 1.1 is only supported on 32-bit.&amp;nbsp; So if you have a 64-bit OS, in order to run ASP.NET 1.1, you have to enable 32-bit applications in the application pool.&amp;nbsp; So, with the QFE/SP2 on 64-bit OS (and only on 64-bit OS), the runtime is incorrectly looking for the 1.1 version of the configuration under Framework64, which does not exist.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Workaround:&lt;/U&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Create the Framework64 directory for 1.1&lt;/STRONG&gt;&lt;BR&gt;md \windows\microsoft.net\framework64\v1.1.4322\config\&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Copy the 32bit config to 64bit config location created in step 1.&lt;/STRONG&gt;&lt;BR&gt;copy \windows\microsoft.net\framework\v1.1.4322\config\machine.config \windows\microsoft.net\framework64\v1.1.4322\config\&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In the spirit of full disclosure, without the hotfix/SP2, the behavior was still incorrect on Vista/Vista SP1/WS08 RTM in that the runtime was alreays reading the 2.0 configuration&amp;nbsp;although the application pool is configured to use .NET 1.1.&amp;nbsp; (Because the runtime was&amp;nbsp;always reading the 2.0 config regardless of the&amp;nbsp;.NET Framework version that is associated with the application pool.&amp;nbsp; This was the bug that hotfix/SP2 tried to address as&amp;nbsp;part of supporting .NET 4.0, but it didn't quite consider the fact that ASP.NET 1.1 is only available in 32-bit.)&amp;nbsp; This bug in Vista/Vista SP1/WS08 RTM may not have been too obvious to those running ASP.NET 1.1 on 64-bit Vista/Vista SP1/WS08 RTM unless you have significant/specific settings/differences between 1.1 and 2.0 configurations.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3243800" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/wonyoo/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/wonyoo/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/wonyoo/archive/tags/vista+SP2/default.aspx">vista SP2</category></item><item><title>Hotfix and Security Update List: Windows Server 2008 SP2 and Windows Vista SP2</title><link>http://blogs.iis.net/wonyoo/archive/2009/06/18/hotfix-and-security-update-list-windows-server-2008-sp2-and-windows-vista-sp2.aspx</link><pubDate>Thu, 18 Jun 2009 21:35:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3243683</guid><dc:creator>wonyoo</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/wonyoo/rsscomments.aspx?PostID=3243683</wfw:commentRss><comments>http://blogs.iis.net/wonyoo/archive/2009/06/18/hotfix-and-security-update-list-windows-server-2008-sp2-and-windows-vista-sp2.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Not sure if anyone has seen this, but yesterday, Microsoft posted the full list of all Hotfixes (QFEs) and Security updates that have been rolled into Vista SP2.&amp;nbsp; The list can be downloaded from the Microsoft Download Center at &lt;A href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=d8b2cf4b-a2df-4664-8dd8-e840001e33f3" mce_href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=d8b2cf4b-a2df-4664-8dd8-e840001e33f3"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=d8b2cf4b-a2df-4664-8dd8-e840001e33f3&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;For IIS, you will want to look under the Server Technologies, although unfortunately, there isn't a way to just filter for IIS QFEs.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3243683" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/wonyoo/archive/tags/vista+SP2/default.aspx">vista SP2</category></item><item><title>Vista/Windows Server 2008 Service Pack 2 (SP2) RC</title><link>http://blogs.iis.net/wonyoo/archive/2009/03/27/vista-windows-server-2008-service-pack-2-sp2-rc.aspx</link><pubDate>Fri, 27 Mar 2009 22:20:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3044056</guid><dc:creator>wonyoo</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/wonyoo/rsscomments.aspx?PostID=3044056</wfw:commentRss><comments>http://blogs.iis.net/wonyoo/archive/2009/03/27/vista-windows-server-2008-service-pack-2-sp2-rc.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;In March, Vista/Windows Server 2008 SP2 RC was made public.&amp;nbsp; (See my blog post on SP2 Beta release &lt;A class="" href="http://blogs.iis.net/wonyoo/archive/2009/02/09/vista-windows-server-2008-service-pack-2-sp2.aspx" mce_href="http://blogs.iis.net/wonyoo/archive/2009/02/09/vista-windows-server-2008-service-pack-2-sp2.aspx"&gt;here&lt;/A&gt;).&amp;nbsp; &lt;/P&gt;
&lt;P mce_keep="true"&gt;From the IIS perspective, since the SP2 Beta release, we have been focusing on stability and reliability.&amp;nbsp; So there aren't any significant functional changes that we introduced in RC.&amp;nbsp; One exception is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Specify root of a drive as the documents root.&lt;/STRONG&gt; &lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;The root of a drive (ie. d:\) can be used as the documents root. &lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;We have had customer requests around this and we decided to enabled that in RC.&amp;nbsp; (For other IIS changes in SP2, refer to the &lt;A class="" href="http://blogs.iis.net/wonyoo/archive/2009/02/09/vista-windows-server-2008-service-pack-2-sp2.aspx" mce_href="http://blogs.iis.net/wonyoo/archive/2009/02/09/vista-windows-server-2008-service-pack-2-sp2.aspx"&gt;Beta &lt;/A&gt;blog post).&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;There is one behavior that I would like to note.&lt;/STRONG&gt;&amp;nbsp; In SP2 Beta as well as in RC, the IIS team has introduced a new identity called ApplicationPoolIdentity which can be used to run application pools.&amp;nbsp; In order to keep the functional behavior the same, if you create a new site using the inetmgr, the corresponding application pool will have NETWORK SERVICE as the identity.&amp;nbsp; However, you can change the process model from NETWORK SERVICE to ApplicationPoolIdentity after the application pool has been created.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Now, for some reason, let's suppose that you have decided to un-install SP2.&amp;nbsp; The un-installation will complete successfully, but you may find that your IIS instance is failing to start.&amp;nbsp; This may happen if you had configured any of the application pools to use ApplicationPoolIdentity.&amp;nbsp; Now that SP2 is removed, there is no such identity after SP2 is un-installed.&lt;/P&gt;
&lt;P mce_keep="true"&gt;To work around this, simply locate the following from applicationHost.config and change the process identity model to a valid one, such as NETWORK SERVICE.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Change from:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;lt;processModel identityType="ApplicationPoolIdentity" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;To (example: NETWORK SERVICE):&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;lt;processModel identityType="NetworkService" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;The official SP2 RC site is &lt;/STRONG&gt;&lt;A class="" href="http://technet.microsoft.com/en-us/windowsserver/dd262148.aspx" mce_href="http://technet.microsoft.com/en-us/windowsserver/dd262148.aspx"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;&amp;nbsp;and you can download RC from:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0A3D7A63-46AF-4E04-AC8C-91B8BC476450"&gt;ISO&lt;/A&gt; for Windows Server 2008 x86/x64/ia64 and Windows Vista x86/x64&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=DCA54ECC-362A-4B4D-B62B-22780E839A7E"&gt;x86&lt;/A&gt; for Windows Server 2008 and Windows Vista x86&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=361D0CA3-4B2C-4F1C-8B3E-DE376FDB1DE8"&gt;x64&amp;nbsp;&lt;/A&gt; for Windows Server 2008 and Windows Vista x64&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9E77AE84-BB5A-4A3F-A481-68826B34C893"&gt;IA64&lt;/A&gt; for Windows Server 2008 ia64&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3044056" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/wonyoo/archive/tags/vista+SP2/default.aspx">vista SP2</category></item></channel></rss>