Invalid views on DB

I have a set of invalid objects on the db (views, materialized views, procedures) etc on the DB.
I am able to run these objects normally and to select from the views. And if i compile them, they become valid.
However does anyone have any idea why I have a long list of invalid objects on the DB?

Hi,
as you complieed all invalid objects and make all in valid state but you see again invalid objects it means
the underlying objects (objects on which these views, mv, procedure) are made has undergone some changes.
Some of the main reasons
1) have refreshed the schema i.e. drop and recreate
2) have upgraded your db.
3) fired some ddl's on these objects.
also checkout dependencies for invalid objects which all you see now by below suggested by "P. Forstmann"
You have to retrieve object dependencies and to check if these dependant objects have been altered with some DDL statements: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/depend.htm#i3265

Similar Messages

  • Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.
      intially i created view object named EmpByEmail.........for that EmpByEmail1 is created in datacontrols....i deleted EmpByEmail in demo.model by mistake and i created again with same name EmpBYEmail another view object...again another EmpByEmail2 is created in datacontrols.....
    while i am running i am getting following error:::::::
    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Hi,
        Please seasrch for the EmpByEmail1 file in ur project and remove all the details in the Page Def and UI and then try again.
    Due to the EmpByEmail1 existance in page Def this may occur . It may help , still if it was not working then I am sorry for that.

  • Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported la

    Hi,
    I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
    Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
    In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
    May I know why this happening and a remedy for it. Appreciate you help.

    Hi,
    I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
    Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
    In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
    May I know why this happening and a remedy for it. Appreciate you help.

  • Invalid views with missing underlying tables

    I have completed an import from one database, 8i version, to a new 10g database and in the process of the import a view was imported in the SYS schema. The table being accessed by the view has since been dropped during another import and now the view is listed as invalid but I am unable to delete the view. Since the import was completed 3 times this view appears 3 times as invalid. When I try to edit the view and include a valid select statement it will recompile but the invalid view still remains.
    Does anyone have an idea how to remove these 3 invalid views?
    Chicago

    Does anyone have an idea how to remove these 3 invalid views?
    select 'Drop view '||  object_name || ';' from dba_objects where object_name='VIEW_NAME' and object_type='VIEW' and status='INVALID'
    and OWNER=<OWNER where INVALID VIEW EXISTS';and execute the script.

  • How to find invalid views across schemas

    I just started on a project that, well let's put it this way, has a messy database. It has multiple schemas and contains many views, synonyms and database links.
    I want to add a column to a table, but I want to make sure
    this doesn't invalidate any views somewhere in the database.
    Is there a way to check for invalid views across multiple schemas? Or better yet, how to find out beforehand what views in what schemas look at the table?
    Thanks,
    Tim

    To find out, where the table is used you can select:
    select owner,name,type
    from all_dependencies
    where referenced_owner = (select user from dual)
    and referenced_name = 'TABLENAME'
    and referenced_type = 'TABLE'
    It not only shows Views but also show�s if the table is used inside a trigger and so on.
    To find out, what objects are invalid:
    select owner, object_name, object_type
    from all_objects
    where status = 'INVALID';
    regards
    Anna

  • Pop-up object pallet inserts invalid view name

    When using the pop-up DB object pallet to insert view names into SQL code, the list presents the view name in all lower case, and inserts the view object in all lower case. Since Oracle is case-sensitive, it sees that object as invalid. All mixed case objects should be presented mixed case, and inserted as mixed case.

    Yes, it's Code Insight.

  • INVALID VIEW

    SQL> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME ='dfjv_owner_union';
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    NETODFJ1 dfjv_owner_union 182334 VIEW 2008-10-15 2008-10-15 10 2008-10-15:10:36:01 INVALID N N N 1
    SQL> select * from dba_views where view_name='dfjv_owner_union';
    OWNER VIEW_NAME TEXT_LENGTH TEXT TYPE_TEXT_LENGTH TYPE_TEXT OID_TEXT_LENGTH OID_TEXT VIEW_TYPE_OWNER VIEW_TYPE SUPERVIEW_NAME EDITIONING_VIEW READ_ONLY
    NETODFJ1 dfjv_owner_union 1021 select iid, N N
    f_name,
    f_order,
    f_kind,
    f_card_type
    but ,I got an errror if I drop this view
    SQL> drop view netodfj1.dfjv_owner_union;
    drop view netodfj1.dfjv_owner_union
    ORA-00942: 表或视图不存在
    I also compile the view,I also got the same error
    SQL> alter view netodfj1.dfjv_owner_union compile;
    alter view netodfj1.dfjv_owner_union compile
    ORA-00942: 表或视图不存在
    I also use dbms_utility.compile_schema, the view keep the same
    SQL> exec dbms_utility.compile_schema(schema => 'NETODFJ1',compile_all => TRUE);
    PL/SQL procedure successfully completed
    SQL> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME ='dfjv_owner_union'
    2 ;
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    NETODFJ1 dfjv_owner_union 182334 VIEW 2008-10-15 2008-10-15 10 2008-10-15:10:36:01 INVALID N N N 1
    I use create or replace statement to upgread the view, after that , I got 2 views. one is valid and the another is invalid.
    SQL> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME ='dfjv_owner_union'
    2 ;
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    NETODFJ1 __dfjv_owner_union__ 182334 VIEW 2008-10-15 2008-10-15 10 2008-10-15:10:36:01 INVALID N N N 1
    SQL> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME ='DFJV_OWNER_UNION'
    2 ;
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    NETODFJ1 DFJV_OWNER_UNION_ 182472 VIEW 2008-10-15 2008-10-15 11 2008-10-15:11:30:17 VALID N N N 1
    Is there any suggestion?
    Thanks
    Edited by: user3441999 on 2008-10-14 下午8:36

    If you need to drop the view you should use:
    SQL> drop view netodfj1."dfjv_owner_union";The view name has to be enclosed with *"*, otherwise oracle uppercase the name and can't found it on the dictionary because on it the name is in lowercase. Because of this it isn't recommended creating schema objects enclosing their names with *"*.
    HTH
    Enrique
    Edited by: Enrique Orbegozo on Oct 14, 2008 10:56 PM

  • BUG: SQL Developer no longer identifies invalid views version 1.1.3.2766

    I have a sql script which 'CREATE OR REPLACE FORCE VIEW' a view but unlike SQLDeveloper 1.1R2 which I am amending in a third party editor and loading via sqlplus the view is created with "Warning: View created with compilation errors."
    In 1.1R2 this would have displayed a view icon with a red cross in the navigator bar. This is no longer the case. All views appear to be valid.
    Regards
    Kris

    It appears that SQL Developer is not handling the INTERVAL data type when a NULL value is present, e.g: -
    This works OK:
    SELECT CAST('-0 0:0:0.400000000' AS INTERVAL DAY(3) TO SECOND(0))
    FROM dual;
    This does not:
    SELECT CAST(NULL AS INTERVAL DAY(3) TO SECOND(0))
    FROM dual;
    As a work around you can simply TO_CHAR the column:
    SELECT source,
    destination,
    comments,
    flags,
    owner,
    job_name,
    job_creator,
    client_id,
    global_uid,
    program_owner,
    program_name,
    job_type,
    job_action,
    number_of_arguments,
    schedule_owner,
    schedule_name,
    start_date,
    repeat_interval,
    end_date,
    job_class,
    enabled,
    auto_drop,
    restartable,
    state,
    job_priority,
    run_count,
    max_runs,
    failure_count,
    max_failures,
    retry_count,
    last_start_date,
    TO_CHAR(last_run_duration),
    next_run_date,
    TO_CHAR(schedule_limit),
    TO_CHAR(max_run_duration),
    logging_level,
    stop_on_window_close,
    instance_stickiness,
    system,
    job_weight,
    nls_env
    FROM dba_scheduler_jobs a;
    Thanks
    Kelvin
    Edited by: Kelvin Hibberd on 05-Feb-2010 06:32

  • Does table load make the view INVALID

    Hi All,
    One of our jobs failed due to an INVALID view. When I check the view and last_ddl_time, it has a time stamp, which is recent than the the job failure. I have also checkd the base table. One of the table partition has same time stamp for last_ddl_time as the view. Looks like the partition has been exchanged or some othe DDL ran on that partition. But table structure was not altered (no columns added, no renaming of the columns). My question by anmy chance adding a partition/partition exchnage/loading a partition makes the views on the table INVALID?? What could be the reason to this?
    Thanks in advance....

    Hi,
    The packages which is using this view will become invalid but when the package is accessed next time it will be valid.
    Source:-
    ~~~~~
    Check http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:18018481500446
    Thanks

  • Views always appear as different when engineering from Logical to Relational

    I created some views in my logical model. After I engineer them to relational model, they appear in relational with an exclamation mark near the upper left corner. If I try to generate ddl for them, I get an error (--  ERROR: Invalid View VwTest). I realized that I have to "validate selected views", in order for the eclamation mark to disappear, and then I am able to generate ddl for them. After that, when I engineer from logical to relational again, it always shows me that my views are different. The difference is that in logical, my entities are shown between double quotes ("), while in relational, after the validation, the tables are not between double quotes. Is there a way to overcome this?
    Thanks

    Hi,
    Thanks for reporting this problem.  It appears that this is happening when the Entity name contains lower-case letters.
    David

  • View not getting created in endeca 3.1

    Hi ALl,
    I am trying to create a new view in endeca 3.1 but I am getting below error:
    "Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: OES-000183: Dependency 'EPC' is missing"
    The view definition is
    DEFINE Events AS
    SELECT "EVENT_TYPE" AS "EVENT_TYPE",
      "BUSINESS_STEP" AS "BUSINESS_STEP",
      "DISPOSITION" AS "DISPOSITION",
      "ACTION" AS "ACTION",
      "BUSINESS_LOCATION" AS "BUSINESS_LOCATION",
      LOCATION AS "LOCATION",
      LOCATION_DESCRIPTION AS "LOCATION_DESCRIPTION",
      LOCATION_TYPE AS "LOCATION_TYPE",
      "EVENT_TIME" AS "EVENT_TIME",
      "RECORD_TIME" AS "RECORD_TIME",
      "TOP_LEVEL_EPC_CODE" AS "TOP_LEVEL_EPC_CODE",
      Count(EVENT_ID) AS "CODE_COUNTS",
      "EVENT_ID" AS "EVENT_ID"
    FROM EPC Code
    GROUP BY EVENT_ID
    Can someone please let me know how to resolve this issue.
    Thanks,
    Amrit

    I believe that as of 3.1 that if you are grouping the results of a view, then all of your view attributes need to have an aggregation function. That may be your problem.
    If you are simply copying the value of an attribute from the base view to your custom view, without needing to do any real aggregation, then you would use the ARB function.
    This is mentioned in Guidelines for using EQL to define a view, which includes an example.

  • Invalid Objects after remove Developer Environment

    Hello,
    after remove APEX Developer Environment I found some invalid View and Synonyms.
    Views is okay, table no more exist an the synonym for this view.
    DROP PACKAGE FLOWS_030100."APEX_MIG_PROJECTS_UPDATE";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_REV_TABLES";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_REV_QUERIES";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_REV_RPTS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_REV_FORMS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_PROJECTS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_ACC_RPTS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_ACC_FORMS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_ACC_TABLES";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_ACC_PROJECTS";
    DROP VIEW FLOWS_030100."APEX_MIGRATION_ACC_QUERIES";
    drop PUBLIC SYNONYM APEX_MIG_PROJECTS_UPDATE;
    drop PUBLIC SYNONYM APEX_MIGRATION_PROJECTS;
    drop PUBLIC SYNONYM APEX_MIGRATION_ACC_PROJECTS;
    drop PUBLIC SYNONYM APEX_MIGRATION_ACC_TABLES;
    drop PUBLIC SYNONYM APEX_MIGRATION_ACC_FORMS;
    drop PUBLIC SYNONYM APEX_MIGRATION_ACC_RPTS;
    drop PUBLIC SYNONYM APEX_MIGRATION_ACC_QUERIES;
    drop PUBLIC SYNONYM APEX_MIGRATION_REV_FORMS;
    drop PUBLIC SYNONYM APEX_MIGRATION_REV_RPTS;
    drop PUBLIC SYNONYM APEX_MIGRATION_REV_QUERIES;
    drop PUBLIC SYNONYM APEX_MIGRATION_REV_TABLES;
    But this 5 Synonyms I don't understand. Can anybody explain me this
    PUBLIC SYNONYM APPLICATION_AUTHENTICATION
    PUBLIC SYNONYM WWV_FLOW_LOOKUP_TABLES
    PUBLIC SYNONYM WWV_FLOW_WEB_SERVICES
    PUBLIC SYNONYM WWV_FLOW_REWRITE_QUERY
    PUBLIC SYNONYM WWV_CREATE_FORUM_DEMO_SCRIPT
    Bye
    Daniel

    Daniel,
    Those 5 public synonyms are not used in 3.1. You can drop them if you like.
    Scott

  • How to view LKM SQL

    Newbie question:
    I'm trying to execute an Oracle MERGE LKM (using db link). I consistently get "ORA-00999 invalid view name" errors when executing the interface.
    I'd love to see the SQL ODI is generating along the way, but I am clueless about how to trace it.
    Obviously, I haven't seen the right bit of documentation.
    Help!
    -John

    John
    You are seeing an error, I assume in Operator. If you expand out the session execution tree, you get the steps, expand out the step to show the tasks of that step. when you double-click on one of the steps, you will see the SQL generated in the Description Tab, and the result in the Execution tab, along with any execution statistics (and and errors thrown)
    Craig

  • GL : Default Desktop Viewer

    Hi,
    I used my Functional Administrator responsibility to set the GL : Default Desktop Viewer to Excel 97 via Core Services -> Profiles. I then switched to the General Ledger Super User responsibility and was happy to see the Launch Journal Wizard link there - I'm pretty sure it wasn't before but that's irrelevant - but when I tried to create a document I got BNE:EXCEL97 is an invalid Viewer Key for an error. I then used my System Administrator responsibility and went to Profile-> System and set the value for the viewer to Excel 2000 at all levels. When I went back to my GLSU responsibility however, the viewer was still Excel 97. So how did I mess this up? Why can't I change the viewer and why isn't Excel 97 allowed if it's one of the selections?
    TIA,
    George

    I did log out log in yesterday, but thought I'd better do it again this morning to insure I'd done as you suggested. Guess what - it's now set to Excel 2000 and that works fine. This kind of begs the question as to why the Excel 98 is included as a selection for setting the profile.
    Thank you very much,
    George

  • Run OrderPG.xml in Jdeveloper 10.1.3.3.0

    Hi,
    Can anyone describe me the steps to be followed to compile and run the OrderPG in JDeveloper? I have followed all the steps required and described. Copied complete $JAVA_TOP/oracle/apps/po structure to my desktop under my projects. I have also copied complete mds directory under $PRODUCT_TOP
    I am facing below errors
    1) Error: oracle.apps.po.document.agreement.server.DifferenceSummaryAM: Application Module oracle.apps.po.document.agreement.server.DifferenceSummaryAM has an invalid View Instance AttributeDetailsVO.
    2) Error: oracle.apps.po.document.server.PoAttributeValuesToPoAttributeValuesTlpVL: The view link end(s) do not specify an attribute.
    when I checked my myprojects oracle.apps.po, AttributeDetailsVO.xml is available under oracle.apps.po.document.diffsummary.server
    Jdeveloper version is 10.1.3.3.0.3

    Update:
    I just discovered a really weird effect... I created a new project from the example-war-files that came with Trinidad... To my surprise now the editor displayed the .jspx from my other project, even though I did not change the slightest thing in that project. As well, the editor now doesn't mark the <f:facet> tag as being erroneous due to a wrong parent object anymore. However... when I try to compile it says "ClassDefNotFoundError:UIXComponentTag", a problem I encountered earlier, and solved by deleting and re-including the Trinidad-libraries to my project.
    So now the editor doesn't show me any errors anymore and displays the .jspx correctly, but I can't compile, whereas before importing the Trinidad example to a different project it happened to be vice versa.

Maybe you are looking for

  • IPod Nano would not connect to Windows or Format. *SOLVED*

    Ok, first post and I am just posting to thank those who have posted some different things to try, thanks to you guys, I have a working iPod Nano. Here is what I tried... The Problem iTunes would not see my nano and could not format the nano during in

  • AE 5.2 remote risk analysis with CC 520_640

    Hi, Can anyone please tell me if this scenario is possible. AE to do risk analysis in remote system by using CC rules defined in a central system. Eg. ECC system has mitigation rules defined for HR. ECC also has rules defined for Finance, MM etc     

  • JSTL Function Causing JDev Designer to Hide Field

    I added a JSTL function to an OutputText field in an ADF Web application. The function itself works at run-time; however, in the JDev Designer, the Designer does not display the field. What I did was this: 1. Added the namespace prefix to the page fr

  • [Solved] Simple question

    How do I edit my current rc.conf after installation? I'm new to arch and don't know a lot of console commands yet, and I recently found out I need to edit the modules array in rc.conf but I have no idea how. Last edited by dm29 (2009-01-13 00:23:54)

  • Elements 9 - 'Does not have the required Codec' - can anyone help??

    Hi - I thought I had solved my video playing issues but apparently not! Elements is telling I don't have the right Codec installed on this machine so I looked on the Help forum and it seemed I needed Dolby AC3 so I searched around for this and found