This discussion is archived
1 Reply Latest reply: Apr 2, 2012 12:43 AM by LaurenzAlbe RSS

Newbie question on Instant Client

927565 Newbie
Currently Being Moderated
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
    LaurenzAlbe Journeyer
    Currently Being Moderated
    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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points