Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Managed ODP.Net Beta 2: ORA-03111

290833Apr 19 2013 — edited May 3 2013
I am trying a small test project with the new ODP.NET Managed Driver Beta 2.

I have installed using configure.bat and I am trying to connect to an Oracle 10.1 instance.

On the call to OracleConnection.Open() the following exception is thrown:

"ORA-03111: Break received on communication channel"

StackTrace:
   at Oracle.ManagedDataAccess.Client.OracleException.HandleError(OracleTraceLevel level, OracleTraceTag tag, Exception ex)
   at OracleInternal.ServiceObjects.OracleConnectionImpl.DoDataTypeNegotiation()
   at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession)
   at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd)
   at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd)
   at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword)
   at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
   at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
   at ConsoleApplication5.Program.Main(String[] args)
Testing program source:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oracle.ManagedDataAccess.Client;

namespace ConsoleApplication5
{
    class Program
    {
        static void Main(string[] args)
        {
            string connstring = "User Id=scott;Password=tiger;Data Source=testserver:1521/testservice";
            var conn = new Oracle.ManagedDataAccess.Client.OracleConnection(connstring);
            conn.Open();
            conn.Close();
            Console.ReadLine();
        }
    }
}
Server version:
scott@TESTSERVICE(196)> select * from v$version
  2  /

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Prod
PL/SQL Release 10.1.0.5.0 - Production
CORE    10.1.0.5.0      Production
TNS for 32-bit Windows: Version 10.1.0.5.0 - Production
NLSRTL Version 10.1.0.5.0 - Production
Any ideas?
This post has been answered by Alex Keh-Oracle on Apr 19 2013
Jump to Answer

Comments

Alex Keh-Oracle
Answer
ODP.NET, Managed Driver supports connecting to Oracle DB server 10.2 or higher. It does not support DB 10.1.
Marked as Answer by 290833 · Sep 27 2020
290833
I thought that might be the case, thanks.
994429
Are there any plans to support 10.1 with managed driver? My production is running 10.1 and knowing the company it will take years to upgrade database. I would really love to keep using managed driver instead of native wrapper, but it must support 10.1. Please advise.
Alex Keh-Oracle
There are no plans to support 10.1 DB server, only 10.2 and higher. This policy applies to all Oracle 12 clients, not just managed ODP.NET.
994429
Thanks Alex, for that project it seems like I have no choice but to skip managed ODP.NET option and face dual 32/64 bit builds.
Keep improving it though, I would like to use managed only provider in future.
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 31 2013
Added on Apr 19 2013
5 comments
12,955 views