L
Leigh Kendall
I'm experiencing some very strange behavior with the .NET managed provider
for Oracle 1.1.
We have an Oracle 8.x database with a dblink that points to SQL Server 7. We
have some views and stored procedures that are based on these linked tables.
Selecting from the views and running the stored procedures in a PL/SQL tool
(such as PL/SQL Developer or Toad) works fine.
However, the problem is when we try to access them from the managed Oracle
provider. We get an Oracle error returned: "ora-02041: client database did
not begin a transaction".
If we change the dblink to point to another Oracle server/table, we can get
things to work, AS LONG as we preface things in Oracle with a set
transaction read only statement. When we repoint the DBlink back to SQL
Server, things stop working again and we get the error above.
If we use the System.Data.OleDb driver instead of the
System.Data.OracleClient provider, NO PROBLEMS whatsoever!
Anyone ever run into this or having any workarounds? Is this just some sort
of limitation in the 1.1 managed provider for Oracle?
TIA,
for Oracle 1.1.
We have an Oracle 8.x database with a dblink that points to SQL Server 7. We
have some views and stored procedures that are based on these linked tables.
Selecting from the views and running the stored procedures in a PL/SQL tool
(such as PL/SQL Developer or Toad) works fine.
However, the problem is when we try to access them from the managed Oracle
provider. We get an Oracle error returned: "ora-02041: client database did
not begin a transaction".
If we change the dblink to point to another Oracle server/table, we can get
things to work, AS LONG as we preface things in Oracle with a set
transaction read only statement. When we repoint the DBlink back to SQL
Server, things stop working again and we get the error above.
If we use the System.Data.OleDb driver instead of the
System.Data.OracleClient provider, NO PROBLEMS whatsoever!
Anyone ever run into this or having any workarounds? Is this just some sort
of limitation in the 1.1 managed provider for Oracle?
TIA,