最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Oracle.ManagedDataAccess throws ORA-50000 and Oracle.ManagedDataAccess.Core throws ORA-12545 errors - Stack Overflow

programmeradmin1浏览0评论

When using Oracle.ManagedDataAccess v23.7.0 to connect to a host I am getting an error

ORA-50000: Connection request timed out

When using Oracle.ManagedDataAccess.Core v23.7.0 to connect to the same host, I am getting this error:

ORA-12545: Connect failed because target host or object does not exist

I am using a connection string shown here:

string connectionString = "Data Source = " +
"(DESCRIPTION=(CONNECT_TIMEOUT=15)(TRANSPORT_CONNECT_TIMEOUT=5)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=myhost.oraclepany.nl)(PORT=39000)))(CONNECT_DATA=(SERVICE_NAME=TestServiceName)))";

Any ideas why these errors occur?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论