现在的位置: 首页 > 综合 > 正文

ORA-06401: NETCMN: invalid driver designator 的解决办法

2013年12月28日 ⁄ 综合 ⁄ 共 318字 ⁄ 字号 评论关闭

今天在Delphi中使用ODAC连接Oracle9i数据库报错:“ORA-06401: NETCMN: invalid driver designator”百思不得其解,使用TOraSession组件直接配置,连接Oracle数据库没问题,发现在TOraSession的配置窗口还有一个“Net”选项,恍然大悟,加条语句:

           OraSession1.Options.Net := True;

If set to True ODAC connects directly over TCP/IP and does not require Oracle software on the client side. Supported with ODAC Net edition.

一切OK!

抱歉!评论已关闭.