Hello!
I am using OCI.
dotConnect for Oracle on x64 Windows with x86 Oracle Client says:
System.InvalidOperationException: Cannot obtain Oracle Client information from registry. Make sure that Oracle Client Software is installed, or use the Direct mode when connecting to server.
bei Devart.Data.Oracle.OracleHomeCollection.a()
bei Devart.Data.Oracle.OracleInternalConnection..ctor(s connectionOptions, OracleInternalConnection proxyConnection)
bei Devart.Data.Oracle.ay.a(ab A_0, Object A_1, DbConnectionBase A_2)
x64 Oracle-Client works. Can't i use x86 Oracle Client?
dotConnect for Oracle on x64 Windows with x86 Oracle Client
-
- Posts: 10
- Joined: Sat 01 Dec 2012 08:53
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: dotConnect for Oracle on x64 Windows with x86 Oracle Client
Yes, you can. The bitness (x86 or x64) of your application and the bitness of your Oracle Client must be the same.patrasch79 wrote:Can't i use x86 Oracle Client?
If your application is x86, Oracle Client must also be x86. If your application is executed as an x64 application, Oracle Client also must be x64. Thus, in order to use an x86 Oracle Client, you should set Platform target property value to x86 in your project properties.
-
- Posts: 10
- Joined: Sat 01 Dec 2012 08:53
Re: dotConnect for Oracle on x64 Windows with x86 Oracle Client
So "Any CPU"-Configuration will not work?
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: dotConnect for Oracle on x64 Windows with x86 Oracle Client
Application with the "Any CPU" configuration can be run both as x86 or as x64 on an x64 computer in different cases. If you know the bitness of Oracle Client on the target computer, it's better to specify the bitness of your application explicitly in order to have the same bitness of the application and of Oracle Client.