<?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>Geospecialling &#187; ODP.NET</title>
	<atom:link href="http://www.geospecialling.com/index.php/tag/odp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geospecialling.com</link>
	<description>Being a (G)IS Developer...</description>
	<lastBuildDate>Sun, 25 Jul 2010 05:15:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle Client/ODAC on Vista x64 Mostly Working&#8230; Finally</title>
		<link>http://www.geospecialling.com/index.php/2008/10/oracle-clientodac-on-vista-x64-mostly-working-finally/</link>
		<comments>http://www.geospecialling.com/index.php/2008/10/oracle-clientodac-on-vista-x64-mostly-working-finally/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 05:25:00 +0000</pubDate>
		<dc:creator>Darrin Maidlow</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ODP.NET]]></category>

		<guid isPermaLink="false">http://www.geospecialling.com/index.php/2008/10/oracle-clientodac-on-vista-x64-mostly-working-finally/</guid>
		<description><![CDATA[So, finally I got fed up with working from a 32 bit XP virtual machine and spent a little more time on this issue.&#160; I’ve managed to get my Vista Ultimate a la x64 mostly working.&#160; Where I went wrong the last time (aside from trying to figure this out in the middle of the [...]]]></description>
			<content:encoded><![CDATA[<p>So, finally I got fed up with working from a 32 bit XP virtual machine and spent a little more time on this issue.&#160; I’ve managed to get my Vista Ultimate a la x64 mostly working.&#160; Where I went wrong <a title="Vista Ultimate x64 and Oracle Client Fun" href="http://www.geospecialling.com/index.php/2008/07/odacodp-net-on-vista-x64/" target="_blank" rel="tag">the last time</a> (aside from trying to figure this out in the middle of the night in a shitty mood because I had spent so much time head banging with a wall) was using the 64 bit client.&#160; </p>
<p>The correct path to Oracle happiness in my case was the 11g client.&#160; It works great with my 10.2 server.&#160; The important bit in was to use the 32 bit install rather than the 64 bit install.&#160; One of my primary tools for accessing Oracle is <a title="Toad for Oracle" href="http://www.quest.com/toad-for-oracle/" target="_blank" rel="tag">Toad for Oracle</a> 9.x.&#160; Quest Software states that Toad for Oracle 9.6 is the first version to really support the 11g client.&#160; However, it does NOT support the x64 client.</p>
<p>So the last time I tried to solve this, after a long day, and a fun night of head banging with a wall – when I tried the 11g client, I used x64 cbuild – and saw that Toad wouldn’t work, I threw a little hissyfit and went to bed.&#160; Long story short, installing both the 32bit <a title="Oracle 11g client" href="http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html" target="_blank" rel="tag">11g client</a> and <a title="Oracle 11g ODAC/ODP" href="http://www.oracle.com/technology/software/tech/windows/odpnet/index.html" target="_blank" rel="tag">11g ODAC/ODP</a> seems to have done the trick.&#160; Now – there is one important little piece o’ information that you will need to know.&#160; Though I have not confirmed this, I suspect that x64 applications will not be able to use the driver.&#160; </p>
<p>That said, from a development point of view you will need to set IIS to run at 32 bit.&#160; On IIS 5.x/6.x this is a server wide setting from a dos window:</p>
<div>
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: rgb(96,96,96)">   1:</span> cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none"><span style="color: rgb(96,96,96)">   2:</span> %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i</pre>
</p></div>
</div>
<p>&#160;</p>
<p>If you’re running Vista or Server 2008 with IIS7, you have things a little better.&#160; You can configure each application pool to run as 32 or 64 bit.&#160; For winform development, change the compile properties of the project to set the target platform to be x86.</p>
<p>I’m really glad that’s over…but I still want a proper x64 ODAC.&#160; Come on Oracle .. =)</p>
<p><font color="#ff0000">Update February 2009</font> – I have made a happy ending post on <a title="Geospecialling" href="http://www.geospecialling.com" target="_blank" rel="tag">my new blog</a>.&#160; Got Oracle client working in both <a title="Oracle client working in both 32 and 64 bit" href="http://www.geospecialling.com/blogs/darrin/index.php/2009/05/finally-an-oracle-x64-client-that-works-on-vista-aka-getting-map-2010-x64-running-with-oracle/" target="_blank" rel="tag">32 and 64 bit mode</a>.&#160; Check it out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geospecialling.com/index.php/2008/10/oracle-clientodac-on-vista-x64-mostly-working-finally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ODAC/ODP.NET on Vista x64</title>
		<link>http://www.geospecialling.com/index.php/2008/07/odacodp-net-on-vista-x64/</link>
		<comments>http://www.geospecialling.com/index.php/2008/07/odacodp-net-on-vista-x64/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 13:11:00 +0000</pubDate>
		<dc:creator>Darrin Maidlow</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ODP.NET]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://www.geospecialling.com/index.php/2008/07/odacodp-net-on-vista-x64/</guid>
		<description><![CDATA[Since moving to Vista x64 I&#8217;ve had a heck of a time with Oracle clients.&#160; The one thing I could not get working until tonight was ODP with Visual Studio / .NET.&#160; Finally I found a solution. 
First, download and install Oracle 11g ODAC and Oracle Developer Tools for Visual Studio. (Link requires registration)&#160;&#160; This [...]]]></description>
			<content:encoded><![CDATA[<p>Since moving to Vista x64 I&#8217;ve had a heck of a time with Oracle clients.&#160; The one thing I could not get working until tonight was ODP with Visual Studio / .NET.&#160; Finally I found a solution. </p>
<p>First, download and install <a title="Oracle ODAC 11g" href="http://www.oracle.com/technology/software/tech/dotnet/utilsoft.html" target="_blank" rel="tag">Oracle 11g ODAC and Oracle Developer Tools for Visual Studio</a>. (Link requires registration)&#160;&#160; This should get the 32bit stuff installed.&#160;&#160; I&#8217;m still using an Oracle 10g R2 server.&#160; You will likely need to grab a copy of the TNSnames.ora for your existing client folder and place it in the appropriate tree of the 11g product home.</p>
<p>This however is not enough to get .NET working with ODP.&#160; Go to the folder where you extracted the zip.&#160; We need to find the Oracle.DataAccess.dll.&#160; This can be found in the file named filegroup4.jar, in the stage\components\oracle.ntoledb.odp_net_2.&#160; Winrar will open .jar files if needed.&#160; Extract the Oracle.DataAscess.dll file.</p>
<p>For now, I&#8217;ve put a copy of this file in my projects lib folder.&#160; I then added a reference directly to this file from all projects that need ODP access.&#160; </p>
<p>Keep in mind &#8211; before you ship you may want to remove this reference and ensure that the .DLL file doesn&#8217;t get included in your build.&#160; This should get your Vista x64 box developing with ODP.</p>
<p>To Oracle &#8211; come on guys.&#160; Give us some Vista x64 love!</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:123a6d8a-f567-47ae-a3ec-b8a415d2eaf3" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/.NET" rel="tag">.NET</a>,<a href="http://technorati.com/tags/ODP.NET" rel="tag">ODP.NET</a>,<a href="http://technorati.com/tags/Oracle" rel="tag">Oracle</a>,<a href="http://technorati.com/tags/Vista" rel="tag">Vista</a>,<a href="http://technorati.com/tags/X64" rel="tag">X64</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.geospecialling.com/index.php/2008/07/odacodp-net-on-vista-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
