Oracle ODP.net 11 and “The provider is not compatible with the version of Oracle client”

This will save you a headache. If you get the error message “The provider is not compatible with the version of Oracle client” with the oracle ODP.net 11 embedded in your application, well, maybe is not the real cause of the problem

The clever code in the ODP.net dll has a try/catch sentence without a line of code in the catch part.

odp.netcatch1

So, ODP.net can fail when it try to load the OCI.DLL, but the program will continue until it try to use the OCI.DLL and then throw an error. Even the oracle trace will not log this.

odp.netcatch2

Have that error and you have the right ODP.net assembly version,? see if the OCI.DLL is the right one, if it exist and if your program has the rights to load, find and get the attributes of it (and if the OpsDllPath  –windows registry- points to it, not to an older version, if you have a old version installed)

Panorámicas: Quinta Vergara y Rally Dakar 2009

Quinta Vergara

Panorámicas tomadas con una Sony Alpha 100 y procesadas con Microsoft ICE. Se requiere Microsoft SilverLight 2 para poder verlas.

Quinta 1:  Vista exterior de la Quinta Vergara. Aproximadamente 350 MegaPixels

Quinta 2 : Vista interior de la Quinta Vergara. Aproximadamente 220 MegaPixels.

Quinta 3:  Vista interior de la Quinta Vergara. Aproximadamente 160 MegaPixels.

Dakar :D ïa de descanso en Valparaíso. Aproximadamente 240 MegaPixels.