<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code.commongroove.com &#187; IIS</title>
	<atom:link href="http://code.commongroove.com/category/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.commongroove.com</link>
	<description>C#, T-SQL, and general IT mojo</description>
	<lastBuildDate>Thu, 26 Jan 2012 03:00:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ASP.Net: App_Offline.htm as a Maintenance Page</title>
		<link>http://code.commongroove.com/2011/09/16/asp-net-app_offline-htm-as-a-maintenance-page/</link>
		<comments>http://code.commongroove.com/2011/09/16/asp-net-app_offline-htm-as-a-maintenance-page/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 15:40:35 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/?p=311</guid>
		<description><![CDATA[While Googling about, I came upon an oldy-but-goody, that apparently has been available since the release of ASP.Net 2.0: App_Offline.htm. An undocumented feature, you can copy a file called app_offline.htm into the root of your .Net website and the application &#8230; <a href="http://code.commongroove.com/2011/09/16/asp-net-app_offline-htm-as-a-maintenance-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While Googling about, I came upon an oldy-but-goody, that apparently has been available since the release of ASP.Net 2.0: App_Offline.htm.</p>
<p>An undocumented feature, you can copy a file called app_offline.htm into the root of your .Net website and the application will &#8220;bleed off&#8221; existing connections and redirect all new requests to the app_offline.htm page.</p>
<p>Once you remove the file, requests will again go back to your site.</p>
<p>Here&#8217;s ScottGu&#8217;s posts about it from back in 2005:</p>
<ul>
<li><a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx" target="_blank">App_Offline.htm</a></li>
<li><a href="http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx" target="_blank">App_Offline.htm and working around the &#8220;IE Friendly Errors&#8221; feature</a></li>
</ul>
<p>One thing to note if you are using ASP.Net MVC.  Be sure your system.webserver configuration is set up to handle all requests so you don&#8217;t get 404s instead of the app_offline.htm page:</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;system.webServer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;modules</span> <span style="color: #000066;">runAllManagedModulesForAllRequests</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/system.webServer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2011/09/16/asp-net-app_offline-htm-as-a-maintenance-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress on Windows with IIS7 and FastCGI PHP Upgrade Error</title>
		<link>http://code.commongroove.com/2011/02/12/wordpress-on-windows-with-iis7-and-fastcgi-php-upgrade-error/</link>
		<comments>http://code.commongroove.com/2011/02/12/wordpress-on-windows-with-iis7-and-fastcgi-php-upgrade-error/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 23:57:08 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/?p=238</guid>
		<description><![CDATA[One way to fix an error like "PHP Warning:  touch(): Unable to create file /tmp/wordpress-3.tmp because No such file or directory in..." in your WordPress installation on Windows 2008 with IIS7. <a href="http://code.commongroove.com/2011/02/12/wordpress-on-windows-with-iis7-and-fastcgi-php-upgrade-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are running WordPress on IIS7 and are having trouble updating your plugins and/or WordPress itself, you might have an impersonation setting problem.  Check your PHP error log (sometimes in C:\temp).  If you see and error message like:</p>
<p>&#8220;PHP Warning:  touch(): Unable to create file /tmp/wordpress-3.tmp because No such file or directory in&#8230;&#8221;</p>
<p>it probably means you have fastcgi.impersonate set to 1 in your php.ini and the anonymous user, IUSR, doesn&#8217;t have the rights to modify files in your site directory.</p>
<p>To fix this, right-click on the website directory and select Properties.  On the Security tab, add the IUSR with Modify permissions.  Be sure to click Advanced after and choose to replace permissions on the sub-folders.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2011/02/12/wordpress-on-windows-with-iis7-and-fastcgi-php-upgrade-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binding Apache and IIS both to Port 80 on Different IPs / Same NIC</title>
		<link>http://code.commongroove.com/2009/09/25/binding-apache-and-iis-both-to-port-80-on-different/</link>
		<comments>http://code.commongroove.com/2009/09/25/binding-apache-and-iis-both-to-port-80-on-different/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 03:39:30 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/archive/2009/09/24/binding-apache-and-iis-both-to-port-80-on-different.aspx</guid>
		<description><![CDATA[If you need to run IIS 6.0 and Apache 2.2.* side-by-side on the same Windows server machine, you most likely are trying to bind apache to one IP address and IIS to another.  If you have multiple IPs bound to &#8230; <a href="http://code.commongroove.com/2009/09/25/binding-apache-and-iis-both-to-port-80-on-different/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you need to run IIS 6.0 and Apache 2.2.* side-by-side on the same Windows server machine, you most likely are trying to bind apache to one IP address and IIS to another.  If you have multiple IPs bound to the same NIC, this will only work if you do some tweaking to IIS&#8217;s <strong>metabase</strong> via <strong>httpcfg.exe</strong>.  </p>
<p>The httpcfg utility is found on the installation CD in the Suppot/Tools directory in the Support.cab file (you can use WinRAR or the like to extract it).</p>
<p>Once you have httpcfg on your system, you force IIS to bind only to specified IP addresses with a command like:</p>
<p><font face="Courier New">httpcfg set iplisten -i xxx.xxx.x.x</font></p>
<p>Here&#8217;s the KB that shows in detail you how to get it done:</p>
<p><font face=""><a href="http://support.microsoft.com/kb/813368/EN-US/">http://support.microsoft.com/kb/813368/EN-US/</a></font></p>
<p>Hope this helps! </p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2009/09/25/binding-apache-and-iis-both-to-port-80-on-different/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recycle an Application Pool from the Command Line</title>
		<link>http://code.commongroove.com/2007/10/02/recycle-an-application-pool-from-the-command-line/</link>
		<comments>http://code.commongroove.com/2007/10/02/recycle-an-application-pool-from-the-command-line/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 01:08:55 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/archive/2007/10/01/recycle-an-application-pool-from-the-command-line.aspx</guid>
		<description><![CDATA[Sometimes it is a whole lot nicer to recycle the specific Application Pool of concern rather than recycling IIS with &#8220;iisreset&#8221;. There is a handy script in %windir%\system32 called iisapp.vbs and you can just run : D:\>C:\WINDOWS\System32\iisapp.vbs /a &#8220;My Pool&#8221; &#8230; <a href="http://code.commongroove.com/2007/10/02/recycle-an-application-pool-from-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is a whole lot nicer to recycle the specific Application Pool of concern rather than recycling IIS with &#8220;iisreset&#8221;.</p>
<p>There is a handy script in<span style="font-weight: bold;"> %windir%\system32</span> called <span style="font-weight: bold;">iisapp.vbs</span> and you can just run :</p>
<p><span style="font-family: Courier New;">D:\></span><span style="font-weight: bold; font-family: Courier New;">C:\WINDOWS\System32\iisapp.vbs /a &#8220;My Pool&#8221; /r</span><br style="font-family: Courier New;" /><br />
<span style="font-family: Courier New;">Connecting to server &#8230;Done.</span><br style="font-family: Courier New;" /><br />
<span style="font-family: Courier New;">Application pool &#8216;My Pool&#8217; recycled successfully.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2007/10/02/recycle-an-application-pool-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

