<?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; windows server 2003 r2</title>
	<atom:link href="http://www.jirc.com/tag/windows-server-2003-r2/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 <a href="http://www.jirc.com/tag/iis/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IIS">IIS</a> 7.5 (<a href="http://www.jirc.com/tag/windows-server-2003-r2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows server 2003 r2">Windows Server 2003 R2</a> <a href="http://www.jirc.com/tag/64bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 64bit">64bit</a>), 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 <a href="http://www.jirc.com/tag/64bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 64bit">64bit</a> 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 <a href="http://www.jirc.com/tag/64bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 64bit">64bit</a> .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 <a href="http://www.jirc.com/tag/iis/" class="st_tag internal_tag" rel="tag" title="Posts tagged with IIS">iis</a>.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 <a href="http://www.jirc.com/tag/application-pool/" class="st_tag internal_tag" rel="tag" title="Posts tagged with application pool">Application Pool</a> 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 <a href="http://www.jirc.com/tag/64bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 64bit">64bit</a> 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>
	</channel>
</rss>
