Forcing a .net application compiled for Oracle 9 to use Oracle 11

by Kevin Goff 17. April 2010 00:58

To get a server installed with the Oracle 11 ODP.net client to run an application compiled using the Oracle 9 ODP.net client requires a configuration change.  Out of the box the 11 client will work with the an application compiled with the 10 ODP driver but there is no policy configured to work with ODP 9.  To make this work add a specific assembly binding configuration to your configuration file of choice (I prefer machine.config for my configuration).

 

Keep in mind this has to be placed in both the Framework and Framework64 machine.configs in order to make both 64 and 32 bit apps use the 11 driver. 

 

Here is is what I used:

 

  1. <runtime>
  2.   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  3.     <dependentAssembly>
  4.  
  5.       <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342"/>
  6.       <bindingRedirect oldVersion="9.2.0.401" newVersion="2.111.7.0"/>
  7.  
  8.     </dependentAssembly>
  9.   </assemblyBinding>
  10. </runtime>

 

 

Tags: , , ,

Visual Studio 2010 Released!

by Kevin Goff 13. April 2010 00:17

MSDN subscribers can now download the final bits for Visual Studio 2010.  Here is a list of what has been published:

  • .NET 4.0 framework (x86 and x64)
  • Visual Studio 2010 Express
  • Visual Studio 2010 Professional
  • Visual Studio 2010 Premium
  • Visual Studio 2010 Ultimate
  • Visual Studio 2010 SDK
  • Visual Studio Team Explorer Everywhere 2010
  • Visual Studio Team Foundation Server 2010
  • Visual Studio Team Explorer 2010
  • Visual Studio Test Professional 2010
  • Visual Studio 2010 Tools for the Office System 4.0 Runtime

Tags: ,