1

I'm using the current version of ODP.NET and trying to connect to an Oracle Server using an LDAP name. I tried the basic string:

Data Source=ServerName;User Id=RemovedUserId;Password=RemovedPwd;

The connection attempt just times out with the following error:

ORA-12170: TNS:Connect timeout occurred

I can connect with via TOAD with using the same LDAP, User ID and Password from the same box.

Do I need use something different than "Data Source" or do I need to add an LDAP prefix to the server name?

4

1 回答 1

1

想通了,我需要在我的情况下找到完全限定的名称,格式如下:server.domain/instance

仍然不确定 TOAD 如何仅使用实例名称来解决它。

于 2012-01-08T23:13:17.833 回答