简体   繁体   English

ORA-06508带有11g数据库的10G表单上的错误

[英]ORA-06508 Error on 10G form with 11g Database

We are currently running oracle 10g Application server with 10g developer suite but with a 11g database. 我们当前正在运行带有10g开发人员套件但具有11g数据库的oracle 10g应用程序服务器。

When we compile a form while connected to our 11g database and run it on the 10g application server, we get a ORA-06508. 当我们在连接到11g数据库的同时编译表单并在10g应用服务器上运行它时,我们得到了ORA-06508。 We have traced this to a call to a package that is contained within the form (not a atached PLL or in the database). 我们已将其追溯到对包含在表格中的程序包的调用(不是atach的PLL或数据库中的包)。

When we compile against a historic 10g database everything works exactly as it should. 当我们针对一个历史悠久的10g数据库进行编译时,所有内容都可以正常运行。

call is just... 电话只是...

pkg_name.procedure_name; pkg_name.procedure_name;

and specification of this package is 这个包装的规格是

procedure_name(arg1 varchar2(100) default null); procedure_name(arg1 varchar2(100)默认为null);

We cannot continue to compile against the old database, Any assistance in trying to track this error would be appreciated. 我们无法继续针对旧数据库进行编译,对于跟踪此错误的任何帮助将不胜感激。

Are you connecting the 11g database to the user who is the owner of the package for executing? 您是否将11g数据库连接到要执行的程序包所有者的用户? In that case or even if you are connecting to different user to execute the pkg,I'm suspecting the synonym is missed for this package. 在那种情况下,即使您连接到另一个用户来执行pkg,我也怀疑此软件包缺少同义词。

Generally for this ora-06508 - From my experience only 3 possible issues 1)package not exist 2)package exist but in invalid status 3)Synonym is missing for that pkg 通常针对此ora-06508-根据我的经验,仅3个可能的问题1)软件包不存在2)软件包存在但处于无效状态3)该pkg缺少同义词

Could you tyr after create synonym package_name for pkgowner.package_name 在为pkgowner.package_name创建同义词package_name之后,您可以输入文字吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM