1 Reply Latest reply: Apr 2, 2012 2:43 AM by Laurenz Albe RSS

    Newbie question on Instant Client

    927565
      What is the latest(v) oci.dll?

      I downloaded and installed the latest ODAC 11.2 Release 4(11.2.0.3.0) which states that it includes the Oracle Instant Client 11.2.0.3.0

      However I noticed the oci.dll is 11.2.0.1

      I'm trying (unsuccessfully) to deploy a (EF-MVC) app using instant client, but I keep getting The provider is not compatible with the version of Oracle client.

      Thanks
        • 1. Re: Newbie question on Instant Client
          Laurenz Albe
          I think that the file version of oci.dll does not reflect the client version - it just remains on 11.2.0.1.

          You can compile the following C code and link it with oci.dll:
          #include <stdio.h>
          #include <oci.h>

          int main(int argc, char **argv) {
          sword major_version=(sword)0;
          sword minor_version=(sword)0;
          sword update_num=(sword)0;
          sword patch_num=(sword)0;
          sword port_update_num=(sword)0;

          OCIClientVersion(&major_version, &minor_version,
          &update_num, &patch_num, &port_update_num);
          printf("Client version: %d.%d.%d.%d.%d\n",
          major_version, minor_version,
          update_num,patch_num, port_update_num);
          return 0;
          }
          If you run it, it will tell you the client version.

          Yours,
          Laurenz Albe