64位 Win7 下 Toad for Oracle 10.5 连接Oracle10g

Love001 2013-01-08 05:51:34
如题,64位 Win7 下 Toad for Oracle 10.5 连接Oracle10g。
Toad可以读取Tnsnames.ora的配置,但是当录入帐号、口令,点击Connect时提示:
Ora-12154:TNS:无法解析指定的连接描述符。

请帮忙,谢谢!
...全文
1213 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_24253309 2014-12-05
  • 打赏
  • 举报
回复
学习一下,谢谢了.toad 不要安装在系统目录,安装在其他目录,并且去除掉安装目录中的“()”就可以了。
qq_24253309 2014-12-05
  • 打赏
  • 举报
回复
学习一下,谢谢了
qq_24253309 2014-12-05
  • 打赏
  • 举报
回复
学习一下,谢谢了
大聪 2014-04-17
  • 打赏
  • 举报
回复
不要把Toad安装在(X86)目录下
公猫 2013-07-17
  • 打赏
  • 举报
回复
我也遇到了,10.5 之前的版本没问题,更新plsqldvl之后就变成这样了...
sk365 2013-03-15
  • 打赏
  • 举报
回复
toad 不要安装在系统目录,安装在其他目录,并且去除掉安装目录中的“()”就可以了。
Seven_Ginna 2013-01-10
  • 打赏
  • 举报
回复
C:\WINDOWS\system32\drivers\etc\hosts 文件内加入X.X.X.X server_name
Seven_Ginna 2013-01-10
  • 打赏
  • 举报
回复
可以试着在本地的host文件中加入服务器ip和服务器名,便于解析
Love001 2013-01-10
  • 打赏
  • 举报
回复
是这样的,利用命令行SQLPlus命令可以连接到Oracle服务器,但是使用Toad for Oracle 10.5连接就提示异常。奇怪的是Toad for Oracle 10.5是可以读出tnsnames所配置的所有本地服务名,但就是无法连接成功!
Love001 2013-01-09
  • 打赏
  • 举报
回复
可以确认不适以上问题。
linwaterbin 2013-01-09
  • 打赏
  • 举报
回复
如果你很确定不是以上问题,自己按照这个步骤检查一下 [oracle@localhost ~]$ oerr ora 12154 12154, 00000, "TNS:could not resolve the connect identifier specified" // *Cause: A connection to a database or other service was requested using // a connect identifier, and the connect identifier specified could not // be resolved into a connect descriptor using one of the naming methods // configured. For example, if the type of connect identifier used was a // net service name then the net service name could not be found in a // naming method repository, or the repository could not be // located or reached. // *Action: // - If you are using local naming (TNSNAMES.ORA file): // - Make sure that "TNSNAMES" is listed as one of the values of the // NAMES.DIRECTORY_PATH parameter in the Oracle Net profile // (SQLNET.ORA) // - Verify that a TNSNAMES.ORA file exists and is in the proper // directory and is accessible. // - Check that the net service name used as the connect identifier // exists in the TNSNAMES.ORA file. // - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA // file. Look for unmatched parentheses or stray characters. Errors // in a TNSNAMES.ORA file may make it unusable. // - If you are using directory naming: // - Verify that "LDAP" is listed as one of the values of the // NAMES.DIRETORY_PATH parameter in the Oracle Net profile // (SQLNET.ORA). // - Verify that the LDAP directory server is up and that it is // accessible. // - Verify that the net service name or database name used as the // connect identifier is configured in the directory. // - Verify that the default context being used is correct by // specifying a fully qualified net service name or a full LDAP DN // as the connect identifier // - If you are using easy connect naming: // - Verify that "EZCONNECT" is listed as one of the values of the // NAMES.DIRETORY_PATH parameter in the Oracle Net profile // (SQLNET.ORA). // - Make sure the host, port and service name specified // are correct. // - Try enclosing the connect identifier in quote marks. // // See the Oracle Net Services Administrators Guide or the Oracle // operating system specific guide for more information on naming.
Love001 2013-01-09
  • 打赏
  • 举报
回复
没人碰到我说的这个问题吗?
linwaterbin 2013-01-08
  • 打赏
  • 举报
回复
检查输入的服务名与配置的服务名是否一致。另外注意生成的本地服务名文件(Windows下如D:oracleora92networkadmin tnsnames.ora,Linux/Unix下/network/admin/tnsnames.ora)里每项服务的首 行服务名称前不能有空格。

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧