Why am I getting an ORA-04052 error when I try to compile a Procedure?
Hi,
The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
CREATE OR REPLACE PROCEDURE APPS.Find_String (
pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
IS
cursor cur_get_dependancy
is
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;
v_owner varchar2(40);
v_name varchar2(50);
v_type varchar2(40);
BEGIN
dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
dbms_output.put_line(' ');
dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
FOR i IN cur_get_dependancy
LOOP
v_owner := RPAD(i.owner, 30, ' ');
v_name := RPAD(i.name, 45, ' ');
v_type := RPAD(i.type, 30, ' ');
dbms_output.put_line(v_owner ||v_name|| v_type);
END LOOP;
END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
What's even stranger is that I took the SELECT statement
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02068: following severe error from PINP
ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?
OK Justin,
Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
SQL> conn apps/apps1@dev1
Connected.
SQL> SELECT distinct owner, name, type
2 FROM [email protected]
3 WHERE lower(referenced_name) = lower('ALL_USERS')
4 AND referenced_type <> 'SYNONYM'
5 AND owner <> 'SYS'
6 order by name;
OWNER NAME TYPE
PUBLIC ALL_USERS SYNONYM
XDB DBMS_XDBUTIL_INT PACKAGE BODY
XDB DBMS_XDBZ0 PACKAGE BODY
SYSTEM MVIEW_EVALUATIONS VIEW
SYSTEM MVIEW_EXCEPTIONS VIEW
SYSTEM MVIEW_FILTER VIEW
SYSTEM MVIEW_LOG VIEW
SYSTEM MVIEW_RECOMMENDATIONS VIEW
SYSTEM MVIEW_WORKLOAD VIEW
ORASSO WWCTX_API PACKAGE BODY
PORTAL WWCTX_API PACKAGE BODY
ORASSO WWEXP_UTL PACKAGE BODY
PORTAL WWEXP_UTL PACKAGE BODY
PORTAL WWPOB_API_PAGE PACKAGE BODY
PORTAL WWPOF PACKAGE BODY
ORASSO WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWSBR_EDIT_ATTRIBUTE PACKAGE BODY
PORTAL WWSBR_FOLDER_PORTLET PACKAGE BODY
PORTAL WWSBR_USER_PAGES_PORTLET PACKAGE BODY
ORASSO WWUTL_API_PARSE PACKAGE BODY
OWNER NAME TYPE
PORTAL WWUTL_API_PARSE PACKAGE BODY
PORTAL WWUTL_EXPORT_IMPORT_LOV PACKAGE BODY
ORASSO WWUTL_LOV PACKAGE BODY
PORTAL WWUTL_LOV PACKAGE BODY
PORTAL WWV_CONTEXT PACKAGE BODY
PORTAL WWV_CONTEXT_UTIL PACKAGE BODY
PORTAL WWV_DDL PACKAGE BODY
PORTAL WWV_GENERATE_UTL PACKAGE BODY
PORTAL WWV_GLOBAL PACKAGE
PORTAL WWV_MONITOR_DATABASE PACKAGE BODY
PORTAL WWV_PARSE_AS_SPECIFIC_USER PACKAGE BODY
PORTAL WWV_PARSE_AS_USER PACKAGE BODY
PORTAL WWV_SYS_DML PACKAGE BODY
PORTAL WWV_SYS_RENDER_HIERARCHY PACKAGE BODY
PORTAL WWV_THINGSAVE PACKAGE BODY
PORTAL WWV_UTIL PACKAGE BODY
PORTAL WWV_UTLVALID PACKAGE BODY
38 rows selected.
SQL>Let me know what you think.
Thanks again.
Similar Messages
-
Why do I get a Code 41 error when I try to printing on my hp F2400 printer
I can not make my printer work. Help.
Hi,
To solve this error code 41 issue first of all the user has to remove and reconnect the compact disk and digital video disk drivers present on your computer.
This can be done by a manual process then the user can do it by navigating the device manager on your PC.
After this process the device and drivers will be reinstalled on the system and further lets the windows to interpret the files required to run.
After doing this process your computer will run as fast as possible and also it run smoothly too.
Life is too serious to be taken seriously -
Why am I getting an invalid signature error when I try updating my iphone 4?
.
yes, through Itunes. the os hasn't been updated in awhile, if ever. the phone is still running on 4.2.10 I can't update the new itunes, quick time, safari.
-
Why am I getting an app store error when trying to download Lion?
Why am I getting an app store error when trying to download Lion? Any ideas?
I would complain really bad and get them to give you a Flash card that they just came out with because they've inconvenienced you so much and you don't have hours to spend at the apple store waiting for the whole thing to load.
The only thing about the flash cards is that it will change your whole motherboard so it won't allow you to install snow leopard or anything less, ever again. (as what the apple specialist told me over the phone).
I would also suggest waiting. It really isn't worth the hastle and you may not benefit from installing it on your old computer... just a thought. -
I'm getting the message -50 error when i try to export my project on iMovie '09. What does this mean??
Hi
Error -50 paramErr Error in user parameter list
Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
free space on internal boot hard disk? How much ?
Video codec
streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
Pictures
in what format ? .jpg, .bmp, .tif, else ?
Audio
from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
iMovie/iDVD preference file
The "com.apple.iMovie.plist" file or "com.apple.iDVD.plist"
Many users has not observed that there are TWO libraries.
_ Library - at root level
_ Library - in user/account folder - THIS IS THE ONE to look into
from Luke Burns
I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
I don't know why that could cause that big of a problem, but it did..
Klaus1
You need more free space on your hard drive.
Where do Your material come from
Camera
External hard disk
USB-memory
And all are connected so that iMovie can find it ?
from: jonorparkerjon
After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
from Karsten S
Shorter clips than 1,5 sec might be one of the culptrits
Bengt cont.
Set-Up might differ
Mac OS - most probably X.7 or more
iMovie version - more than iM'11 v. 9.0.4
Action taken
Finalizing project - I never do as I never understood the gain to do so
Share as HD to iDVD - never give any gain but if it works the resulting DVD is less quality than if SD-quality was shared
fps - set - I only use PAL (25fps)
Yours Bengt W -
Get file not found error when I try to sync
I get file not found error when I try to sync Iphone.
SteveDVD,
The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
And yes, the re-Importation should yield the same result as Linking/re-Linking.
Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
Good luck,
Hunt -
Why do I get the spinning beach ball when I try to change from Events to Photos. How do I fix it?
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
I get 500 Internal Server Error when I try to go into Firefox. I aqm using Windows 7
I get 500 Internal Server Error when I try to log in to my Firefox Program. I am using Windows 7.
I have tried the updates, but still get the 500 Internal Server Error message.
Is there something I can do co correct this error so I can use
Firefox Again?I have this issue and believe it is related to a MALWARE virus that has affected my laptops registry. Any suggestions?
-
Why do I get only a black screen when I try to download PDF files?
Why do I get only a black screen when I try to download PDF files? I have the latest version of Adobe Reader.
This problem just started a few weeks ago.
I am still using Snow Leopard.
I have tried using Firefox instead of Safari, but still get the black screen.The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Getting OERR: ORA 12705 error when trying to connect.
I have tomcat running on red hat and I'm trying to connect to a remote server running Oracle 10g using a thin driver. But I keep getting this error when I try to connect. I've tried setting NLS_LANG=AMERICAN_AMERICA.UTF8, NLS_LANG=AMERICAN_AMERICA.US7ASCII, and NLS_LANG=.
I'm not doing any ALTER SESSIONS. I wrote a test app and all it does is connect and does 1 simple select query.Unset it on the client and try again.
Also see if Note:294104.1 will help you -
Why do I get "not connected to Internet " when I try to move within a website?
I am using Verizon hotspot to connect my laptop with internet. Never had problems until IOS 8 came out. My laptop is XP but I don't want a new computer yet! Since I downloaded 8 on my phone my laptop does not work properly! I can get on various websites, but when I try to move within the website I receive on a large screen "no internet connection" but I am still connected to the internet. When I use my computer on a free wifi service I don't have this problem. What is going on? Help Me Please!!!
'''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
While you are in safe mode;
Type '''about:preferences#advanced'''<Enter> in the address bar.
Under '''Advanced,''' Select '''General.'''
Look for and turn off '''Use Hardware Acceleration'''.
Poke around safe web sites. Are there any problems?
Then restart.
Some added toolbar and anti-virus add-ons are known to cause
Firefox issues. '''Disable All of them.''' -
Why do I get this ORA-21780 error?
So I have a before insert update trigger and all it does it simply populate some audit columns in my record.
Why when I move data into this table would I get this error?
At no time is this trigger also inserting into the same table.
ORA-21780: Maximum number of object durations exceeded.
ORA-06512: at "SYS.STANDARD", line 575
ORA-06512: at "BEFORE_INSERT_UPDATE_TRG", line 4
ORA-04088: error during execution of trigger 'BEFORE_INSERT_UPDATE_TRG'
This is with an Oracle 11gR1 RAC setup.it works OK for me.
SQL> drop table table1;
Table dropped.
SQL> @trig1
SQL> create table table1
2 (id number,
3 field_a varchar2(30),
4 field_b timestamp,
5 field_c varchar2(30),
6 field_d timestamp)
7 /
Table created.
SQL> CREATE OR REPLACE TRIGGER "BEFORE_INSERT_UPDATE_TRG'"
2 BEFORE INSERT OR UPDATE
3 ON TABLE1
4 FOR EACH ROW
5 BEGIN
6 IF inserting then
7 :new.field_a := nvl(:new.field_a,user);
8 :new.field_b := nvl(:new.field_b,systimestamp);
9 ELSIF updating then
10 :new.field_c := nvl(:new.field_c,user);
11 :new.field_d := systimestamp;
12 END IF;
13 END;
14 /
Trigger created.
SQL> insert into table1 (id) values(1);
1 row created.
SQL> select * from table1;
ID FIELD_A
FIELD_B
FIELD_C
FIELD_D
1 USER1
16-APR-11 07.53.50.581147 PM
SQL> -
0
down vote
favorite
I am working on a WPF app that I want to create for Windows 8. I followed steps mentioned in
Hansleman's blog to make some manual modifications using WinRT functions in a WPF app. Everything worked well, until I tried to publish the app. When I clicked on publishing the app I got error "The 'ResolveManifestFiles' task failed unexpectedly.
System.ArgumentException: Value does not fall within the expected range."
Afterwards, it will produce the same error when attempting a simple solution build.
Even if you create a simple WPF project and add the references mentioned in blog to access WinRT functions and publish, this issue can be reproduced.
I think it would be common scenario to call WinRT functions from WPF and someone should have done it. Is anyone aware what should be done to fix this issue?I am having the same problems and came across this article while researching a workaround.
It is surprising more people aren’t talking about this.
Here are the steps to reproduce the problem; Using Visual Studio Express 2012 (x64) create a new VB Windows Forms Application.
Unload the project and edit the [ProjName].vbproj in the solution explorer.
Add <TargetPlatformVersion>8.0</TargetPlatformVersion> to the <PropertyGroup>.
Save and reload the project. In Add Resource/Reference Manager add the Windows.minmd found under Windows/Core.
This WinRT/Desktop solution will run as expected. Now try to Publish this solution.
It will FAIL with the following ERROR; “The ResolveManifestFiles task failed unexpectedly, Value does not fall within the expected range.”
Attempting to build or run the solution again now will fail with the same Error.
The only way to build the project now is to remove the “Enable ClickOnce security settings” option under the project properties Security settings.
Occasionally using this trick, the solution will build but not run.
When that happens jiggle around with Debug/Release Solution Configurations and the Any CPU/x64 Solution Platforms then rebuild and try the run again.
This fussing around will get you through development however any attempt to publish with restore the ClickOnce security setting and create the previous Error.
The first question here is how do you publish a WinRT app for the desktop with VS2012 Express.
Then secondly, if that is not possible can we publish this Express solution with a 3rd party deployment tool like InstallShield Limited Edition or the WIX Toolset.
Neither however seems functional in a VS Express environment.
Then thirdly, are there ways to access hardware sensor devices from a desktop solution without resorting to the WinRT API.
Any ideas or new research directions would be greatly appreciated. -
Why do i get an erroe code 4280 when i try to burn a playlist?
when i try to burn a playlist on my pc using itunes i am getting an error code 4280 and i can not burn. i have tried to burn using a seperate dvd burner aswell as the one in my pc and still i have no luck. can anyone please help?
Read related topic
Thank you & Best regards
syrpimp
=======================================================
“You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley -
Why do i get an "open with" box when i try to start screen saver?
I have an Hp a6120n PC. When I try to install a screen saver, I get a dialog box that says open with and gives a series of suggested programs to use to open the screen saver. The same thing happens when I try to download a program from the internet. What can I do? Also, I would like to wipe my hard drive and start over. Is there some way I can do that? I am not ver computer literate so please try to explain so I can understand. This is my first computer and I bought it from my Daughter so I want to take all her information off of it.
Hi
Please find the link given below might help you to do a recovery please note all the data on the unit will be lost hence back up data before performing a recovery.
Performing an HP System Recovery
Let us know how it goes!
"I work for HP."
****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
****Please mark Accept As Solution if it solves your problem****
Regards
Manjunath
Maybe you are looking for
-
Adding a single line to a multicolumn listbox?
Hi Community, I have a multicolumn listbox which tens of thousands of lines where each line is color coded and represent a cycle with a pass/fail status. The only way I have found to add lines to a multicolumn listbox is to read its ItemNames propert
-
Help, Recurring Event WON'T Edit or Delete
I've read the threads about the slow iCal, or SBOD, or not responding. I've tried deleting the plists, backing up then restoring the calenders. I've made all my recurring events end at a date instead of never. I think I have the problem narrowed down
-
F-43, Vendor invoice tax calculation
Dear Experts, when i am posting a vendor invoice in F-43, i am getting the accouting entry as follows. Vendor account Dr 3,500 To purchase a/c 3097.34 To Vat on Purchases 402.66 The tax percentage is 13% but system is calculating tax as 402.66 (3500
-
Issue in adobe forms scripting.
Hi Guys, I'm trying to create here an Interactive form embedded into a Wed Dynpro Java application. On the Interactive form i simply have a Text Field and two buttons. On the click of one button, the Text Field should get Invisible, and on the click
-
How to improve speed of laptop
how to increase speed of laptop