<?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>Ian Mercer &#187; IIS</title>
	<atom:link href="http://blog.abodit.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.abodit.com</link>
	<description>Living in the World&#039;s Smartest House</description>
	<lastBuildDate>Sat, 07 Jan 2012 19:50:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to stop IIS7 from handling 404 errors so you can handle them in ASP.NET</title>
		<link>http://blog.abodit.com/2010/04/how-to-stop-iis7-from-handling-404-errors-so-you-can-handle-them-in-asp-net/</link>
		<comments>http://blog.abodit.com/2010/04/how-to-stop-iis7-from-handling-404-errors-so-you-can-handle-them-in-asp-net/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 06:35:20 +0000</pubDate>
		<dc:creator>Ian Mercer</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[404]]></category>

		<guid isPermaLink="false">http://blog.abodit.com/?p=731</guid>
		<description><![CDATA[IIS7 has lots of places you could look to make this change: you might start off looking to see if it&#8217;s an advanced option on your application pool, no, so then you try looking at the web site itself and the option .NET Error Pages.  That has to be it, surely!  So you try every <a href="http://blog.abodit.com/2010/04/how-to-stop-iis7-from-handling-404-errors-so-you-can-handle-them-in-asp-net/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>IIS7 has lots of places you could look to make this change: you might start off looking to see if it&#8217;s an advanced option on your application pool, no, so then you try looking at the web site itself and the option .NET Error Pages.  That has to be it, surely!  So you try every option there Mode=On, Mode=Off, Mode=Remote Only.  Nothing works so you consult the help for those items only learn that &#8220;<strong>Mode</strong>&#8221; is to &#8220;<em>Select a mode for the error pages: On, Off, or Remote Only.</em>&#8221;  You can see now why help writers at Microsoft are so well paid &#8211; who would have guessed that <strong>Mode = Remote Only</strong> sets the <strong>Mode</strong> to <strong>Remote Only</strong>!</p>
<p>Now you are really frustrated but luckily you landed on my blog post here where you learned that the true path to 404 happiness is a simple change to your web.config:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;system.webServer&gt;
  &lt;httpErrors errorMode=&quot;Detailed&quot; /&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.abodit.com/2010/04/how-to-stop-iis7-from-handling-404-errors-so-you-can-handle-them-in-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>404 errors on IIS6 with ASP.NET 4 Beta 2</title>
		<link>http://blog.abodit.com/2009/10/404-errors-on-iis6-with-asp-net-4-0-beta-2/</link>
		<comments>http://blog.abodit.com/2009/10/404-errors-on-iis6-with-asp-net-4-0-beta-2/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 04:42:00 +0000</pubDate>
		<dc:creator>Ian Mercer</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://blog.abodit.com/?p=46</guid>
		<description><![CDATA[After installing Visual Studio 2010 and .NET framework 4 on Windows Server 2003 (IIS6) I was getting nothing but 404 errors.  Turns out .NET 4 had somehow been disabled in the IIS metabase. Here&#8217;s the comment I posted to server fault: Check the metabase.xml file &#8230; is there a &#8217;1&#8242; at the start of the <a href="http://blog.abodit.com/2009/10/404-errors-on-iis6-with-asp-net-4-0-beta-2/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<div class="post-text">After installing Visual Studio 2010 and .NET framework 4 on Windows Server 2003 (IIS6) I was getting nothing but 404 errors.  Turns out .NET 4 had somehow been disabled in the IIS metabase.</p>
<p>Here&#8217;s the comment I posted to server fault:</p>
<p>Check the metabase.xml file &#8230; is there a &#8217;1&#8242; at the start of the line for Framework\V4.0.21006 in WebSvcExtRestrictionList?</p>
<p>I had the same problem and setting it to &#8217;1&#8242; (enabled) cured the problem. ASP.NET 4.0 Beta 1 did not have this problem. The problem only appeared on install of ASP.NET 4.0 Beta 2.</p>
<p>Here&#8217;s what it looked like BEFORE fixing the problem:</p>
<pre class="prettyprint"><code>        WebSvcExtRestrictionList="0,C:\SERVER\system32\inetsrv\httpodbc.dll,0,HTTPODBC,Internet Data Connector                0,C:\Perl\bin\perlis.dll,1,,Perl ISAPI Extension                0,C:\SERVER\system32\inetsrv\httpext.dll,0,WEBDAV,WebDAV                0,C:\Perl\bin\PerlEx30.dll,1,,PerlEx ISAPI Extension                0,C:\Perl\bin\perl.exe "%s" %s,1,,Perl CGI Extension                1,C:\SERVER\system32\inetsrv\asp.dll,0,ASP,Active Server Pages                1,C:\SERVER\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,0,ASP.NET v2.0.50727,ASP.NET v2.0.50727                0,*.exe                0,*.dll                0,C:\SERVER\system32\inetsrv\ssinc.dll,0,SSINC,Server Side Includes                <span style="background-color: yellow;">0,C:\SERVER\Microsoft.NET\Framework\v4.0.21006\aspnet_isapi.dll,0,ASP.NET v4.0.21006,ASP.NET v4.0.21006"</span></code></pre>
</div>
<div class="post-menu">
<p>And here&#8217;s an easier way to change that setting:</p>
<p><a href="http://neilkilbride.blogspot.com/2008/02/windows-2003-iis-returns-404-for-aspnet.html">http://neilkilbride.blogspot.com/2008/02/windows-2003-iis-returns-404-for-aspnet.html</a><br />
<a id="flag-post-77052" title="flag this post for serious problems" href="http://www.blogger.com/post-edit.g?blogID=16867467&amp;postID=900543573068212174"></a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.abodit.com/2009/10/404-errors-on-iis6-with-asp-net-4-0-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shaving seconds off page load times</title>
		<link>http://blog.abodit.com/2009/05/shaving-seconds-off-page-load-times/</link>
		<comments>http://blog.abodit.com/2009/05/shaving-seconds-off-page-load-times/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:47:00 +0000</pubDate>
		<dc:creator>Ian Mercer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://blog.abodit.com/?p=32</guid>
		<description><![CDATA[IIS6 comes with some antiquated settings for Gzip compression.  Even after enabling it in the IIS management console nothing happens until you edit the metabase file to enable the files you really want to compress. With the correct settings the main page for my site now loads in 5.3s instead of 6.0s and subsequent loads <a href="http://blog.abodit.com/2009/05/shaving-seconds-off-page-load-times/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<div>IIS6 comes with some antiquated settings for Gzip compression.  Even after enabling it in the IIS management console nothing happens until you edit the metabase file to enable the files you really want to compress.</div>
<div>With the correct settings the main page for my site now loads in 5.3s instead of 6.0s and subsequent loads are now down to about 1second with just three requests to the server.</div>
<div>Browser caching and Gzip compression is improving our customer experience significantly now.</div>
<div>Here&#8217;s what my metabase settings look like after removing &#8216;asp&#8217; and adding &#8216;aspx&#8217;, &#8216;cs&#8217; and &#8216;js&#8217;.</div>
<div>
<div><span style="white-space: pre;"><span style="font-size: x-small;"><span style="font-family: 'courier new';"> </span></span></span><span style="font-size: x-small;"><span style="font-family: 'courier new';">HcFileExtensions=&#8221;htm</span></span></div>
<div><span style="white-space: pre;"><span style="font-size: x-small;"><span style="font-family: 'courier new';"> </span></span></span><span style="font-size: x-small;"><span style="font-family: 'courier new';">html&#8221;</span></span></div>
<div><span style="white-space: pre;"><span style="font-size: x-small;"><span style="font-family: 'courier new';"> </span></span></span><span style="font-size: x-small;"><span style="font-family: 'courier new';">HcScriptFileExtensions=&#8221;aspx</span></span></div>
<div><span style="white-space: pre;"><span style="font-size: x-small;"><span style="font-family: 'courier new';"> </span></span></span><span style="font-size: x-small;"><span style="font-family: 'courier new';">js</span></span></div>
<div><span style="white-space: pre;"><span style="font-size: x-small;"><span style="font-family: 'courier new';"> </span></span></span><span style="font-size: x-small;"><span style="font-family: 'courier new';">css&#8221;</span></span></div>
<div><span style="font-family: 'courier new';"><br />
</span></div>
<div>
<div>Don&#8217;t forget to change both sections in the metabase, one for deflate and one for gzip.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.abodit.com/2009/05/shaving-seconds-off-page-load-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

