?
Solved

ORA-06508: PL/SQL: could not find program unit being called

Posted on 2011-02-16
3
Medium Priority
?
1,168 Views
Last Modified: 2012-08-14
All database objects are compiled, and the program unit that 'cannot be found' exists on the same database as a public procedure in a package. The problem is intermittent, and if I exit the calling application (32-bit Windows app) and start it again, then the problem no longer exists for some amount of time... Can you shed some light on this?
0
Comment
Question by:Kanigi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Expert Comment

by:flow01
ID: 34905220
For example in oracle forms you can get this kind of failure if some of the dependent program units of a dependent of such dependents becomes temporary invalid because of a creating a  new version of a such a dependent module.
0
 

Author Comment

by:Kanigi
ID: 34905234
All dependants are compiling successfully.
0
 
LVL 20

Accepted Solution

by:
flow01 earned 2000 total points
ID: 34905335
Some tools keep track of the current version of a module,  succesful compilation of a changed module creates another version: in oracle forms I can reproduce this error.
 
You could try to reproduce it for your application:
If the failure occurs check
LAST_DDL_TIME  
TIMESTAMP      
of dba_objects view  (types: functions, procedures,package and package_body) to find  modules changed recently before the error
Try to evaluate which part of the application uses that module
open your application   an use that part,  recreate the module (same source)  and see if you get the error.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question