Oracle Client compatibility?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
olivier.rx

Oracle Client compatibility?

Post by olivier.rx » Tue 14 Dec 2004 13:03

Hello,

My application works fine with on stations with Oracle client for Oracle 9i (OraHome91).
But not on some others with the Oracle Client v8.1 (OraHome81).
Is it the self cause? I don't know now.

I have a question:
Are the OraDirect CoreLab components v2.40 compatibles with the Oracle Client v8.1?
Note: My Oracle Database is a 9i.

Firstly, I have an error relating some OCI calling problem.
But all tasks are done successfully.

Then, I have this error:

System.NullReferenceException: Object reference not set to an instance of an object.
at DynamicType.nativeOCIHandleAlloc(HandleRef , IntPtr& , UInt32 , UInt32 , UInt32 )
at DynamicType.OCIHandleAlloc(HandleRef , IntPtr& , UInt32 , UInt32 , UInt32 )
at CoreLab.Oracle.OracleCommand.c(String A_0)
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, Int32 A_1, Boolean A_2, Int32 A_3, Int32 A_4, Int32& A_5)
at CoreLab.Oracle.OracleCommand.ExecuteNonQuery()
at CoreLab.Oracle.OracleTransaction..ctor(OracleConnection A_0, IsolationLevel A_1)
at CoreLab.Oracle.OracleConnection.BeginTransaction(IsolationLevel iso)
at CoreLab.Oracle.OracleConnection.BeginTransaction()
at ...

Thank you.

olivier.rx

Oracle Client compatibility? suite

Post by olivier.rx » Tue 14 Dec 2004 13:05

I have this problem only if the connection Pooling is set to False in the ConnectionString.

Oleg
Devart Team
Posts: 264
Joined: Thu 28 Oct 2004 13:56

Re: Oracle Client compatibility? suite

Post by Oleg » Tue 14 Dec 2004 15:45

OraDirect .NET is compatible with Oracle Client 8.1.
Suppose, the problem is that you work with different Oracle Homes simultaneously from the same process.
You can test it in the following way: restart your server, run your application only with single connection to Oracle 8.1.

Post Reply