案例学习Oracle错误:ORA-04052 (转载)

ORA-04052 error occurred when looking up remote object stringstringstringstringstring

  Cause An error has occurred when trying to look up a remote object.

  Action Fix the error. Make sure the remote database system has run KGLR.SQL to create

  necessary views used for querying/looking up objects stored in the database.

[@more@] ORA-04052 error occurred when looking up remote object stringstringstringstringstring

  Cause An error has occurred when trying to look up a remote object.

  Action Fix the error. Make sure the remote database system has run KGLR.SQL to create

  necessary views used for querying/looking up objects stored in the database.

  ORA-04052 查找远程对象的时候出错

  发生原因:查询一个远程对象时发生错误

  解决方案:确定这个错误,并确认这个远程数据库系统已经运行KGLR.SQL,并建立了存储在数据库中用来

  查询对象必需的窗口

  TNS-12640 Authentication adapter initialization failed

  Cause The function specified in the authentication table entry for the service failed.

  Action Enable tracing to determine the exact error.

  TNS-12640 : 认证适配器初始化失败

  发生原因:指定功能进入认证表服务失败

  解决方案:追踪确定精确的错误原因

  创建数据库链接出错

  我创建了一个数据库链接。当我在使用的数据库链接中编译程序的时候,我得到了如下的错误信息:

  ORA-04052 : 查找远程对象的时候出错

  TNS-12640 : 认证适配器初始化失败

  这个问题于2003年11月20日提出

  这个问题由Brian Peasland 解答

  不幸的是,没有足够的信息来明确判断你的问题是什么。所以我给你一些常用的步骤来进一步分析问题原因。

  当你创建数据库链接的时候,你在USING子句中指定了TNS别名。使用这个别名,看看你是否能够通过SQL*Plus连接到远程数据库上。如果你不能的话,那么就修正产生的问题。你的问题与数据库链接无关。如果起作用了,就试试“SELECT sysdate FROM dual@link_name”。它可以判断链接的工作正常。我觉得你可能还是不能通过SQL*Plus连接上去。那么就有可能是TNSNAMES.ORA 和远程数据库的LISTENER.ORA不匹配。最后,查看一下你本地的SQLNET.ORA 文件是否有如下几行内容:

  SQLNET.AUTHENTICATION_SERVICES=(NTS)

  If it does, comment it out and retry the operation.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/34329/viewspace-917872/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/34329/viewspace-917872/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值