<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 32bit Stuff on 64bit Windows Server 2003</title>
	<atom:link href="http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/</link>
	<description>Tino&#039;s Point Of View</description>
	<lastBuildDate>Fri, 25 Jun 2010 21:55:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-26</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 13 Jun 2008 08:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-26</guid>
		<description>Thanks for your help Tino. Just one other thing i noticed. I was running an ASP script on IIS6 and trying to connect to MySQL DB through the ODBC. I was getting the errors above. I have now learnt that on  x64 you can create a odbc connection for a 32bit app and a 64bit app.A 32 bit application will only see 32bit side ODBC connection and a 64bits app will only see a 64bit ODBC connection.

Ironically the C:\Windows\SysWOW64\ is actually the 32 Bit libraries and the System32 folder is for 64bit. Therefore to setup an ODBC link for 32bit application you must use 
C:\WINDOWS\SysWOW64\odbcad32.exe and for 64bit application you must use 
C:\WINDOWS\System32\odbcad32.exe. Once i used the odbc32.exe in the syswow64 folder and installed the 32 bit ODBC driver everything worked!!!!!

the joys of 64 bit processing :)</description>
		<content:encoded><![CDATA[<p>Thanks for your help Tino. Just one other thing i noticed. I was running an ASP script on IIS6 and trying to connect to MySQL DB through the ODBC. I was getting the errors above. I have now learnt that on  x64 you can create a odbc connection for a 32bit app and a 64bit app.A 32 bit application will only see 32bit side ODBC connection and a 64bits app will only see a 64bit ODBC connection.</p>
<p>Ironically the C:\Windows\SysWOW64\ is actually the 32 Bit libraries and the System32 folder is for 64bit. Therefore to setup an ODBC link for 32bit application you must use<br />
C:\WINDOWS\SysWOW64\odbcad32.exe and for 64bit application you must use<br />
C:\WINDOWS\System32\odbcad32.exe. Once i used the odbc32.exe in the syswow64 folder and installed the 32 bit ODBC driver everything worked!!!!!</p>
<p>the joys of 64 bit processing <img src='http://www.tino.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-16</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Fri, 30 May 2008 21:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-16</guid>
		<description>Thanks for the help first off.  I was able to enable the 32 bit applications in iis.  But now none of the pages are showing up. Not even the plain html pages. Please help!</description>
		<content:encoded><![CDATA[<p>Thanks for the help first off.  I was able to enable the 32 bit applications in iis.  But now none of the pages are showing up. Not even the plain html pages. Please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-11</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 16 May 2008 09:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-11</guid>
		<description>You are the man. This particular set of magic words corrects the issue when you try to use the automatic deploy options (copy web site, publish) from Visual Studio 2005 to a 64 bit hosted server.

Thanks!</description>
		<content:encoded><![CDATA[<p>You are the man. This particular set of magic words corrects the issue when you try to use the automatic deploy options (copy web site, publish) from Visual Studio 2005 to a 64 bit hosted server.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brady</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-9</link>
		<dc:creator>Brady</dc:creator>
		<pubDate>Thu, 08 May 2008 13:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-9</guid>
		<description>THANK YOU!
Changing the connection string fixed it. 
I have looked all over the web trying to figure this out and I can&#039;t find any documentation on it. I know I&#039;m not the only one having this problem.
Thanks!</description>
		<content:encoded><![CDATA[<p>THANK YOU!<br />
Changing the connection string fixed it.<br />
I have looked all over the web trying to figure this out and I can&#8217;t find any documentation on it. I know I&#8217;m not the only one having this problem.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tino</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-8</link>
		<dc:creator>tino</dc:creator>
		<pubDate>Thu, 08 May 2008 12:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-8</guid>
		<description>Hi,

If you want to run VBScripts that connect to a mySQL server you might have to modify your connection string in the script.

Most probably, you will have something like this in your script;

Dim objConn
Set objConn = CreateObject(&quot;ADODB.Connection&quot;)
objConn.ConnectionString = &quot;DSN=[database];UID=[user];PWD=[password];SERVER=[server]&quot;
bjConn.Open

If so, please change the ConnectionString;

objConn.ConnectionString = &quot;Driver={MySQL ODBC 3.51 Driver};DATABASE=[database];UID=[user];PWD=[password];SERVER=[server]&quot;

Change the ConnectionString, save the .vbs file and run it with the cscript from the C:\Windows\SysWOW64 directory.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>If you want to run VBScripts that connect to a mySQL server you might have to modify your connection string in the script.</p>
<p>Most probably, you will have something like this in your script;</p>
<p>Dim objConn<br />
Set objConn = CreateObject(&#8220;ADODB.Connection&#8221;)<br />
objConn.ConnectionString = &#8220;DSN=[database];UID=[user];PWD=[password];SERVER=[server]&#8221;<br />
bjConn.Open</p>
<p>If so, please change the ConnectionString;</p>
<p>objConn.ConnectionString = &#8220;Driver={MySQL ODBC 3.51 Driver};DATABASE=[database];UID=[user];PWD=[password];SERVER=[server]&#8221;</p>
<p>Change the ConnectionString, save the .vbs file and run it with the cscript from the C:\Windows\SysWOW64 directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brady</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-7</link>
		<dc:creator>Brady</dc:creator>
		<pubDate>Thu, 08 May 2008 11:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-7</guid>
		<description>Tino,
Thanks for the help but I still am getting the &quot;[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified &quot; errors.
I just don&#039;t get it. I figured I best upgrade to a 64-bit OS when we purchased our newest DELL webserver as we would need to move to 64-bit at some point in the future. Anyway,  I have W2003 r2 64-bit, MySql&#039;s newest version that is 64-bit and MySql&#039;s newest 64-bit ODBC driver, and my webpages are ASP with Javascript and some VBSript pages. MySql works great, the ODBC driver connects just fine but for what ever reason IIS is not making the proper handshake with the ODBC driver.
When I first tried to access my pages I got the following error &quot;Provider is not specified and there is no designated default provider.&quot; I then applied the hot fix from Microsoft  as discussed in this forum: http://forums.mysql.com/read.php?37,167520,204476#msg-204476

Then I applied the steps that you have listed and now I&#039;m stuck on this error. &quot;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; 
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified&quot;.

I just don&#039;t understand it. Running ASP on w2003 32-bit is a breeze to setup and it runs wonderfully. 64-bit versions of MySql and Microsoft Operating systems have been out for years now. You would think Microsoft would have this figured out by now. Jumping through a bunch of hoops to try and get Microsoft&#039;s ASP to run on Microsoft&#039;s OS is not good.

I guess I&#039;ll have to go back to the 32-bit OS, loose 4G of the 8G of memory that is in the system and wait for another couple of years to see if this all gets worked out.

Sorry, to have bothered you with this post. I know I&#039;m not the most technically minded on the &quot;fixes&quot; for this but I&#039;ve never had to be. ASP with w2k and w2003 32-bit were so simple to setup and they just worked. Is w2008 64-bit worth trying? I&#039;ve heard that it fixed these issues but I&#039;m real skeptical right now.
Thanks,
Brady</description>
		<content:encoded><![CDATA[<p>Tino,<br />
Thanks for the help but I still am getting the &#8220;[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified &#8221; errors.<br />
I just don&#8217;t get it. I figured I best upgrade to a 64-bit OS when we purchased our newest DELL webserver as we would need to move to 64-bit at some point in the future. Anyway,  I have W2003 r2 64-bit, MySql&#8217;s newest version that is 64-bit and MySql&#8217;s newest 64-bit ODBC driver, and my webpages are ASP with Javascript and some VBSript pages. MySql works great, the ODBC driver connects just fine but for what ever reason IIS is not making the proper handshake with the ODBC driver.<br />
When I first tried to access my pages I got the following error &#8220;Provider is not specified and there is no designated default provider.&#8221; I then applied the hot fix from Microsoft  as discussed in this forum: <a href="http://forums.mysql.com/read.php?37,167520,204476#msg-204476" rel="nofollow">http://forums.mysql.com/read.php?37,167520,204476#msg-204476</a></p>
<p>Then I applied the steps that you have listed and now I&#8217;m stuck on this error. &#8220;Microsoft OLE DB Provider for ODBC Drivers error &#8217;80004005&#8242;<br />
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified&#8221;.</p>
<p>I just don&#8217;t understand it. Running ASP on w2003 32-bit is a breeze to setup and it runs wonderfully. 64-bit versions of MySql and Microsoft Operating systems have been out for years now. You would think Microsoft would have this figured out by now. Jumping through a bunch of hoops to try and get Microsoft&#8217;s ASP to run on Microsoft&#8217;s OS is not good.</p>
<p>I guess I&#8217;ll have to go back to the 32-bit OS, loose 4G of the 8G of memory that is in the system and wait for another couple of years to see if this all gets worked out.</p>
<p>Sorry, to have bothered you with this post. I know I&#8217;m not the most technically minded on the &#8220;fixes&#8221; for this but I&#8217;ve never had to be. ASP with w2k and w2003 32-bit were so simple to setup and they just worked. Is w2008 64-bit worth trying? I&#8217;ve heard that it fixed these issues but I&#8217;m real skeptical right now.<br />
Thanks,<br />
Brady</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tino</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-6</link>
		<dc:creator>tino</dc:creator>
		<pubDate>Thu, 08 May 2008 08:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-6</guid>
		<description>Brady,

If you are on IIS7, you do not need (or have) the IIS Admin scripts. But if you are on IIS6, you need the admin scripts that are, by default, installed at %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs

You will need to issue this command:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 

Remeber, that you will need the cscript version in the C:\Windows\SysWOW64 directory, not the one in the C:\Windows\System32 directory.</description>
		<content:encoded><![CDATA[<p>Brady,</p>
<p>If you are on IIS7, you do not need (or have) the IIS Admin scripts. But if you are on IIS6, you need the admin scripts that are, by default, installed at %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs</p>
<p>You will need to issue this command:</p>
<p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 </p>
<p>Remeber, that you will need the cscript version in the C:\Windows\SysWOW64 directory, not the one in the C:\Windows\System32 directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brady</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-5</link>
		<dc:creator>Brady</dc:creator>
		<pubDate>Wed, 07 May 2008 22:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-5</guid>
		<description>So far so good. Your last step of &quot;Just use cscript.exe in the C:\Windows\SysWOW64 directory to start the script...&quot;

What script do I need to start?</description>
		<content:encoded><![CDATA[<p>So far so good. Your last step of &#8220;Just use cscript.exe in the C:\Windows\SysWOW64 directory to start the script&#8230;&#8221;</p>
<p>What script do I need to start?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tino</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-2</link>
		<dc:creator>tino</dc:creator>
		<pubDate>Mon, 07 Apr 2008 19:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-2</guid>
		<description>Since IIS7, by default, does no longer use the metabase like IIS6 does, there is no need for tools modifying it. :-)
In stead, IIS7 stores all configuration in XML files.

You can issue this command;

%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true

Tino</description>
		<content:encoded><![CDATA[<p>Since IIS7, by default, does no longer use the metabase like IIS6 does, there is no need for tools modifying it. <img src='http://www.tino.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
In stead, IIS7 stores all configuration in XML files.</p>
<p>You can issue this command;</p>
<p>%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true</p>
<p>Tino</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ionut</title>
		<link>http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/comment-page-1/#comment-1</link>
		<dc:creator>Ionut</dc:creator>
		<pubDate>Mon, 07 Apr 2008 18:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tino.nl/index.php/2008/03/13/32bit-stuff-on-64bit-windows-server-2003/#comment-1</guid>
		<description>How do you do the same thing on WS2K8?
Since it has IIS7 I wasn&#039;t able to find %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs 

Thanks,
Ionutz</description>
		<content:encoded><![CDATA[<p>How do you do the same thing on WS2K8?<br />
Since it has IIS7 I wasn&#8217;t able to find %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs </p>
<p>Thanks,<br />
Ionutz</p>
]]></content:encoded>
	</item>
</channel>
</rss>
