Solved

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

Posted on 2011-02-16
3
1,112 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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with Oracle syntax 4 57
unable to get sorting resultset 15 69
query in Oracle forms Builder 2 42
Best RAID for a BDD Oracle 4 62
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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to recover a database from a user managed backup

863 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

22 Experts available now in Live!

Get 1:1 Help Now