Solved

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

Posted on 2011-02-16
3
1,106 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
  • 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now