Hello,
I am trying to connect to Oracle Database with PROTOCOL=TCPS from my Web Form application. This is my connection string that it is working perfectly for the PROTOCOL=TCP:
<add name="MyConnection" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myHostName)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=ABCDE))); User Id=xxxxxx; Password=xxxxxx; Persist Security Info=True; Connection Lifetime=10" providerName="System.Data.OracleClient"/>
I hade the same issue using SQL Developer, but after adding the CA certs file (cacerts) under the folder sqldeveloper\jdk\jre\lib\security I was able to connect to the database from SQL Developer
So, please let me know how I can modify my connection string to be able to connect to the same database:
I did some search and I did add (SECURITY=(DIRECTORY=C:\sqldeveloper\jdk\jre\lib\security\cacerts)) but it is not working
This is the Error that I get:
Error!
Thank you for you help
I am trying to connect to Oracle Database with PROTOCOL=TCPS from my Web Form application. This is my connection string that it is working perfectly for the PROTOCOL=TCP:
<add name="MyConnection" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myHostName)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=ABCDE))); User Id=xxxxxx; Password=xxxxxx; Persist Security Info=True; Connection Lifetime=10" providerName="System.Data.OracleClient"/>
I hade the same issue using SQL Developer, but after adding the CA certs file (cacerts) under the folder sqldeveloper\jdk\jre\lib\security I was able to connect to the database from SQL Developer
So, please let me know how I can modify my connection string to be able to connect to the same database:
I did some search and I did add (SECURITY=(DIRECTORY=C:\sqldeveloper\jdk\jre\lib\security\cacerts)) but it is not working
This is the Error that I get:
Error!
Oracle.ManagedDataAccess.Client.OracleException (0x80004005): Network Transport: SSL failure in parsing wallet location ---> OracleInternal.Network.NetworkException (0xFFFFE700): Network Transport: SSL failure in parsing wallet location at OracleInternal.Network.OracleCommunication.DoConnect(String tnsDescriptor) at OracleInternal.Network.OracleCommunication.Connect(String tnsDescriptor, Boolean externalAuth) at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession) at Oracle.ManagedDataAccess.Client.OracleException.HandleError(OracleTraceLevel level, OracleTraceTag tag, Exception ex) 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.
Thank you for you help
Last edited: