This is a migrated thread and some comments may be shown as answers.

ODP driver version?

3 Answers 77 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
shortie
Top achievements
Rank 2
shortie asked on 17 Nov 2010, 10:12 AM
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

3 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 17 Nov 2010, 01:22 PM
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>>
0
shortie
Top achievements
Rank 2
answered on 18 Nov 2010, 03:47 PM
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
0
PetarP
Telerik team
answered on 19 Nov 2010, 12:02 PM
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.
Tags
Databases and Data Types
Asked by
shortie
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
shortie
Top achievements
Rank 2
PetarP
Telerik team
Share this question
or