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:
|
 |
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
-
- <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342"/>
- <bindingRedirect oldVersion="9.2.0.401" newVersion="2.111.7.0"/>
-
- </dependentAssembly>
- </assemblyBinding>
- </runtime>