Hi,
FYI: using LLBLGen Pro version 5.7. Build 5.7.3.
Is it possible to connect to an Oracle Cloud database?
I was trying to get the designer to connect to an Always Free database.
In the designer, using the ODP.NET Oracle Driver v21.6.1 , I can enter credentials, server and service name.
When I try to connect I get this error:
-----[Core exception]--------------------
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, CriteriaCtx criteriaCtx, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, CriteriaCtx criteriaCtx, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword, CriteriaCtx criteriaCtx)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
at SD.LLBLGen.Pro.Gui.Controls.WizardPages.MetaDataRetrievalWizard_Step_ConnectionData.TestConnectionData(Boolean showSuccess)
-----[InnerException]--------------------
at OracleInternal.Network.OracleCommunication.DoConnect(String tnsDescriptor)
at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, CriteriaCtx criteriaCtx, String instanceName)
Looking at the proposed connectionstrings on the DB Connections tab of my Oracle Cloud database, I see there is an ssl-section:
(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.xxxxxx.oraclecloud.com))
(connect_data=(service_name=xxxxxxx.adb.oraclecloud.com))(security=(ssl_server_cert_dn=
"CN=adwc.xxxxxxx.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")))
So probably I should be able to enter this data somewhere too.
Extra info:
- I can connect to it with Oracle SQL Developer, but that one uses a wallet-file, containing all sorts of settings and data like certificates and so.
- Trying to open a connection from code using the ODP.NET Nuget package also fails on a "Connection string is not well-formed" exception.
- I am a SQL Server developer and not used to Oracle, but this Oracle cloud DB is free, so I wanted to give this a shot.
Kind regards,
Peter