Oracle.ManagedDataAccess - ora-12537

Hi,
I have problems with .net 4.0 WPF application. Everything working ok on developer machine and on tests virtual machines. I have just problem on one laptop. I tried different approaches but nothing helping.
I'm using connection string like:
string conn = ser Id=secret_user;Password=secret_password;Data Source=" +
"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.7.46)" +
"(PORT=1523))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=HDPROD)))";
or publishing app with tnsnames.ora and sqlnet.ora files and using connections strings like:
string conn = "User Id=secret_user;Password=secret_password;Data Source=HDPROD"
And everything is ok on my developer pc, test virtual machines, but im keep getting error: ora-12537 on one of laptops.
Any ways to fix it?
Regards,
Bart.

I added following settings in app.config file
  <configSections>
    <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess" />
  </configSections>
  <oracle.manageddataaccess.client>
    <version number="*">
      <settings>
        <setting name="SQLNET.AUTHENTICATION_SERVICES" value="all"/>
        <setting name="NAMES.DIRECTORY_PATH" value="ezconnect"/>
      </settings>
    </version>
  </oracle.manageddataaccess.client>
Still failed, sometimes it throws "ORA-12537: Network Session: End of file", sometimes throws "ORA-03135: Connection lost contact".
As ORA-12537 after change to Oracle.ManagedDataAcess.dll mentioned, it works without any problem with the unmanaged library.Please advice, thx.

Similar Messages

  • Exception ORA-12537: Network Session: End of file, Oracle.ManagedDataAccess

    My environment:
    > Oracle 11g expression edition in Win7 ("DevDB")
    > Oracle 11g in non-Windows platform ("ProDB")
    > Oracle.ManagedDataAccess.dll (file version is 4.121.1.0, product version is 4.121.1.20131211)
    > Instant client sqlplus
    If I use sqlplus to connect "DevDB" and "ProDB" with following command, both DBs can be connected successfully.
    > sqlplus someUser@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx)(PORT=1521))(CONNECT_DATA=(SID=DBSID)))
    If I use following codes with Oracle.ManagedDataAccess.dll to connect DBs.
    string connectionString = "User Id=someUser;Password=somePwd;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx)(PORT=1521))(CONNECT_DATA=(SID=DBSID)))";
    OracleConnection con = new OracleConnection(connectionString);
    try{
      con.Open();
    } catch (Exception e) {
      Console.WriteLine(e.Message);
      Console.WriteLine(e.StackTrace);
    } finally {
      if (con != null)
      con.Dispose();
    It can connect to "DevDB" successfully. However, when I try to connect "ProDB", it throws following exception.
    ORA-12537: Network Session: End of file
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
       at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
    Any tips to fix this problem?
    Thanks

    I added following settings in app.config file
      <configSections>
        <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess" />
      </configSections>
      <oracle.manageddataaccess.client>
        <version number="*">
          <settings>
            <setting name="SQLNET.AUTHENTICATION_SERVICES" value="all"/>
            <setting name="NAMES.DIRECTORY_PATH" value="ezconnect"/>
          </settings>
        </version>
      </oracle.manageddataaccess.client>
    Still failed, sometimes it throws "ORA-12537: Network Session: End of file", sometimes throws "ORA-03135: Connection lost contact".
    As ORA-12537 after change to Oracle.ManagedDataAcess.dll mentioned, it works without any problem with the unmanaged library.Please advice, thx.

  • Oracle.ManagedDataAccess raise ORA-03135: Connection lost contact

    Hi,
    I am trying to connect to Oracle RAC using Oracle.ManagedDataAccess.dll 4.121.2.0 (latest release)
    All instances fail to run and raise the exception OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
    Except one instance it works fine…, I want to know what is the difference that made it run…, also I was able to connect using the unmanaged driver and the old driver and using sqlplus..
    The DBA sees the connection with this error:
    opiodr aborting process unknown ospid (6904) as a result of ORA-609
    Below the code, App.config, and Trace result, I am showing both the bad connection (badConn) and good connection (goodConn)
    Code:
    string constr1 = "DATA SOURCE=badConn;"; // or GoodConn;
    string constr2 = "USER ID=scott;Password=tiger;";
    string constr3 = "persist security info=True;Self Tuning=True;Min Pool Size=3;Max Pool Size=12;Incr Pool Size=3;Decr Pool Size=1;Connection Timeout=20;Connection Lifetime=59;";
                Oracle.ManagedDataAccess.Client.OracleConnection conn1;
    string constr = constr1 + constr2;// +constr3; I tried with and without the third part
    using (conn1 = new Oracle.ManagedDataAccess.Client.OracleConnection(constr))
    try
                        conn1.Open();
    Console.WriteLine(constr1 + "  connected sucessfully...");
    catch (Exception e)
    Console.WriteLine(e.Message);
    //throw;
    Configuration file:
      <oracle.manageddataaccess.client>
        <version number="4.121.2.0">
          <dataSources>
            <dataSource alias="badConn" descriptor="(DESCRIPTION =
              (ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=1593)))
              (CONNECT_DATA =(SERVICE_NAME= oclp1)))"/>
            <dataSource alias="GoodConn" descriptor="(DESCRIPTION = (ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=address.com)(PORT=1582)))(CONNECT_DATA = (SERVICE_NAME= oclp2)))"/>
          </dataSources>
          <settings>
            <setting name="TNS_ADMIN" value="D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\" />
            <setting name="ORACLE_HOME" value="D:\Oracle\product\product\12.1.0\client_1" />
            <setting name="TraceLevel" value="7" />
            <setting name="TraceFileLocation" value="D:\"/>
          </settings>
        </version>
      </oracle.manageddataaccess.client>
    Trace result
    Good connection:
    2015-04-20 19:51:38.231722 TID:11  (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 19:51:38.235722 TID:11  (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=23686174)
    2015-04-20 19:51:38.237722 TID:11  (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:31609076) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.259725 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:1)
    2015-04-20 19:51:38.324731 TID:11  (NET) (REC) 00 00 00 00 00 00 00 00   |........|
    2015-04-20 19:51:38.325731 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:2)
    2015-04-20 19:51:38.325731 TID:11  (NET)      NS Handshake completed successfully
    2015-04-20 19:51:38.325731 TID:11  (NET)      Negotiated SDU size = 8192
    2015-04-20 19:51:38.326731 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:3)
    2015-04-20 19:51:38.326731 TID:11  (PRI) (BUF) (OBP.GET) (poolid:31609076) (key:8192) (bufid:3) (count:0) (ConOraBufPool.Init)
    2015-04-20 19:51:38.327731 TID:11  (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:3) (count:1) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.328732 TID:11  (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:10) (count:8) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.330732 TID:11  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:7) (OraBufWriter.Initialize)
    2015-04-20 19:51:38.331732 TID:11  (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 19:51:38.331732 TID:11  (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 00 1D 00 00 06 00 00 00   |........|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 00 00                     |..      |
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 01 06 00 4F 44 50 2E 4E   |...ODP.N|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 45 54 5F 4D 61 6E 61 67   |ET_Manag|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 65 64 00                  |ed.     |
    2015-04-20 19:51:38.334732 TID:11  (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 19:51:38.335732 TID:11  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:9) (count:6) (OraBufReader.GetDataFromNetwork)
    2015-04-20 19:51:38.336732 TID:11  (NET) (REC) New receive packet. Header:
    Bad connection: (The yellow part is exactly the same for both connection)
    2015-04-20 21:42:09.269759 TID:8   (CFG) (SQLNET)   SQLNET.ENCRYPTION_CLIENT : required
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.AUTHENTICATION_SERVICES : (NTS)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.CRYPTO_SEED : ….
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.EXPIRE_TIME : 0
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.INBOUND_CONNECT_TIMEOUT : 500
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SSL_VERSION : 1.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      Machine Name : abcd
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      User Name : scott
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      64-bit OS : True
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      64-bit Process : True
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      .NET Runtime Version : 4.0.30319.18444
    2015-04-20 21:42:09.308763 TID:8   (CFG) (VER)      Oracle Data Provider for .NET, Managed Driver Version : 4.121.2.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (VER)      Oracle Data Provider for .NET, Managed Driver Informational Version : 4.121.2.20141216 ODAC RELEASE 3
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.INBOUND_CONNECT_TIMEOUT : 500
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     PerformanceCounters : 4095
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SSL_VERSION : 1.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TraceFileLocation : D:\
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     ORACLE_HOME : D:\Oracle\product\product\12.1.0\client_1
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.AUTHENTICATION_SERVICES : (NTS)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.CRYPTO_SEED : ….
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TraceLevel : 7
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TNS_ADMIN : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\ (I update it)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.ENCRYPTION_CLIENT : required
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.EXPIRE_TIME : 0
    2015-04-20 21:42:09.316764 TID:8   (CFG) (TNSNAMES) OFSP : ….
    2015-04-20 21:42:09.350767 TID:8   (CFG) (SQLNET)   FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\sqlnet.ora
    2015-04-20 21:42:09.350767 TID:8   (CFG) (TNSNAMES) FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\tnsnames.ora
    2015-04-20 21:42:09.350767 TID:8   (PUB) (ENT) OracleConnection.ctor()
    2015-04-20 21:42:09.357768 TID:8   (PRI) (ENT) (CP) ConnectionString.GetCS()
    2015-04-20 21:42:09.362769 TID:8   (PRI) (ENT) (CP) ConnectionString.ctor()
    2015-04-20 21:42:09.375770 TID:8   (PRI) (ENT) (CP) ConnectionString.Parse()
    2015-04-20 21:42:09.388771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.Parse()
    2015-04-20 21:42:09.390771 TID:8   (PRI) (EXT) (CP) ConnectionString.ctor()
    2015-04-20 21:42:09.390771 TID:8   (PRI) (EXT) (CP) ConnectionString.GetCS()
    2015-04-20 21:42:09.390771 TID:8   (PUB) (EXT) OracleConnection.ctor()
    2015-04-20 21:42:09.435776 TID:8   (PUB) (ENT) OracleConnection.Open() (conid=295723) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
    2015-04-20 21:42:09.441777 TID:8   (PRI) (ENT) (CP) OracleConnectionDispenser`3..cctor()
    2015-04-20 21:42:09.442777 TID:8   (PRI) (EXT) (CP) OracleConnectionDispenser`3..cctor()
    2015-04-20 21:42:09.443777 TID:8   (PRI) (ENT) (CP) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:09.448777 TID:8   (PRI) (ENT) (CP) PoolManager`3.ctor()
    2015-04-20 21:42:09.449777 TID:8   (PRI) (EXT) (CP) PoolManager`3.ctor()
    2015-04-20 21:42:09.454778 TID:8   (PRI) (ENT) (CP) PoolManager`3.Initialize() (constr=DATA SOURCE=badConn;USER ID=Scott;)
    2015-04-20 21:42:09.457778 TID:8   (PRI) (ENT) (CP) ConnectionString.Secure()
    2015-04-20 21:42:09.457778 TID:8   (PRI) (EXT) (CP) ConnectionString.Secure()
    2015-04-20 21:42:09.474780 TID:8   (PRI) (EXT) (CP) PoolManager`3.Initialize() (pmid=48657371) (constr=DATA SOURCE=badConn;USER ID=scott;)
    2015-04-20 21:42:09.475780 TID:8   (PRI) (BUF) (OBP.CTOR) (poolid:55492274) (OracleConnectionDispenser`3.GetPM)
    2015-04-20 21:42:09.482781 TID:8   (PRI) (ENT) (CP) OraclePoolManager.Get()
    2015-04-20 21:42:09.499782 TID:8   (PRI) (ENT) (CP) PoolManager`3.Get() (txnid=n/a) (bForceMatch=F)
    2015-04-20 21:42:09.505783 TID:8   (PRI) (ENT) (CP) PoolManager`3.CreateNewPR() (txnid=n/a)
    2015-04-20 21:42:09.726805 TID:8   (PRI) (ENT) TimeStamp.GetLocalTZOffset()
    2015-04-20 21:42:09.726805 TID:8   (PRI) (EXT) TimeStamp.GetLocalTZOffset()
    2015-04-20 21:42:09.738806 TID:8   (PRI) (ENT) (CP) ConnectionString.GetStringFromSecureString()
    2015-04-20 21:42:09.738806 TID:8   (PRI) (EXT) (CP) ConnectionString.GetStringFromSecureString()
    2015-04-20 21:42:09.766809 TID:10  (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 21:42:09.780810 TID:10  (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:09.782811 TID:10  (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:55492274) (OracleConnectionImpl.Connect)
    2015-04-20 21:42:09.827815 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:1)
    2015-04-20 21:42:09.837816 TID:10  (NET) (SND) 00 3A 00 00 01 00 00 00   |.:......|
    2015-04-20 21:42:09.922825 TID:10  (NET) (REC) 00 00 00 00 00 00 00 00   |........|
    2015-04-20 21:42:09.925825 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:3)
    2015-04-20 21:42:09.925825 TID:10  (NET)      NS Handshake completed successfully
    2015-04-20 21:42:09.925825 TID:10  (NET)      Negotiated SDU size = 8192
    2015-04-20 21:42:09.933826 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:4)
    2015-04-20 21:42:09.934826 TID:10  (PRI) (BUF) (OBP.GET) (poolid:55492274) (key:8192) (bufid:4) (count:0) (ConOraBufPool.Init)
    2015-04-20 21:42:09.944827 TID:10  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:11) (count:7) (OraBufWriter.Initialize)
    2015-04-20 21:42:09.946827 TID:10  (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:09.947827 TID:10  (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 21:42:09.948827 TID:10  (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
    2015-04-20 21:42:09.948827 TID:10  (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
    2015-04-20 21:42:09.949827 TID:10  (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 00 1D 00 00 06 00 00 00   |........|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 00 00                     |..      |
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 01 06 00 4F 44 50 2E 4E   |...ODP.N|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 45 54 5F 4D 61 6E 61 67   |ET_Manag|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 65 64 00                  |ed.     |
    2015-04-20 21:42:09.957828 TID:10  (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.962829 TID:10  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:6) (OraBufReader.GetDataFromNetwork)
    2015-04-20 21:42:09.996832 TID:10  (PRI) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.999832 TID:10  (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.999832 TID:10  (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:09.999832 TID:10  (PRI) (EXT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (TTC) (EXT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.009833 TID:10  (PRI) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (SVC) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (ENT) OracleConnectionImpl.Connect()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, String instanceName)
    2015-04-20 21:42:10.019834 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.019834 TID:10  (PRI) (EXT) OracleConnectionImpl.Connect()
    2015-04-20 21:42:10.028835 TID:10  (PRI) (SVC) (EXT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:10.028835 TID:10  (PRI) (EXT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ENT) PoolManager`3.CreateNewPR()
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.045837 TID:8   (PRI) (EXT) PoolManager`3.CreateNewPR()
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) (CP) PoolManager`3.CreateNewPR() (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) (CP) PoolManager`3.Get() (txnid=n/a) PM.Get(aff=;force=F) returning (null)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ENT) OraclePoolManager.Get()
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) OraclePoolManager.Get()
    2015-04-20 21:42:10.067839 TID:8   (PRI) (EXT) (CP) OraclePoolManager.Get() (txnid=n/a)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ENT) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (EXT) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:10.093842 TID:8   (PRI) (EXT) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a)
    2015-04-20 21:42:10.093842 TID:8   (PRI) (ENT) OracleConnection.Open()
    2015-04-20 21:42:10.093842 TID:8   (PUB) (ERR) OracleConnection.Open() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
       at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
    2015-04-20 21:42:10.093842 TID:8   (PUB) (ERR) OracleConnection.Open() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.093842 TID:8   (PRI) (EXT) OracleConnection.Open()
    2015-04-20 21:42:10.110843 TID:8   (PUB) (EXT) OracleConnection.Open() (conid=11111) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
    Cheers,
    Muhammad

    Hi,
    Please open the alert log and check for ora-600 or ora-7445 error. if you are getting then paste the query and call stack information.
    Sorry last time i, was not logged in :)
    Kind Regards,
    Rakesh Jayappa
    Edited by: user9243284 on Sep 15, 2010 5:30 AM

  • ORA-12537 error in Oracle 8.1.7

    We have an Oracle Application Server and an Oracle DB Cluster communicating over a Firewall between two VLANS.
    Sometimes we get the error ORA-12537 "TNS: connection closed". The oracle documentation says this is just an
    information message and no action is required but we have to restart all oracle processes on the application server.
    Can anyone tell me what's the cause of our problem and how can I avoid restarting the oracle processes
    on the application server when the error occurs?

    Make sure you set the NLS_LANG environment variable properly on the WebLogic
    server environment. Search this newsgroup for NLS_LANG.
    hth
    sree
    "Sathu" <[email protected]> wrote in message
    news:3c4699f6$[email protected]..
    Hi,
    We are using jDrivers of Weblogic to connect to oracle , when we did
    testing on Oracle 8.1.7 with UTF8 for the Update Statements we got the error
    message ORA-01461 can bind a LONG value only for insert into a LONG column.
    All the columns in the table are varchar2. Any Solution to this problem?
    Thanks

  • ORA-12537 During ABAP Preprocessing on EHPI Install/Upgrade

    I have a dual Netweaver BI stack at SP 18 and have started an EHP1 Upgrade with the latest stack (701 SP4). After six hours into ABAP Pre-processing it comes out with a message
    Severe Error code -1 during analysis of logfiles matching PN....\<SID>.
    Looking at the EHPI/abap/log I find that the while running the EXSTATE ORA it had issues running the SQL. My r3trans -d fails with an "ORA-12537 - End of file condition has reached". SAP is up with users logged on, but as ORASID or SIDADM my SQLPLUS connect /as sysdba says connecting to an IDLE instance, the Instance is running fine.  The permissions on oracle have not changed and are -rwsr-s--x.
    Any clues what could have gone wrong? If I have to stop Oracle I will have to kill the daemons since I can't logon to sqlplus as sysdba now.

    Hi Bhan,
    Could you please check whether your processes and sessions parameters at oracle are set properly ?
    also, please check by running BRTOOLS and try to check space in tablespaces and if BRtools is showing error then you must increase processes and sessions parameters at oracle ?
    Also, could you please attach the log file ?
    Thanks
    Sunny

  • Receiving ORA-12537  TNS issue....what else can I do?

    HPUX
    10.2.0.3
    I've started getting these errors on my database. However, nothing was being reported in my alert log. I did the research and found a bug that could cause this, with a patch. Also found that the same patch was in the 10.2.0.3 patch set.
    So I updated to that patch last night. STILL getting the same errors...but now I'm getting new errors...
    Wed Apr 1 09:00:14 2009
    Process m000 died, see its trace file
    Wed Apr 1 09:00:14 2009
    ksvcreate: Process(m000) creation failed
    Wed Apr 1 09:00:33 2009
    Process J000 died, see its trace file
    Wed Apr 1 09:00:33 2009
    kkjcre1p: unable to spawn jobq slave process
    Wed Apr 1 09:00:33 2009
    Errors in file /opt/oracle/admin/peregrine/bdump/peregrine_cjq0_11720.trc:
    So I open up the trace file...
    only contents...
    /opt/oracle/admin/peregrine/bdump/peregrine_cjq0_11720.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /opt/oracle/product/10.2.0/db_1
    System name: HP-UX
    Node name: vscdsh01
    Release: B.11.23
    Version: U
    Machine: ia64
    Instance name: peregrine
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Unix process pid: 11720, image: oracle@vscdsh01 (CJQ0)
    *** SERVICE NAME:(SYS$BACKGROUND) 2009-04-01 09:00:01.694
    *** SESSION ID:(382.1) 2009-04-01 09:00:01.694
    *** 2009-04-01 09:00:01.694
    Process J000 is dead (pid=1288, state=3):
    *** 2009-04-01 09:00:07.844
    Process J000 is dead (pid=1673, state=3):
    *** 2009-04-01 09:00:33.940
    Process J000 is dead (pid=2201, state=3):
    I looked up that string of text...googled it...came back with nothing.
    How else can I investigate this ORA-12537 error? This is my production db, and it's down.
    I checked the memory that one article indicated could be of issue...memory is fine.
    It also mentioned versions of listener, I'm looking into that right now on how to see what version and how to update it. I'm also going to open a SR with Oracle.
    Thanks.

    Ok...tried to log back in (no other actions taken) and it was a normal log in...that's really weird.
    The db was never down...it's functional. Just some folks can't get to it. (not the same people all the time..)
    show sga:
    SQL> show sga
    Total System Global Area 5083496448 bytes
    Fixed Size 2052400 bytes
    Variable Size 436211408 bytes
    Database Buffers 4630511616 bytes
    Redo Buffers 14721024 bytes
    SQL> show parameter proces
    NAME TYPE VALUE
    aq_tm_processes integer 0
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 10
    log_archive_max_processes integer 30
    processes integer 350
    SQL> show parameter transaction
    NAME TYPE VALUE
    transactions integer 429
    transactions_per_rollback_segment integer 5
    excerpt from print_manifest
    Kernel Configuration
    The following drivers or parameters are configured into your system's
    kernel. After installing HP-UX, use the sam(1m) command to configure
    the following items into the kernel:
    dbc_max_pct 10
    vps_ceiling 64
    shmmni 512
    semmnu 4096
    semmns 8192
    semmni 4096
    ninode 34816
    ncsize 34816
    msgseg 32767
    msgmni 4096
    msgtql 5000
    cmc_plat_poll 15
    nstrpty 60
    max_thread_proc 1200
    maxssiz 134217728
    maxssiz_64bit 1073741824
    maxuprc 3687
    msgmap 4098

  • Oracle.ManagedDataAccess.Client Operating System Authentication

    Hi.
    I am trying to get OSA to work with Oracle.ManagedDataAccess.Client, is this not supported?
    I get the following Error: ORA-01017: invalid username/password; logon denied
    Here are some of the variations of connection string, I have been testing with.
    Data Source=BLA.BLA.COM;
    Data Source=BLA.BLA.COM;User Id=/;
    Data Source=BLA.BLA.COM;Integraded Security=SSPI;
    Data Source=BLA.BLA.COM;Trusted Connection=True;
    Data Source=BLA.BLA.COM;User Id=/;Integraded Security=SSPI;
    Data Source=BLA.BLA.COM;User Id=/;Trusted Connection=True;
    Integrated Security and Trusted Connection gives me, unknown or illegal connection string attribute errors.
    My first assumption would be that my Operating System Account doesn't have access to the Oracle Database I am trying to log on to.
    But I am fully capable of connecting to the database with OSA with sqlplus, sqldeveloper and toad.
    Can somebody explain to me why this isn't working? And what I may do to fix it?
    It may be worth mentioning that I am trying to use the 12c x86 ODP.NET Managed Provider, against 11g/11.2 Oracle Databases.

    That's correct. Kerberos is not currently supported by managed ODP.NET. We are working to support this feature, but don't have an ETA on when it will be available.
    What company or organization is requesting this feature?
    I believe there's an open feature request for Kerberos support in the Oracle .NET Feature Request Tool. Fee free to add your vote to this request.

  • ORA-12537

    Hi friends,
    I have a 3rd party application that is running on Oracle 10g DB (Aix 5L). It has been running smoothly for 1 month now.
    But suddenly today it hit this ORA-12537?
    Which of the following is near to this scenario? or do you have other ideas?
    What to do with ORA-12537: TNS: connection closed error
    The ORA-12537 is an information message and means that the connection has been closed. This can be caused by a number of reasons:
    1. Database is shut down (maybe for nightly backup), but connection to database was kept by client.
    2. A time-out occurred on the client-connection.
    3. When firewall closes idle connections.
    3. A configuration problem in sqlnet.ora or listener.ora.
    4. You have a path name that is too long for the Oracle TNS client on windows. (MetaLink Note:263489.1 )
    This issue is due to the connection string being large enough that the connection packet is being split into two packets and then sent to the listener. There are several workarounds for the issue.
    a. Install the exe in a shorter named directory.
    b. Modify the TNS Names entry so that it is shorter.
    c. Replace domain names with IP Addresses if that shortens and vice versa.
    d. Remove any parameters from the entry that are not needed.
    e. Patch the Database Listener to the most recent version.
    5. Oracle security is enables (for example in Oracle Apps). Solution either:
    a) Edit sqlnet.ora file and add your client-ip to tcp.invited_nodes.
    b) Remove secutity by editing sqlnet.ora and comment out parameter tcp.validnode_checking = yes by adding # at the beginning of the line.***Courtesy of Oradev.Com
    What do you mean by #1 "kept silent"?
    All of the above will fail at first day of implem, but its been running for 1 month now :(
    Thanks a lot
    Ms K
    Edited by: ytterp2009 on Jun 4, 2010 6:44 PM
    Edited by: ytterp2009 on Jun 4, 2010 6:50 PM changing "dear" to "friend"

    ytterp2009 wrote:
    Thanks everyone, God Bless :)Just a piece of advice on the side ...
    First, I'll be the first to admit that your English is far better than my <whatever your native language is>. But as you strive to improve your English, you might want to be aware of bit of implicit meaning that probably won't be found in your dictionary.
    To native English speakers, the term "dear" when addressing someone is usually reserved for someone with which you have some romantic relationship. It's a term I would use to address my wife, not a friend. Not even a very close friend. Certainly not a bunch of strangers. It's a term of endearment, not friendship or collegiality.
    Actually, this is one of those tricky things about usage in English. In traditional formal writing, opening a letter with the term "Dear Fred" (using the persons name) is standard practice but seems to be falling out of usage except in business letters. But to address someone as "Dear" without their name gets into the perception of "endearment" vs. "collegiality".
    Please take this comment in the spirit of trying to help improve communications, not criticism. No offense was take by your repeated use of "dear", and no apology is needed.
    Edited by: EdStevens on Jun 4, 2010 7:18 AM

  • How do i troubleshoot ORA-12537

    Hi Friends,
    I got ora-12537 where i sqlplus system/manager@vis from my client windows xp
    to my database server linux oracle 9i .
    C:\Documents and Settings\user01>sqlplus system/manager@vis
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 7 19:27:39 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    My clients TNSNAMES.ORA
    ======================
    VIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vision.abc.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = VIS)
    (INSTANCE_NAME = VIS)
    My Clients SQLNET.ORA
    =======================
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    My Server's LISTENER.ORA
    =======================
    VIS =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= IPC)(KEY= EXTPROCVIS))
    (ADDRESS= (PROTOCOL= TCP)(Host=vision.abc.com)(Port= 1521))
    SID_LIST_VIS =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME= /u02/oracle/visdb/9.2.0)
    (SID_NAME = VIS)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u02/oracle/visdb/9.2.0)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_VIS = 0
    CONNECT_TIMEOUT_VIS = 10
    TRACE_LEVEL_VIS = OFF
    LOG_DIRECTORY_VIS = /u02/oracle/visdb/9.2.0/network/admin
    LOG_FILE_VIS = VIS
    TRACE_DIRECTORY_VIS = /u02/oracle/visdb/9.2.0/network/admin
    TRACE_FILE_VIS = VIS
    ADMIN_RESTRICTIONS_VIS = OFF
    My server's SQLNET.ORA
    ======================
    NAMES.DIRECTORY_PATH=(TNSNAMES, ONAMES, HOSTNAME)
    SQLNET.EXPIRE_TIME= 10
    tcp.validnode_checking = yes
    tcp.invited_nodes=(vision.abc.com)
    IFILE=/u02/oracle/visdb/9.2.0/network/admin/VIS_vision/sqlnet_ifile.ora
    Please help.....thanks a lot

    Hi,
    Thanks, I commented it and it worked :)
    But EBS R11 put it by default I wonder if It has some
    effect from Oracle Applications. Anyways I have to
    return it back if it affects the applications.It is enabled for security reasons in Oracle Apps 11.5.10. It will not disrupt the running of the application, but security is reduced because you are now allowing all cliens to connect. To maintain the security, you need to add client to the list instead of comment it out.
    Do you know what FND_SQLNET_ACCESS is set to?

  • ORA-12537: TNS Connectio Closed

    Hi,
    I have Production Database Servers. The name of Production Databse Server is CB02DB1 on which we are running Oracle 9i Release 2 (64 Bit) version. This database contain our ERP database and we want to restrict some users to access databse. For this Purpose I set the Parameters
    TCP.VALIDNODE_CHECKING=YES
    TCP.INVITED_NODES=(DBPROD)
    in my sqlnet.ora file.
    Now the Problem is that we have another server whose name is DBPROD. Which contain Oracle Financial Application with 8.1.7.0.0 version database. Oracle Financial is Intigrated with our ERP. when I given the name of DBPROD in
    TCP.INVITED_NODES on CB0DB1 sqlnet.ora file and restart the listener.
    Now when we connect to 9i databse from DBPROD machine it gives the error
    ORA-12537: TNS Connectio Closed.
    Any body Help me. It is Urgent.
    Regards,

    Let me clarify your question, it is not totally clear to me:
    You have a database on node A.
    You want to allow connections only from node B.
    You try to achieve this with TCP.INVITED_NODES.
    It does not work, B cannot connect to the database on A.
    Did I understand your problem?
    Try the following:
    Write B's FULL name into TCP.INVITED_NODES - does it work then?
    From A, try to ping B using the full name. Does it work?
    Examine listener.log on node A. Can you find an explanation?
    If you are still at loss, turn on tracing for the listener, try to connect and look at listener.log again.
    Yours,
    Laurenz Albe

  • Error ORA-12537 when trying to connect

    I'm getting an 'ORA-12537 TNS:connection closed' error when connecting to the database (8.1.7 on Win2k). The problem persists even after restarting both, listener and database-service. I cannot even connect as SYSDBA. How can i solve this problem?

    Seems like it may be a problem with Oracle on Windows and Firewalls. Check that your firewall software/hardware is able to proccess SQL*NET requests.
    Try to open all the ports based on IP address and see if that works.

  • ORA-12537:TNS:TNS connection closed

    i am getting this error while connecting to sqlplus. please suggest.

    This error means:
    ORA-12537: TNS:connection closed
    Cause: "End of file" condition has been reached; partner has disconnected.
    Action: None needed; this is an information message.
    Which simply means your connection has ended. It is just an informative message, actually this doesn't mean an error arised.
    Please provide further details on the environment where this error was produced as well as the Oracle and OS versions.
    ~ Madrid

  • How to specifiy the provider to be Oracle.ManagedDataAccess.Client when creating a dynamic connection string with EF Code First from Database?

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

  • Oracle error ORA-01461when trying to insert into an ORACLE BLOB field

    I am getting Oracle error ‘ORA-01461: can bind a LONG value only  for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
    BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
    ORACLE version is 11.2.0.1
    The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
    Here is my code:
    <cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
    <cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
    <cfset file_mime = 'data:image/' & file_mime & ';base64,'>
    <cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
    <cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
    <cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
    <cffile action="readbinary" file="#ramfile#" variable="image_bin">
    <cffile action="delete" file="#ramfile#">
    <cfquery name="InsertImage" datasource="#datasource#">
    INSERT INTO test_images
    image_blob
    SELECT
    <cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
    FROM          dual
    </cfquery>

    Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.

  • Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170:

    Hi all,
    I have an Windows XP OS with SP3.
    I have installed the Oracle 11g server.
    On trying to connect to the ODBC connection, i get the following error message:
    Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170: TNS: Connect timeout occured
    On trying the tnsping,
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 09-OCT-2
    011 13:11:05
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    E:\app\Gautam\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
    5.207)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))
    TNS-12535: TNS:operation timed out
    On trying to connect with SQL Developer, i get the following error:
    Status: Failure - Test failed: Io Exception: The Network Adapter could not establish the connection
    However i am able to connect to the same using SQL Plus
    Another issue that occurs is that the Oracle Enterprise Manager shows the following error after a while:
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    The following services are all up during this point of time:
    OracleDBConsoleorcl
    OracleOraDb11g_home1TNSListener
    OracleServiceORCL
    Any help in this regard will be very useful as this is hindering the progress of my work.
    Thanks in advance for the help.
    - Gautam

    841683 wrote:
    Hi,
    I did try and delete my listener.ora and then create a new one..
    That did not solve my issue..
    What are the steps for configuring the listener again.
    Thanks for the response..
    - Gautamno listener.ora file is required.
    just do as below
    lsnrctl start

Maybe you are looking for

  • Check material cost when post goods issue

    Hi, When i click the post goods issue in VL02N, I would like to check if the cost of mateial is equal to zero. If it is zero, I would like to stop the transaction with a error message. But in the user exit, I cannot find which field provide the mater

  • EPM system security is not initialized properly

    Hi, We are in the process of installing 11.1.2.2 on Windows 2008 server. Step 1. we installed Foundation Service, Reporting and FM Step2. 1st did configuration of foundation service and Performance Management Architect Result - Successful. Was able t

  • Survey Repository XSLT files

    Hello friends To change the submit button functionality in Survey I am trying to change the CRM_SVY_GENERATE_SURVEY_TEMPLATE.XSLT file can any one let me know how can i do this as its not allowing to replacing the file or edit it. And i have imported

  • Assessment/Distribution/Order Settlement table details

    I am looking for a report on how to take the following details from the system: a.  Sender - receiver relations and their details in Assessments, distribution b.  Orders per period with overhead rates c.  Order settlement- orders allocated per period

  • Regexp problem

    Ok, I did read documentation, but regular expresssions are a weak spot for me, so I can't see to wrap my head around it. I have a table with both natural persons (composers and musicians) and ensembles. Obviously I need to have searching capabilities