科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道案例学习Oracle错误:ORA-04052

案例学习Oracle错误:ORA-04052

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

  原文:   ORA-04052 error occurred when looking up remote object stringstringstringstringstring   Cause An error has occurred

作者:中国IT实验室 来源:中国IT实验室 2007年10月6日

关键字: 学习 案例 数据库 ORACLE

  • 评论
  • 分享微博
  • 分享邮件
   原文:

  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.

  原文链接:

  http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci977415,00.html

查看本文来源

    • 评论
    • 分享微博
    • 分享邮件