<?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>vividly nonsensical &#187; IIS</title>
	<atom:link href="http://www.jirc.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jirc.com</link>
	<description>it just makes nonsense</description>
	<lastBuildDate>Thu, 26 Aug 2010 15:57:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Running 32bit applications on a 64bit IIS7.5 platform</title>
		<link>http://www.jirc.com/2009/12/04/running-32bit-applications-on-a-64bit-iis7-5-platform/</link>
		<comments>http://www.jirc.com/2009/12/04/running-32bit-applications-on-a-64bit-iis7-5-platform/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 22:54:43 +0000</pubDate>
		<dc:creator>mvarre</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[32bit windows]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[application pool]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[ODBC]]></category>
		<category><![CDATA[windows server 2003 r2]]></category>

		<guid isPermaLink="false">http://www.jirc.com/?p=461</guid>
		<description><![CDATA[As I continue to attempt getting all old IIS6 sites running properly in IIS 7.5 (Windows Server 2003 R2 64bit), the next issue didn&#8217;t occur much past my last post.  After creating my new Data Source (DSN), I opened up the migrated site and received the following error: Microsoft OLE DB Provider for ODBC Drivers [...]]]></description>
			<content:encoded><![CDATA[<p>As I continue to attempt getting all old IIS6 sites running properly in IIS 7.5 (<a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2003 R2 64bit), the next issue didn&#8217;t occur much past my <a href="http://www.jirc.com/2009/12/04/where-did-all-the-odbc-drivers-go-from-windows-server-2008-64bit/" target="_blank">last post</a>.  After creating my new Data Source (<a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">DSN</a>), I opened up the migrated site and received the following error:</p>
<blockquote><p><a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a> OLE DB Provider for <a href="http://www.jirc.com/tag/odbc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ODBC">ODBC</a> Drivers error &#8217;80004005&#8242;<br />
 [<a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a>][<a href="http://www.jirc.com/tag/odbc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ODBC">ODBC</a> Driver Manager] The specified <a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">DSN</a> contains an architecture mismatch between the Driver and Application<br />
 /path/to/<a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">dsn</a>.asp, line 6</p>
</blockquote>
<p>Well that&#8217;s interesting.  It&#8217;s mostly interesting because of what was actually on line 6 of this file:</p>
<blockquote><p>Conn.Open &#8220;<a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">dsn</a>=dsnName;uid=user;pwd=pass;&#8221;</p>
</blockquote>
<p>Googling kept pointing me to it being a 32bit application running in 64bit mode.  All the resolutions were mostly explaining that the application needs to be recompiled, yadda, yadda.  Obviously this .asp file isn&#8217;t a &#8220;32bit file&#8221;, and well what am I supposed to tell my customers, that they need to only use 64bit .mdb files?</p>
<p><span id="more-461"></span>The solution was actually simple and had been something I&#8217;d read a few days before at iis.net about <a href="http://learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/" target="_blank">32bit mode worker processes</a>.</p>
<blockquote><p>To configure 32-bit mode for the server</p>
<ul>
<li> Open a command prompt and run the following:</li>
</ul>
<p>%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true</p>
</blockquote>
<p><a href="http://www.jirc.com/wp-content/uploads/2009/12/32bitapp.PNG"><img class="alignleft size-thumbnail wp-image-463" style="border: 1px solid black;" title="32bitapp" src="http://www.jirc.com/wp-content/uploads/2009/12/32bitapp-150x150.PNG" alt="32bitapp" width="100" height="100" /></a>Or you can just toggle this option in the Advanced Settings for the Application Pool for which the site is running. Either way works just fine.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>I suppose on a shared web server for which I have no daily knowledge or control over what my customers are doing, it would be a best practice to turn 32bit mode for all sites by default and if an opportunity or need arises to switch back to native 64bit mode, then all the better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jirc.com/2009/12/04/running-32bit-applications-on-a-64bit-iis7-5-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where did all the ODBC Drivers go from Windows Server 2008 64bit</title>
		<link>http://www.jirc.com/2009/12/04/where-did-all-the-odbc-drivers-go-from-windows-server-2008-64bit/</link>
		<comments>http://www.jirc.com/2009/12/04/where-did-all-the-odbc-drivers-go-from-windows-server-2008-64bit/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 17:17:46 +0000</pubDate>
		<dc:creator>mvarre</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[32bit windows]]></category>
		<category><![CDATA[64bit windows]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS7.5]]></category>
		<category><![CDATA[ODBC]]></category>
		<category><![CDATA[web edition]]></category>
		<category><![CDATA[web servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.jirc.com/?p=439</guid>
		<description><![CDATA[So I&#8217;m in the process of moving all the sites leftover on my old 32bit Windows Server 2003 web servers running IIS6. I&#8217;m moving everything to Microsoft Windows Server 2008 R2 64bit.  I am pretty sure I&#8217;m going to end up choosing the Web Edition of Windows Server 2008.  So far it seems to do [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m in the process of moving all the sites leftover on my old 32bit <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2003 <a href="http://www.jirc.com/tag/web-servers/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web servers">web servers</a> running IIS6. I&#8217;m moving everything to <em><strong><a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a> <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2008 R2 64bit</strong></em>.  I am pretty sure I&#8217;m going to end up choosing the <a href="http://www.jirc.com/tag/web-edition/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web edition">Web Edition</a> of <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2008.  So far it seems to do everything I need at a huge discount to Standard Edition.</p>
<p>I would have expected there to be no problems with most of them. I started out with a dinky little site that uses a small <strong><em><a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a> Access Database</em></strong>.  This site uses a standard <a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">DSN</a> to access the .mdb. I proceed to go to the Administrative Tools and open the <strong><em><a href="http://www.jirc.com/tag/odbc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ODBC">ODBC</a> Data Source Administrator</em></strong> window and add a new <a href="http://www.jirc.com/tag/dsn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DSN">DSN</a> for the .mdb and lo and behold I see the following nearly empty window:</p>
<p><a href="http://www.jirc.com/wp-content/uploads/2009/12/odbcempty.PNG"><span id="more-439"></span><img class="size-thumbnail wp-image-440 alignleft" style="border: 1px solid black;" title="odbcempty" src="http://www.jirc.com/wp-content/uploads/2009/12/odbcempty-150x150.PNG" alt="odbcempty" width="100" height="100" /></a></p>
<p>&lt;&#8211; This of course is no good! Where are all the other data drivers? Apparently all the regular ones we are used to seeing in 32bit <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> no longer exist as 64bit drivers.  The trick is to execute %windir%\SysWOW64\odbcad32.exe.</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.jirc.com/wp-content/uploads/2009/12/odbcfull.PNG"><img class="size-thumbnail wp-image-442 alignleft" style="border: 1px solid black;" title="odbcfull" src="http://www.jirc.com/wp-content/uploads/2009/12/odbcfull-150x150.PNG" alt="odbcfull" width="100" height="100" /></a> &lt;&#8211; This will give you the ability to add the rest of the 32bit Data Sources such as <a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a> Access (.mdb).</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jirc.com/2009/12/04/where-did-all-the-odbc-drivers-go-from-windows-server-2008-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrate IIS from one server to another</title>
		<link>http://www.jirc.com/2009/06/18/migrate-iis-from-one-server-to-another/</link>
		<comments>http://www.jirc.com/2009/06/18/migrate-iis-from-one-server-to-another/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 18:46:42 +0000</pubDate>
		<dc:creator>mvarre</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IUSR]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.jirc.com/?p=306</guid>
		<description><![CDATA[Last week I had the unfortunate and immediate need to migrate IIS 6.0 from one Windows Server 2003 to another. I thought this process was going to be very painful, when in fact it was quite simple and straightforward. It&#8217;s hard to believe that after all these years I&#8217;ve never had to do this. There [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I had the unfortunate and immediate need to migrate IIS 6.0 from one <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2003 to another. I thought this process was going to be very painful, when in fact it was quite simple and straightforward. It&#8217;s hard to believe that after all these years I&#8217;ve never had to do this. There really is a first time for everything!</p>
<p>Luckily I run everything within VMware ESX Environment, so no data needed to be copied from one machine to another. I simply provisioned a new <a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Server 2003 guest and added the old server&#8217;s VMDK disk to the new machine.</p>
<ul>
<li>The first thing you need to do is backup your old IIS configuration. In IIS Manager, right click in IIS Manager &gt; All Tasks &gt; Backup/Restore Configuration.</li>
</ul>
<ul>
<li>Probably the most imporant part of the whole process is to make sure you &#8220;Encrypt the backup using password&#8221;. This makes th e IIS config &#8220;portable&#8221;. If you don&#8217;t encrypt it, you won&#8217;t be able to import it on a different system as there are sessions keys stored withing the IIS metabase.</li>
</ul>
<ul>
<li>By default the configuration backup goes to C:\<a href="http://www.jirc.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">WINDOWS</a>\system32\inetsrv\MetaBack. So you will need to grab both files it has created and move them on over to the new server. Place them in the same location on the new server because IIS doesn&#8217;t give you a choice to browse for a backup &#8211; it looks in that directory each time.</li>
</ul>
<ul>
<li>Now you&#8217;ll restore that configuration from within IIS Manager, right click in IIS Manager &gt; All Tasks &gt; Backup/Restore Configuration. Choose the one you want to restore and restore. It will ask for the encryptin password.</li>
<li>Now we need to restart IIS. This will actually re-create the <a href="http://www.jirc.com/tag/iusr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IUSR">IUSR</a> account in the Local User Manager, which kind of impressed me. The password will be wrong for this account so you need to set it to something manually by the normal Reset Password function.</li>
<li>Now you need to need to tell the metabase about that new password. <a href="http://www.jirc.com/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with microsoft">Microsoft</a> has a nice article outlining how this is done.<br />
<a href="http://support.microsoft.com/kb/297989" target="_blank">http://support.microsoft.com/kb/297989</a></li>
<li>Restart IIS and for the most part you should be good to go.</li>
</ul>
<p>I opted to simply reset the password for the <a href="http://www.jirc.com/tag/iusr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IUSR">IUSR</a> account that the metabase created automatically for me. The name was wrong (hence IUSR_computer), however this meant I wouldnt need to change all of the special <a href="http://www.jirc.com/tag/iusr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IUSR">IUSR</a> permissions set for special files such as MDB and other special case files. You can easily tell the metabase to use a new user account as the <a href="http://www.jirc.com/tag/iusr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IUSR">IUSR</a> account using the metabase explorer, but I&#8217;m not going to go into that right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jirc.com/2009/06/18/migrate-iis-from-one-server-to-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
