ODP driver version?

4 posts, 0 answers
  1. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 17 Nov 2010 Link to this post

    In the programmers guide, it says that the minimal version should be 2.102.2.20.

    Our version is 2.112.1.2 but it still throws exception like the attached image.

    Any comment?

    Best regards,
    shortie
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 17 Nov 2010 Link to this post

    Hello ChunChang,
    Did you install the ODP driver? That should additionally add a policy file to the GAC that redirects the version. If you are deploying the Oracle.Data.dll with your application you have to place the binding redirect into your applications config file.

    Regards,
    Jan Blessenohl
    the Telerik team
    See What's New in Telerik OpenAccess ORM in Q3 2010!
    Monday, November 15, 11 am Eastern Time: Register here>>
    Monday, November 15, 10 pm Eastern Time: Register here>>
  3. DevCraft banner
  4. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 18 Nov 2010 Link to this post

    Hello Jan,

    I've found the solution of my problem. My notebook runs windows 7 ultimate and both x86/x64 odp.net clients installed in my system. Somehow only x64 version of policy DLLs got installed in the GAC. After running:
    1. C:\app\user\product\11.2.0\client_1\ODP.NET\PublisherPolicy\2.x>"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil" -i Policy.2.102.Oracle.DataAccess.dll
    2. C:\app\user\product\11.2.0\client_1\ODP.NET\PublisherPolicy\2.x>"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil" -i Policy.2.111.Oracle.DataAccess.dll
    I can run orm wizard in vs2008 without any problem.
    Thanks for your help.

    PS. my x86 client is installed in client_1 and x64 client is installed in client_2.

    BR/shortie
  5. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 19 Nov 2010 Link to this post

    Hello ChunChang,

     We are happy that you have found a solution to your problem.
    Please do not hesitate to contact us should any further difficulties arise.

    Best wishes,
    Petar
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Back to Top