Not able to compile Func/Proc/trigger

Hi all

I took an environment (Windows server Db Version 11.2.0.1.0) export and imported even on Exadata machine (Db version 11.2.0.3.0).

During the import, all the tables were created successfully, but all the proc/functions/triggers/packages have been compiled with errors.

Now when I tried to compile them explicitly one by one I get

ORA-00942: table or view does not exist

And the same code is to be compiled in the previous environment

Although all tables are there in this scheme, and I'm able to query the tables of the same session explicitly.

And all grants were given to the user including the dba role.

Can you please help me to know what I could be missing in the new environment

Kind regards

Jagdeep Seven

My guess is that the tables in question are owned by another user.  My guess is that your stored procedures are stored procedures of all DEFINER rights.  And I assume that the user who owns the stored procedures has access to tables via a role not via a direct subsidy.  If these assumptions are correct, you need to grant the owner of access procedures to the tables directly not through a role.

Privileges granted through a role (and DBA is a role) does not exist in a DEFINER rights stored procedure.

Justin

Tags: Database

Similar Questions

  • Not able to compile the form under Linux

    Hi all

    I use oracle Forms 11 g [32 bit] Version 11.1.2.2.0.

    I have developed a form in my local system (32-bit Windows) and now trying to compile the form to the server (Linux)

    I get the error message when compiling "FRM-91500: unable to start/complete construction.»

    The form (MODULE1.fmb) that I am trying to compile is in my directory on the server.

    What I did:

    Export ORACLE_HOME = / / oracle, Oracle, Middleware, Oracle_FRHome1

    Export ORACLE_INSTANCE = / / oracle, Oracle, Middleware, asinst_1

    Export FORMS_PATH = / / oracle/Oracle/Middleware/Oracle_FRHome1/forms: / u01/oracle/Oracle/Middleware/asinst_1/FormsComponent/forms

    using the command line to compile the form below:

    Oracle/Oracle/Middleware/Oracle_FRHome1/bin/frmcmp userid = module_type module = MODULE1.fmb < username > = form compile_all = yes window_state = minimize

    Thank you

    Lucile Dutta.

    (1) create new folder in unix

    2) put your FMC to this folder

    (3) copy $ORACLE_HOME/forms/templates/scripts/frmcmp_batch.sh to this folder

    4) add to frmcmp_batch.sh:

    Export TERM = vt220

    Export ORACLE_TERM = vt220

    (5) brand: chmod + x frmcmp_batch.sh

    (6) set your env variables: TNS_ADMIN ORACLE_HOME, ORACLE_INSTANCE,.

    (7) compile form you in this folder with:

    userid = set./frmcmp_batch.sh = no module = module_type = window_state = minimize compile_all = yes

    for example:

    lot of userid=scott/tiger@hr de./frmcmp_batch.sh = no module_type module = test.fmb = form window_state = minimize compile_all = yes

    Concerning

  • Not able to make a video

    I use iMovie v. 10.1.2 on the iMac with OS X 10.11.5 to make videos so far without problem.

    Now, I transferred my video camera SD card about 500 video clips with the 5.12 GB volume to iMovie. I see all the clips to my project of media with symbols of camera and I managed to compile a video of approximately 1 GB in the timeline panel as usual.

    But I am not able to transfer the content of the finished video on the timeline as a file or to the theater, ect.

    I believe, the clips are not saved in iMovie, so I'm not able to finish the video.

    Please help, I don't know what to do for that my video.

    You are right. The camera symbol indicates that the clips did not matter. Perhaps you did not wait long enough for such import big finish before you begin to modify your project. I would try to import again and give him plenty of time to complete. You could also import the smallest number of clips and several imports.

  • Drive hard WD Passport not able to detect Windows 7, only the PC restart can work

    Hello:

    I have 500 G WD Passport hard drive. My laptop Dell Win7 64-bit not able to detect it. It does not appear in Device Manager, and disk management. When I show the hidden device, I can see the driver properly installed passport but windows says no device detected. The work around I have to plug my passport for PC and then restart my PC every time. I have no problem with an other laptop Win7, but I don't remember now if it is a machine 32 or 64 bit. Can anyone help?

    Thank you.

    Lin Chin

    Hi MightyMiro_WD:

    Just to say the good news before the explanations below. Your method worked partially. :-)

    I followed your instructions as below:

    1. I go to control panel-> device-> Universal Serial Bus controllers Manager and uncheck the "allow this computer to turn off this device' for everything USB with this option: Hub USB root, Generic USB Hub, USB Hub 2.0 MTT and etc.

    2 insert the disc WD Passport to my PC. PC cannot detect. Then I insert USB so that my WD Passport always connected. The PC is able to detect the key USB and WD Passport.

    3 eject my USB. My WD Passport must always be able to be detected by the PC, even I Plug and unplug several times.

    4 remove my WD Passport and connect to another USB port. PC cannot detect. Insert my USB then my WD Passport always connected. The PC is able to detect the key USB and WD Passport.

    5 eject my USB. My WD Passport must always be able to be detected by the PC, even I Plug and unplug several times.

    6 now I plug/unplug my WD Passport to one of the 2 USB ports without my USB connected.

    I then in Power Options in Control Panel to change "USB selective suspend settings" to "disabled". The "turn off hard disk after" has already been fixed forever. Made the start of the procedure from step 2. And behavior are the same from step 2 to step 6.

    I restarted my PC, just in case the changes I did for Device Manager settings to take effect. BLUE SCREEN came out so that the closing of my PC. Do not remember the exact error message. After you restart, done at the beginning of the procedure from step 2. And behavior are the same from step 2 to step 6.

    Then I restored the changes to 'allow this computer to turn off this device' for all USB items except USB root hub. Just to see if a single USB root hub has been changed, it gives the same result. I also restored the "settings USB selective suspend" "Enabled". I restarted the PC after that. BLUE SCREEN again. Do not remember the exact error message. After you restart, done at the beginning of the procedure from step 2. And behavior are the same from step 2 to step 6.

    At this point, I wasn't looking to cancel all changes back to the original and do like to see if it still works as it is.

    Conclusion, your method worked partially. I don't know why the WD Passport cannot trigger the PC to recognize by itself for the first time after restarting the PC. It needs USB key to accompany. But I'm happy now. At least I do not need to restart my PC now. :-)

    Thank you.

    Kind regards

    Lin Chin

  • Hi again! Upgrade to Lightroom CC and it's SLOW! I'm not able to regularly organize photos, help please!

    I just upgraded to Lightroom CC and is there a reason that is slower than my last version (3)? It's crazy, it does not meet all the other clicks, I'm not able to manually re-organize my pictures and all around performance is just terrible. Advice and or advice? Greatly appreciated!

    I disabled the new chart thing, and my "show pictures in subfolders" is checked.

    Thank you!!

    Hi sarahleewelch

    You have facial recognition ONE? Therefore, disable it. The largest catalogues that it continues to run in the background compilation Faces.This may result in slow performance

    Try to optimize the catalog file > Optimize catalog

    See Optimize performance

    It may be useful

    ~ Assani

  • 11g forms builder is not able to open Internet explorer

    Hello
    My problem is that my forms builder is not able to open the form in Internet Explorer when compiling if Internet explorer is not already running, but he is able to open the form in a new tab, if Internet explorer is already running.
    Don't care about my system: -.

    Generator of forms of Oracle 11 g

    Windows 2008 SP2

    Version Internet explorer:-Internet explorer 9

    Help, please.

    Thank you
    RS

    1. in the generator to make sure you have the valid values for the fields of Application Server URL and location of browser in the preferences (tab) Builder Runtime. Do not leave an empty field.

    2. in the settings of the browser, under the Advanced tab, scroll to the Security section and check the box labeled 'allow active content to run in files on my computer '.

    3. click OK to save the changes. Close the browsers open

    4 retest

  • Not able to access the parent instance variable in outside of the methods in child

    Hello

    I don't get why I am not able to access the instance variable parent class apart from the example of the child class methods.
    class Parent
    {
         int a;
    }
    
    class Child extends Parent
    {
         a = 1; // Here i am getting a compilation error that Syntax error on token "a", VariableDeclaratorId expected after this token
         
         void someMethod()
         {
              a = 1;  // Here i am not getting any compilation error while accessing parent class variable
         }
    }
    Can someone let me know the exact reason for this, and what about the talks of error?

    Thank you
    Uday

    Published by: Udaya Shankara Gandhi on June 13, 2012 03:30

    You can only put assignments or expressions inside the methods, of the builders or the initializors class, or when you declare a variable.
    It has nothing to the child which stretches from Parent.

    class Parent {
        int a = 1;
    
        { a = 1; }
    
        public Parent() {
            a = 1;
        }
    
       public void method() {
           a = 1;
       }
    }
    
  • Not able to deploy soa composite of Jdeveloper

    Hello

    I use version version 11.1.1.3 Jdeveloper. I installed Jdevloper and Weblogic server in the same system. Whenever I try to deploy the project in Jdeveloper, I get the following error:

    [18: 40:10] problem in sending HTTP request on the server. Check the standard HTTP response code for 504
    [18: 40:10] error in deployment of archives sca_BusinessRulesProj_rev1.0.jar to partition 'default' server soa_server1 [PC161590.cts.com:8001]
    [18: 40:10] HTTP error Code returned [504]
    [18: 40:10] no error message is returned by the server.
    [18: 40:10] error in deployment of archives sca_BusinessRulesProj_rev1.0.jar to partition 'default' server soa_server1 [PC161590.cts.com:8001]
    [18: 40:11] # incomplete deployment. ####
    [18: 40:11] error deployment archive file:/C:/JDeveloper/mywork/BusinessRules/BusinessRulesProj/deploy/sca_BusinessRulesProj_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Can someone help me pls in this issue? I put the AddressLabel as the IP address of the machine in the console WLS for Admin Server and SOA managed server, I also checked the Proxy in Jdeveloper settings checked. but again, I'm not able to deploy the project. Any help appreciated.

    Thank you
    Arun.

    have you managed to compile composite successfully? If it is successful, while deploying them in JDeveloper; Make sure that you have checked the box 'replace '. There are possibilities that the 1.0 version is already deployed and you try to deploy again with the same version without checking the replacement option. In addition, you can try is, deploy the SAR file from the EM console.

    Hope this helps
    N

  • not able to connect database to another user of the operating system using the remote?

    Hello

    I want to connect database to another user of the operating system. I am able to connect Oracle database to the outside. but not able to connect different OS user.



    As an ORACLE user:

    [oracle@test1 admin] $ sqlplus /.

    SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:41:57 2012

    Copyright (c) 1982, 2010, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >



    User not ORACLE:

    [sample@test1 ~] $ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
    [sample@test1 ~] $ export ORACLE_SID = rman
    [sample@test1 ~] $ export PATH = $ORACLE_HOME/bin: $PATH
    [sample@test1 ~] $ sqlplus /.

    SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:37:42 2012

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory
    Process ID: 0
    Session IDs: serial number 0: 0


    Enter the user name:



    Thank you

    Make sure ORACLE_HOME is exactly the same between 2 environments: note that an end "/" is not necessary and that ending ' / ' could trigger ORA-01034.

  • GP_CAT:1069: To WARN: not able to index an FML32 buffer in postrecv

    Hello

    We are migrating our Middleware of Tux Tux 10 gR 3 8.1. With this update, we also are moving part of our infrastructure to 64-bit Tux.

    Details:
    OPERATING SYSTEM: HP - UX 11.23 (PA-RISC)
    Compiler: aCC
    We use views
    We will use 64-bit views systemA - and 32-bit on systemB. (systemA and systemB are connected via GWDoman)

    We are able to compile successfully in 64 - bit (used + DA2.0W and Ae - flags) and all servers and services start without errors.  We used the same indicators that we used to compile the services to compile the views too.  The problem starts when we try to send transactions through the servers.  As soon as the data are we see what follows in the ULOG and our data are all warped (userlog used for debugging).

    GP_CAT:1069: To WARN: not able to index an FML32 buffer in postrecv

    QS:
    (1) has anyone here seen this problem before, and if so what is the work around.
    (2) what are the indicators that you would suggest we use to compile in 64 bit, other than those mentioned?
    (3) do you think that the guy any problem with views of 64-bit (on a single system) goes to 32-bit views (on the other system)?

    All helps suggestions are greatly appreciated.

    Thank you
    -Sultani

    Marwa,

    When you say "64-bit views" and "32-bit" I assume you mean "views compiled on a system running 64-bit Tuxedo" and "compiled on a system running 32-bit Tuxedo". The two views of 16-bit compiled with viewc and views of 32-bit compiled with viewc32 are supported on 64-bit versions Tuxedo and 32-bit versions Tuxedo.

    I suspect that the problems can be due to the definition of the MTYPE parameter in the section DM_LOCAL of the DMCONFIG file. If this parameter is set to the same value on both areas, then coding XDR will not be done between the areas and this will cause data be interpreted as damaged files if the machines have the same hardware architecture or if a machine is running 32-bit Tuxedo and the other is running 64-bit Tuxedo. (If MTYPE is not set then coding XDR will be always done.)

    In addition, you must verify that your views have been recompiled with viewc32 or viewc on each system and the binary viewfiles can be disassembled using viewdis32 or viewdis.

    Kind regards

    Ed

  • Not able to find the path where I have to put the file on the server .plx

    I have to make a few changes to the PLL (library) file and compile it to its .plx file and move the .plx on the server.

    I'm not able to find the path where I have to put the file on the server .plx.

    I put it in/iasapp01/app_name/library, but it does not in effect.

    Please help if someone knows about it, about how to solve this problem

    Thank you
    GAG

    So yes, we have replaced the old file by the new modifed one, but somehow, the changes that we made in the pll being file do not appear

    So either your changes do not work, or you have replaced the wrong file and there is another instance of the plx elsewhere. What happens if you delete your plx. IF its does not exist, the form should throw an error, otherwise, there is another instance of the file.

  • Not able to access the pa_project_pub.add_task API

    Hello

    I'm not able to run pa_project_pub.add_task. I get "* your current responsibility has no access to this function * ' message when I run my custom procedure of Toad. I also tried other responsibilities, but I get the same error.

    I was able to create a budget with the same responsibility 'Projects, Vision operations (USA)'.


    BEGIN

    fnd_global. APPS_INITIALIZE (1005151,20420,275,0);

    DBMS_APPLICATION_INFO. SET_CLIENT_INFO (204);

    -procedure custom that calls api pa_project_pub.add_task
    pkg_task_upload.tasks_main;

    END;

    Can you get it someone please let me know what could be the problem.


    Kind regards
    Sonali

    Hello

    Please make sure you have no invalid object in the database. If necessary, compile it and try to run the code again (see Note: 364051.1).

    Kind regards
    Hussein

  • Not able to see the published task and not able to reset the version for the task

    Hello

    Created a task, validated, by selecting the task button you click on publish in the tools to publish the task.
    Customer application (Callcenter) sailed Administration - Business Process - > deployment task
    Here, unable to see the task added to activate.

    I tried twice to copy folder but not able to see.
    I am not able to reset the version for the created task.

    Could you please let me know how to overcome these.

    Using the database of the siebel8.0.0.5 example

    Thank you

    NO, you don't have to copy the srf tools file to the location of the customer.

    just when compiling your project or changes you must click on the Browse button and navigate to the customer i.e. srf "/ web client/objects/enu/siebel.srf".

    but before, also compile all projects to the strategic outcomes of the client.

    the other thing you should check is client and tools should point to the same database that you should check the cfg files of the two respectively in [[example]] section connectstring = "\sample\utf-8\sse_samp.dbf."

    no doubt, maybe that's the problem.

    Neeraj Varma

  • Download sierra MacOS in app store was interrupted, now am not able to download again, because it shows downloaded in the app store.

    I was downloading the new MacOS Sierra, and my connection was interrupted, as my system rebooted to update safari, now am not able to download the operating system again as it shows downloaded on the App Store.

    Look in your application for this?

    "Install macOS Sierra.app.

  • Conectivity test that my pc can't find my iphone so I'm not able to back up or synchronize it with my pc

    updated to ios 10.0.1 and now when I run the conectivity test my pc can't find my iphone so I'm not able to back up or synchronize it with my pc. everytime I connect my phone to my PC the pc revealed the companion phone which is no use to me as I want to get back to the top of my IPhone and syncing old content like movies without having to use my wireless

    You have restarted your computer?

    If iTunes does not recognize your iPhone, iPad or iPod - https://support.apple.com/HT204095

    Device are not not immediately after the upgrade - https://discussions.apple.com/thread/6573744 - try to restart

    Make sure you use the original or a spare cord Apple. Some third-party cables transfer that power and no data signal.apple.com/message/28002758#28002758

    https://discussions.apple.com/message/29154537#29154537 - removed then reinstalled iTunes application

    July 2016 Lawrence_Finch post - https://discussions.apple.com/message/30402529#message30402529 - connection dirty?

Maybe you are looking for

  • e-mail for activating Sync

    Hello, when I use my email to the company to turn out to sign up for Firefox Sync email can't never through. If I use my personal e-mail that the activation email comes through without a problem. Anyone else seeing a similar question?

  • Satellite L350-10 b - can I use Toshiba with MediaMonkey control buttons

    Salvation is I can do the media on my Toshiba L350-10 b control buttons work with MediaMonkey?I don't use WMP... I found the application programmer Gennady Rakhvalov RemoteX, but the Mute button does not work here. So is it possible to use the button

  • WiFi will not be on after the windows 10 upgrade

    My machine is Hp Clubhouse g6 Notebook Series No.: [personal information] Since I've upgraded to windows 10, my wifi refused to turn on. I tried updating drivers but to no avail. I also tried the instructions specified in https://support.microsoft.co

  • Windows Update, error 0 x 80248011

    When you search for available updates on the update site, I get error 0 x 80248011.  Whenever this happens, I go through the inconvenience to repair and it is fixed for just a short time.  Then when I least expect, it happens again.  What's worse, is

  • How can I protect my wireless internet from other users?

    I have a wireless internet connection, but my roommates keep access and I get not at any speed... so is it possible that I can protect my Internet access by other users? HELP PLZ! Thank you LL.