<?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; DSN</title>
	<atom:link href="http://www.jirc.com/tag/dsn/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 (DSN), 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 DSN contains an architecture mismatch between the Driver and Application<br />
 /path/to/dsn.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;dsn=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 <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 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 <a href="http://www.jirc.com/tag/32bit-windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 32bit windows">32bit 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 DSN 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 DSN 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 <a href="http://www.jirc.com/tag/32bit-windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 32bit windows">32bit 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>
	</channel>
</rss>

