Invalid objects no longer show

In APEX 3.0, any invalid procedures, triggers, etc. would show up with a red mark when viewing the objects. After upgrading to 3.2, they no longer do that. Is this intentional behavior or is something broken? It was really nice for quickly identifying which of my procedures broke after altering objects...

Hi,
It's difficult to say - it could be a stylesheet issue. If you clear your browser's cache and Ctrl-F5 your page, perhaps?
Have a look for "InvalidProcedure.jpg" in here: [http://apex.oracle.com/pls/otn/f?p=267:41] - click on the image to make it full size. I've intentially made my GETPAGE procedure invalid by adding a "Blah" line - clicked compile and refreshed the Procedures list. The red bar definitely appears. This is on my OTN workspace - the Apex version is shown bottom-right.
Andy
Edited by: ATD on 14-Aug-2009 17:00

Similar Messages

  • Why its showing error : Invalid Object Name 'table name' when we try to insert data ?

    Hi,
        When i try to insert data in the database with the following query
                    con.Open();
                    cmd = new SqlCommand("insert into good(ID,Name) values('" + textBox1.Text + "','" + textBox2.Text + "')", con);
                    cmd.ExecuteNonQuery();
                    MessageBox.Show("Insert success");
                    con.Close();
        its showing following error Invalid Object Name 'good'

    Use 3-part naming like: MyDatabase.dbo.good(ID,Name) .
    Also consider using stored procedure for database INSERTs.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Invalid objects showed up after import

    Hello,
    I wanted to migrate a lot of databases to 1 database, where I created schemas for every database. I imported each database to new schema and now I have one database with 30 schemas. When I try to export (full export) database like user "system", export is clear without any warnings, but when I try to import this database to another database a lot of warnings showed up. Warnings like:
    IMP-00061: Warning: Object type "SYSTEM". "Repco $ _OBJECT_NULL_VECTOR" already exists with a different identifier
    IMP-00019: row was rejected because of an error ORACLE 1
    IMP-00003: ORACLE error occurred 1
    ORA-00001: the unique constraints violation (SYSMAN.MGMT_ARU_FAM_PRD_PK)
    import was completed successfully with warnings. I try to recompile invalid objects which were created in this database, a lot of objects recompile ok but a few not
    SQL> select * from all_objects where status='INVALID';
    OWNER OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL TIMESTAMP STATUS T G S
    SYS DEF$_AQCALL
    4943 SYNONYM
    17.04.07 17.04.07 2007-04-17:03:41:22 INVALID N N N
    SYS DEFTRAN
    4955 VIEW
    17.04.07 17.04.07 2007-04-17:03:41:23 INVALID N N N
    OWNER OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL TIMESTAMP STATUS T G S
    PUBLIC DEFTRAN
    4956 SYNONYM
    17.04.07 17.04.07 2007-04-17:03:41:23 INVALID N N N
    SYS DEFTRANDEST
    4957 VIEW
    OWNER OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL TIMESTAMP STATUS T G S
    17.04.07 17.04.07 2007-04-17:03:41:23 INVALID N N N
    PUBLIC DEFTRANDEST
    4958 SYNONYM
    17.04.07 17.04.07 2007-04-17:03:50:09 INVALID N N N
    SYS DBMS_DEFER_SYS
    OWNER OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL TIMESTAMP STATUS T G S
    5054 PACKAGE BODY
    17.04.07 17.04.07 2007-04-17:03:50:35 INVALID N N N
    SYS DBMS_SNAPSHOT
    7493 PACKAGE BODY
    17.04.07 17.04.07 2007-04-17:03:50:56 INVALID N N N
    Please, I need your advice to solve this issues... Thank you for any help...

    thank you for your feedback...
    I am trying do it this on Windows Server 2008 R2 x64 + Oracle v. 10.2.0.3.0
    Export command:
    exp system/system@db01 file=C:\ICP\db01.DMP log=C:\ICP\db01.LOG FULL=Y
    Import commad:
    imp system/system@db01 FILE=C:\ICP\db01.DMP LOG=C:\ICP\db01.LOG FULL=Y IGNORE=Y
    "You should not be importing SYSTEM objects as these are seeded objects and are already present in the target database." so how to import whole database?
    Thank you...

  • Livetype no longer shows or renders backgrounds, textures or objects.

    After updating to FCP 6.0.3 and Quicktime 7.4.5 Livetype no longer shows or renders backgrounds, textures or objects. Here's a blog of current discussions of the problem.
    http://forums.creativecow.net/thread/73/855577
    I also have a screenshot of the Livetype canvas with a previously saved project that had a texture in the timeline, but now it only shows artifacting. As you can see below. What's going on??

    Will Salley1 wrote:
    I think this might answer our questions:
    http://discussions.apple.com/thread.jspa?messageID=7235041
    Thanks for posting the link, very helpful, but I've got to disagree with your previous addition:
    I have an identical issue so it's not an isolated incident.< </div>
    Blackmagic is not mentioned in the OP. Weird hardware often expresses itself in weird artifacts. These are rarelyr the fault of the apple application, it's the hardware mfr that has failed (maybe because Apple has failed to get them the tools) to update their systems and make the updates available ot their users and for the suers to install them.
    bogiesan

  • Invalid object error while migrating oracle forms 6i to APEX

    Hi,
    I have a form name abc.fmb and I did converted to xml and imported using application migration in APEX
    With these I have nine PL/SQL libraries (PLL). converted it to PLD using rwconvertor and imported in APEX. Also, I have 4 tables i.e data base block in forms.
    Now, when i m migrating forms to APEX it is giving an error message saying invalid objects and shows the table name and column name. But the column name that it shows is a text box in the form that is also a database item ...
    eg:- addr is the block name in forms
    item name dsp_name
    error: invalid object
    Please suggest.
    Thanks,
    AP.

    Hi AP
    i would suggest this...
    Oracle Application Express (APEX)
    Regards,
    Abdetu...

  • HT1751 I did all of the above and at the "Consolidate files" screen I clicked "ok" then it sayd "copying files failed. the file name was invalid or too long" and I had to click "OK"  I cannot consolidate the files to transport  to my external harddrive -h

    I would like to backup my itunes to my external hard drive
    I did all the steps up to "organize Liberary" which at this point I checked the box and the clicked"ok"
    it then said "copying files failed.  The file name was invalid or too long" "OK"
    It will  not let me consolidate the files so I can transfer to my external hard drive
    what am I doing wrong - any suggestions?
    thanks,

    Are you using consolidate files to bring in stray files to your main iTunes Media folder before backing up, or to copy the media folder to the external drive as part of backing up? If it is the latter then you are taking the wrong approach. See this user tip.
    Run my script Unconsolidated on the library. It will show you the remaining unconsolidated files which might give a clue as to which files iTunes is having a problem with. You can consolidate selected files in batches (select, right-click) as opposed to trying to do everything in one go. Alternatively you could try moving the remaining unconsolidated files with ConsolidateByMoving as long as this step is a precursor to a backup..
    tt2

  • Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" while starting my application?

    Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" when starting my application created in LabVIEW 7.1?  I am starting the application in a PXI rack running Windows XP.  I have an executable written in LabVIEW 7.0 that runs without this error.  After clicking the Continue button in the error, the application seems to continue happily.
    Is there something I need to include when I make the executable?
    I would like to understand and eliminate this start up error.
    Thanks in advance.
    BobNorth

    Hi Bob,
    I looked through the program and I figured out where the error is coming from, and potentially what is causing it. In a lot of the cases of the program you are searching a 1-D array for the name of the case, and if you don't find it then it skips the function and gives "Error 1 occurred at Config Data Registry.vi(CASENAME) invalid object 0". I attached a screenshot that shows what I mean. The Search 1-D Array.vi is returning a -1 which means it didn't find the case. The reason I believe this is happening is because the shift register for that array is not initialized. While the other cases "reset" and "register" interact with the array shift registers and most likely create the array you need, if the program defaults to the "get data" case then it will try to run that before registering and won't have an array to search. This would also explain why it only has this problem at first and seems to run just fine after that. To fix this you should either make an initial array and wire it into the shift register or make the "reset" case the default as opposed to the "get data" case.
    Regards,
    Peter W.
    Attachments:
    Config Data Registry.png ‏55 KB

  • Object no longer exist

    Hi All,
    I am using select a query.
    For eg.
    select columns from a,b
    where a.col1=b.col1
    and a.col2=b.col2
    and a.col3=b.col3
    it throws "*ORA-08103: object no longer exists*" error for the first time.
    But when i comment a join condition a.col2=b.col2 the query works fine.
    When i run the same query again it throws "*ORA-00600: internal error code, arguments: [kcbgtcr_12], [1]* "
    Please give some suggestion to solve this problem.
    My DB version is -- Release 9.2.0.8.0

    user13144724 wrote:
    Please give some suggestion to solve this problem.a) Upgrade your database to a supported version (i.e. at least 10.2.0.4)
    b) Post more information, like table structures, otherwise we won't have a clue
    c) Raise your issue with Oracle via metalink as it's showing an internal error (although they'll probably tell you to upgrade first)

  • Migration from windows to Linux -- Invalid objects.

    Hi DBA's
    After Migration there are no of invalid objects are there, specially APPLSYS, what action should I take.
    SQL> select owner, object_name, object_type from all_objects where status<>'VALID' order by owner;
    OWNER OBJECT_NAME OBJECT_TYPE
    APPLSYS AQ$WF_CONTROL VIEW
    APPLSYS AQ$WF_JAVA_DEFERRED VIEW
    APPLSYS AQ$WF_JAVA_ERROR VIEW
    APPLSYS AQ$WF_JMS_IN VIEW
    APPLSYS AQ$WF_JMS_JMS_OUT VIEW
    APPLSYS AQ$WF_JMS_OUT VIEW
    APPLSYS AQ$WF_NOTIFICATION_IN VIEW
    APPLSYS AQ$WF_NOTIFICATION_OUT VIEW
    APPLSYS AQ$WF_WS_JMS_IN VIEW
    APPLSYS AQ$WF_WS_JMS_OUT VIEW
    APPLSYS AQ$WF_WS_SAMPLE VIEW
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS AMV_IMT_PUB PACKAGE
    APPS AMV_IMT_PUB PACKAGE BODY
    APPS CSS_DEF_IMT_PUB PACKAGE
    APPS CSS_DEF_IMT_PUB PACKAGE BODY
    APPS CS_KB_CONC_PROG_PKG PACKAGE BODY
    APPS CS_SR_ADDR_SYNC_INDEX_PKG PACKAGE BODY
    APPS CS_SR_SYNC_INDEX_PKG PACKAGE BODY
    APPS EDR_INDEXED_XML_UTIL PACKAGE BODY
    APPS EDW_GEOGRAPHY_M_C PACKAGE BODY
    APPS EDW_HR_AGE_BAND_M_C PACKAGE BODY
    APPS EDW_HR_ASG_CHNG_M_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EDW_HR_ASSGNMNT_M_C PACKAGE BODY
    APPS EDW_HR_GRADE_M_C PACKAGE BODY
    APPS EDW_HR_JOBS_M_C PACKAGE BODY
    APPS EDW_HR_MVMNT_TYP_M_C PACKAGE BODY
    APPS EDW_HR_POSITION_M_C PACKAGE BODY
    APPS EDW_HR_PRSN_TYP_M_C PACKAGE BODY
    APPS EDW_HR_REASON_M_C PACKAGE BODY
    APPS EDW_HR_REC_ACT_M_C PACKAGE BODY
    APPS EDW_HR_RQN_VCNCY_M_C PACKAGE BODY
    APPS EDW_HR_SERVICE_M_C PACKAGE BODY
    APPS EDW_MRP_DM_CLS_M_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EDW_MRP_FORECAST_M_C PACKAGE BODY
    APPS EDW_MRP_PLAN_M_C PACKAGE BODY
    APPS EDW_MTL_INVENTORY_LOC_M_C PACKAGE BODY
    APPS EDW_OPI_ACTV_M_C PACKAGE BODY
    APPS EDW_OPI_LOT_M_C PACKAGE BODY
    APPS EDW_OPI_OPRN_M_C PACKAGE BODY
    APPS EDW_OPI_PRDL_M_C PACKAGE BODY
    APPS EDW_ORGANIZATION_M_C PACKAGE BODY
    APPS EDW_POA_LN_TYPE_M_C PACKAGE BODY
    APPS EDW_POA_SPLRITEM_M_C PACKAGE BODY
    APPS EE PROCEDURE
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EGO_ITEM_TEXT_PVT PACKAGE BODY
    APPS EGO_ITEM_TEXT_UTIL PACKAGE
    APPS EGO_ITEM_TEXT_UTIL PACKAGE BODY
    APPS EGO_MTL_SYSTEM_ITEMS_B_TR1 TRIGGER
    APPS EGO_MTL_SYSTEM_ITEMS_TL_TR1 TRIGGER
    APPS EMAIL PROCEDURE
    APPS EMAIL PACKAGE BODY
    APPS ENI_DENORM_HRCHY PACKAGE BODY
    APPS FII_AP_HOLD_DATA_F_C PACKAGE BODY
    APPS FII_AP_INV_LINES_F_C PACKAGE BODY
    APPS FII_AP_INV_ON_HOLD_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS FII_AP_INV_PAYMTS_F_C PACKAGE BODY
    APPS FII_AP_SCH_PAYMTS_F_C PACKAGE BODY
    APPS FII_AR_E_REVENUE_F_C PACKAGE BODY
    APPS FII_AR_TRX_DIST_F_C PACKAGE BODY
    APPS FII_PA_BUDGET_F_C PACKAGE BODY
    APPS FII_PA_COST_F_C PACKAGE BODY
    APPS FII_PA_REVENUE_F_C PACKAGE BODY
    APPS FII_PA_UOM_CONV_F_C PACKAGE BODY
    APPS FND_IMUTL PACKAGE BODY
    APPS FND_TS_MIG_UTIL PACKAGE BODY
    APPS HR_EDW_WRK_CMPSTN_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS HZ_DQM_SYNC PACKAGE BODY
    APPS HZ_PARTY_STAGE PACKAGE BODY
    APPS HZ_PURGE PACKAGE BODY
    APPS IBC_IMT_PUB PACKAGE
    APPS IBC_IMT_PUB PACKAGE BODY
    APPS IBE_SEARCHUPDATE_PVT PACKAGE BODY
    APPS IBE_SEARCH_SETUP_PVT PACKAGE BODY
    APPS ICX_POR_INTERMEDIA_INDEX PACKAGE BODY
    APPS IRC_DOCUMENT_API PACKAGE BODY
    APPS IRC_POSTING_CONTENT_API PACKAGE BODY
    APPS ISC_EDW_BOOK_SUM1_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS JTA_NOTES_IMT_PUB PACKAGE
    APPS JTA_NOTES_IMT_PUB PACKAGE BODY
    APPS JTF_AMVIMT_PUB PACKAGE
    APPS JTF_AMVIMT_PUB PACKAGE BODY
    APPS JTF_TASK_IDX_UTL PACKAGE BODY
    APPS OKC_ARTICLE_KEYWORD_PVT PACKAGE BODY
    APPS OKC_TEMPLATE_KEYWORD_PVT PACKAGE BODY
    APPS OPI_EDW_COGS_F_C PACKAGE BODY
    APPS OPI_EDW_OPMCOGS_F_C PACKAGE BODY
    APPS OPI_EDW_OPMINV_DAILY_STAT_F_C PACKAGE BODY
    APPS OPI_EDW_OPM_JOB_DETAIL_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS OPI_EDW_OPM_JOB_RSRC_F_C PACKAGE BODY
    APPS OPI_EDW_UOM_CONV_F_C PACKAGE BODY
    APPS RA_CUSTOMER_TEXT_PKG PACKAGE BODY
    APPS WF_DIAGNOSTICS PACKAGE BODY
    ODM AQ$DMS_QUEUE_TABLE VIEW
    OWAPUB DEBUG_CARTX PACKAGE BODY
    OWAPUB OWA_OPT_LOCK PACKAGE BODY
    OWAPUB OWA_UTIL PACKAGE BODY
    XXQUDRA XXQUDRA_GETPHONE FUNCTION
    97 rows selected.
    Best Regards,
    Suresh Gelda

    Hi Sawwan,
    I created the dblink.
    SQL> select * from user_db_links;
    no rows selected
    SQL> create database link APPS_TO_APPS connect to
    apps identified by apps
    using
    '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=aqherp)
    (Port=1526))(CONNECT_DATA=(SID=PROD)))'
    / 2 3 4 5 6
    Database link created.
    SQL> alter view APPLSYS.AQ$WF_CONTROL compile;
    Warning: View altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.EDW_GEOGRAPHY_M_C:
    LINE/COL ERROR
    109/4 PL/SQL: SQL Statement ignored
    147/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_LOCATION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    211/4 PL/SQL: SQL Statement ignored
    259/7 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_POSTCODE_CITY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    LINE/COL ERROR
    304/4 PL/SQL: SQL Statement ignored
    349/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_CITY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    394/4 PL/SQL: SQL Statement ignored
    439/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_POSTCODE_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    LINE/COL ERROR
    ORA-12154: TNS:could not resolve service name
    492/4 PL/SQL: SQL Statement ignored
    537/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_STATE_REGION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    583/4 PL/SQL: SQL Statement ignored
    628/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_STATE_LCV@APPS_TO_APPS.QUDRAH.COM
    LINE/COL ERROR
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    681/4 PL/SQL: SQL Statement ignored
    726/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_REGION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    771/4 PL/SQL: SQL Statement ignored
    816/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    LINE/COL ERROR
    APPS.EDW_GEOG_COUNTRY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    871/3 PL/SQL: SQL Statement ignored
    902/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_AREA2_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    953/4 PL/SQL: SQL Statement ignored
    LINE/COL ERROR
    983/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_AREA1_LCV@APPS_TO_APPS.QUDRAH.COM
    Thanks
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name

  • Invalid objects in APEX Schemas after import.

    Hi,
    After importing the APEX_040100 user in the database I got several invalid objects that are causing APEX not to work.
    I gave up to compile them. After using all kind of tricks such as compile one schema at a time or compile all of them using the utlprp.sql script
    or using EXEC DBMS_DDL.alter_compile('PACKAGE', 'MY_SCHEMA', 'MY_PACKAGE');
    or one object art a time using command sililar to:
    ALTER PACKAGE my_package COMPILE;
    ALTER PACKAGE my_package COMPILE BODY;
    ALTER PROCEDURE my_procedure COMPILE;
    ALTER FUNCTION my_function COMPILE;
    ALTER TRIGGER my_trigger COMPILE;
    ALTER VIEW my_view COMPILE;
    I can't find any documentation to show how to recompile them properly.
    So I am asking:
    1. How can we recompile all objects in APEX?
    2. How can we re-install APEX?
    3. How can we revert to previous version if both have problems?
    Thanks
    Yannis
    Here is the list of invalid objects:
    APEX_040100     PACKAGE     WWV_FLOW_DYNAMIC_EXEC     INVALID
    APEX_040100     PACKAGE     WWV_FLOW_LOAD_DATA     INVALID
    APEX_040100     PACKAGE     WWV_FLOW_SAMPLE_APP     INVALID
    APEX_040100     PACKAGE     WWV_FLOW_UTILITIES     INVALID
    APEX_040100     PACKAGE BODY     APEXWS     INVALID
    APEX_040100     PACKAGE BODY     HTMLDB_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_4000_UI     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_ADMIN_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_ADVISOR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_AJAX     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_APPLICATION_INSTALL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_ASFCOOKIE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_AUDIT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_AUTHENTICATION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_AUTHENTICATION_ENGINE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_AUTHORIZATION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_BUILDER     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_BUTTON     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CALENDAR3     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CALENDAR_AJAX     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CHECK     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_COLLECTION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CONDITIONS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_COPY_PAGE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CREATE_APP_FROM_QUERY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CREATE_MODEL_APP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CSS_API_PRIVATE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CUSTOM_AUTH     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_CUSTOM_AUTH_STD     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DATALOAD_XML     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DATA_QUICK_FLOW     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DATA_UPLOAD     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DICTIONARY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DISP_PAGE_PLUGS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DML     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DOWNLOAD     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DRAG_LAYOUT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_DYNAMIC_EXEC     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_ERROR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_F4000_P4150     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_F4000_PLUGINS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_F4000_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FILE_MGR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FLASH_CHART     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FLASH_CHART2     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FLASH_CHART5     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FLASH_CHART5_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FLASH_CHART_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FND_DEVELOPER_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FND_USER_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FORMS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_FORM_CONTROL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_GENERATE_DDL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_GENERATE_TABLE_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_GENERIC_ATTR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_GEN_API2     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_HINT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_HTML_API_PRIVATE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_IMP_PARSER     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_INSTALL_WIZARD     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_INSTANCE_ADMIN     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_ITEM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_JAVASCRIPT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_JOB     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LANG     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LDAP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LIST     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LOAD_DATA     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LOAD_EXCEL_DATA     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_LOGIN     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_MAIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_META_DATA     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_META_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_MODEL_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_NATIVE_AUTHENTICATION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_NATIVE_DYNAMIC_ACTION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_NATIVE_ITEM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PAGE_CACHE_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PLSQL_EDITOR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PLSQL_JOB     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PLUGIN_ENGINE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PLUGIN_F4000     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PLUGIN_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PPR_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PRINT_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PROCESS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PROCESS_UTILITY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PROVISION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_PROVISIONING     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_QUERY_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_REGEXP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_REGION_LAYOUT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_RENDER_QUERY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_RENDER_SHORTCUT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_REST     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SAMPLE_APP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SC_TRANSACTIONS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SECURITY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SERIES_ATTR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SESSION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SESSION_MON     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SVG     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SW_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SW_PAGE_CALLS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SW_PARSER     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SW_SCRIPT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_SW_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TABLE_DRILL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TAB_MGR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TEAM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TEAM_GEN_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TEMPLATES_UTIL     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_THEME_FILES     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_THEME_MANAGER     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TREE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_TREE_REGION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_UPGRADE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_UPGRADE_APP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_UTILITIES     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_VALIDATION     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WEBSERVICES_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WEB_SERVICES     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WIZARD_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WIZ_CONFIRM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_AJAX     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_DIALOGUE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_EXPR     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_FORM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSHEET_STANDARD     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WORKSPACE_REPORTS     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_ATTACHMENT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_DIALOG     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_EXPORT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_FLASH_CHART     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_FORM     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_GEOCODE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_IMPORT     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_IMPORT_API     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_SECURITY     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_SETUP     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_STICKIES     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_UI     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_WS_WEBPAGE     INVALID
    APEX_040100     PACKAGE BODY     WWV_FLOW_XLIFF     INVALID
    APEX_040100     PACKAGE BODY     WWV_META_CLEANUP     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_ACC_LOAD     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_FRMMENU_LOAD_XML     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_FRM_LOAD_XML     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_FRM_OLB_LOAD_XML     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_FRM_UPDATE_APX_APP     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_FRM_UTILITIES     INVALID
    APEX_040100     PACKAGE BODY     WWV_MIG_RPT_LOAD_XML     INVALID
    APEX_040100     PACKAGE BODY     WWV_RENDER_CALENDAR2     INVALID
    APEX_040100     PACKAGE BODY     WWV_RENDER_CHART2     INVALID
    APEX_040100     PACKAGE BODY     WWV_RENDER_REPORT3     INVALID
    APEX_040100     PROCEDURE     APEX_ADMIN     INVALID
    APEX_040100     PROCEDURE     F     INVALID
    APEX_040100     PROCEDURE     HTMLDB_ADMIN     INVALID
    APEX_040100     PROCEDURE     WS     INVALID
    APEX_040100     SYNONYM     APEX_COLLECTIONS     INVALID
    APEX_040100     SYNONYM     HTMLDB_COLLECTIONS     INVALID
    APEX_040100     TRIGGER     WWV_FLOW_FEEDBACK_T1     INVALID
    APEX_040100     VIEW     WWV_FLOW_ADVISOR_RESULT     INVALID
    APEX_040100     VIEW     WWV_FLOW_COLLECTIONS     INVALID
    APEX_040100     VIEW     WWV_FLOW_SEARCH_RESULT     INVALID
    APEX_040100     VIEW     WWV_MULTI_COMPONENT_EXPORT     INVALID

    yannisr wrote:
    Hi,
    After importing the APEX_040100 user in the database I got several invalid objects that are causing APEX not to work.Hi,
    You mean you did export APEX_040100 schema from one database and import it to another database?
    There is also public synonyms and if I recall correct some objects are in SYS schema that belongs to Apex and are needed.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Compile invalid objects in apps schema

    i make compiled the apps schema by
    adadmin,utlrp.sql,compiled manual but still i am getting INVALID objects .. how to compile these objects ?
    Below is the output
    SQL>
    column owner format A9
    column object_name format A31
    column object_type format A15
    column last_ddl_time format A10
    spool invalids.lst
    select OWNER, OBJECT_NAME,OBJECT_TYPE,LAST_DDL_TIME
    from dba_objects where status='INVALID'
    order by owner;
    OWNER OBJECT_NAME OBJECT_TYPE LAST_DDL_T
    APPS FV_FACTS_TBAL_TRANSACTIONS PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_REINSTATE_PKG PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_RETIREMENT PACKAGE BODY 03-MAR-13
    APPS CST_PERIODIC_ABSORPTION_PROC PACKAGE BODY 03-MAR-13
    APPS FV_SLA_UTL_PROCESSING_PKG PACKAGE BODY 03-MAR-13
    APPS FV_CCR_UTIL_PVT PACKAGE BODY 03-MAR-13
    APPS PSA_AP_BC_PVT PACKAGE BODY 03-MAR-13
    APPS XLA_00200_AAD_S_000012_PKG PACKAGE BODY 03-MAR-13
    APPS AR_RECEIPT_UPDATE_API_PUB PACKAGE BODY 03-MAR-13
    APPS AR_AUTOREC_API PACKAGE BODY 03-MAR-13
    10 rows selected.
    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.IGI_IAC_REINSTATE_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_REINSTATE_PKG:
    LINE/COL ERROR
    3470/3 PL/SQL: Statement ignored
    3470/10 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.IGI_IAC_RETIREMENT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_RETIREMENT:
    LINE/COL ERROR
    4247/10 PL/SQL: Statement ignored
    4247/18 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.FV_SLA_UTL_PROCESSING_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_SLA_UTL_PROCESSING_PKG:
    LINE/COL ERROR
    49/7 PL/SQL: Statement ignored
    49/22 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared
    SQL> alter package APPS.PSA_AP_BC_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.PSA_AP_BC_PVT:
    LINE/COL ERROR
    291/11 PL/SQL: Statement ignored
    291/26 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    346/13 PL/SQL: Statement ignored
    346/28 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    835/7 PL/SQL: Statement ignored
    835/12 PLS-00313: 'ISPREPAYDIST' not declared in this scope
    1002/15 PL/SQL: Statement ignored
    1002/34 PLS-00201: identifier 'J' must be declared
    1014/13 PL/SQL: Statement ignored
    1014/48 PLS-00201: identifier 'I' must be declared
    1020/13 PL/SQL: Statement ignored
    LINE/COL ERROR
    1020/43 PLS-00201: identifier 'I' must be declared
    1022/13 PL/SQL: Statement ignored
    1024/73 PLS-00201: identifier 'I' must be declared
    1055/11 PL/SQL: Statement ignored
    1055/48 PLS-00201: identifier 'I' must be declared
    1057/11 PL/SQL: SQL Statement ignored
    1057/51 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_AUTOREC_API:
    LINE/COL ERROR
    2724/9 PL/SQL: SQL Statement ignored
    2740/27 PL/SQL: ORA-00904: "EXT"."SEQ_TYPE_LAST": invalid identifier
    note:application v12.0.4 database 10.2.3

    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared

  • Many invalid objects found after new install the R12 vision demo (12.1.1)

    In AIX Server,
    I found many invalid objects after new install the R12 vision demo (12.1.1) with DB v11.1.0.7, can I drop the following invalid objects then upgrade to R12.1.3 ?
    OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS XLA_00707_AAD_C_000026_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000017_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000016_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000032_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000034_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000039_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000041_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000020_PKG PACKAGE BODY INVALID
    RE RE_PROFILER PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000018_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000021_PKG PACKAGE BODY INVALID
    APPS XLA_00555_AAD_S_000014_PKG PACKAGE BODY INVALID
    APPS XLA_00555_AAD_C_000015_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000022_PKG PACKAGE BODY INVALID
    APPS XLA_00140_AAD_S_000036_PKG PACKAGE BODY INVALID
    APPS FSAH_DUPLICATE_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_C_000044_PKG PACKAGE BODY INVALID
    APPS MSD_DEM_OBI_DEMANTRA_MV MATERIALIZED VIEW INVALID
    18 rows selected.
    SQL> alter package XLA_00707_AAD_C_000026_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY XLA_00707_AAD_C_000026_PKG:
    LINE/COL ERROR
    1/49 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    is as compress compiled wrapped
    The symbol "compress" was substituted for "end-of-file" to continue.
    SQL> alter package RE.RE_PROFILER compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY RE.RE_PROFILER:
    LINE/COL ERROR
    1180/13 PL/SQL: SQL Statement ignored
    1180/13 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    1181/32 PLS-00440: FORALL bulk IN-bind variables cannot be used here
    1926/9 PL/SQL: SQL Statement ignored
    1926/9 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    SQL> alter package FSAH_DUPLICATE_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY FSAH_DUPLICATE_PKG:
    LINE/COL ERROR
    7/12 PLS-00341: declaration of cursor 'C1' is incomplete or malformed
    8/7 PL/SQL: SQL Statement ignored
    9/14 PL/SQL: ORA-00942: table or view does not exist
    12/17 PL/SQL: Item ignored
    16/7 PL/SQL: SQL Statement ignored
    16/71 PL/SQL: ORA-00942: table or view does not exist
    22/13 PL/SQL: SQL Statement ignored
    22/27 PLS-00320: the declaration of the type of this expression is incomplete or malformed
    Edited by: SamCH on 2013年2月4日 下午11:19

    Hi Hussein,
    Thanks for your reply again, the compile error as below
    e.g.
    show error
    SQL> ALTER PACKAGE APPS.XLA_00707_AAD_C_000026_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00707_AAD_C_000026_PKG:
    LINE/COL ERROR
    1/49 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    is as compress compiled wrapped
    The symbol "compress" was substituted for "end-of-file" to continue.
    SQL> ALTER PACKAGE APPS.XLA_00200_AAD_C_000017_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_C_000017_PKG:
    LINE/COL ERROR
    131072/2 PLS-00103: Encountered the symbol "end-of-file" when expecting
    one of the following:
    ( begin case declare end exit for goto if loop mod null
    pragma raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    continue close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe purge
    SQL> ALTER PACKAGE APPS.XLA_00200_AAD_S_000032_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000032_PKG:
    LINE/COL ERROR
    131072/7 PLS-00103: Encountered the symbol "end-of-file" when expecting
    2 one of the following:
    . ( ) , * % & = - + < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like like2
    like4 likec between || multiset member submultiset
    SQL> ALTER PACKAGE RE.RE_PROFILER COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY RE.RE_PROFILER:
    LINE/COL ERROR
    1180/13 PL/SQL: SQL Statement ignored
    1180/13 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    1181/32 PLS-00440: FORALL bulk IN-bind variables cannot be used here
    1926/9 PL/SQL: SQL Statement ignored
    1926/9 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    SQL> ALTER PACKAGE APPS.XLA_00555_AAD_S_000014_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00555_AAD_S_000014_PKG:
    LINE/COL ERROR
    131072/5 PLS-00103: Encountered the symbol "end-of-file" when expecting
    7 one of the following:
    begin function pragma procedure subtype type <an identifier>
    <a double-quoted delimited-identifier> current cursor delete exists prior
    SQL> ALTER PACKAGE APPS.FSAH_DUPLICATE_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.FSAH_DUPLICATE_PKG:
    LINE/COL ERROR
    7/12 PLS-00341: declaration of cursor 'C1' is incomplete or malformed
    8/7 PL/SQL: SQL Statement ignored
    9/14 PL/SQL: ORA-00942: table or view does not exist
    12/17 PL/SQL: Item ignored
    16/7 PL/SQL: SQL Statement ignored
    16/71 PL/SQL: ORA-00942: table or view does not exist
    22/13 PL/SQL: SQL Statement ignored
    22/27 PLS-00320: the declaration of the type of this expression is incomplete or malformed
    SQL> ALTER PACKAGE APPS.XLA_00707_AAD_C_000044_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00707_AAD_C_000044_PKG:
    LINE/COL ERROR
    201713/1 PL/SQL: SQL Statement ignored
    201826/1 PL/SQL: ORA-00904: "CST_XLA_INV_REF_V"."TRANSACTION_SOURCE_ID":
    30 invalid identifier
    202147/1 PL/SQL: SQL Statement ignored
    202191/1 PL/SQL: ORA-00904: "CST_XLA_INV_REF_V"."TRANSACTION_SOURCE_ID":
    30 invalid identifier
    202973/5 PL/SQL: Statement ignored
    202973/2 PLS-00364: loop index variable 'HEADER_RECORD' use is invalid
    7
    SQL> ALTER PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.POS_AP_SUPPLIER_BO_PKG:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00304: cannot compile body of 'POS_AP_SUPPLIER_BO_PKG' without its specification
    1/14 PLS-00905: object APPS.POS_AP_SUPPLIER_BO_PKG is invalid
    SQL> ALTER PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG COMPILE ;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG:
    LINE/COL ERROR
    3/3 PL/SQL: Declaration ignored
    7/32 PLS-00201: identifier 'POS_AP_SUPPLIER_BO' must be declared
    28/3 PL/SQL: Declaration ignored
    35/40 PLS-00201: identifier 'POS_AP_SUPPLIER_BO' must be declared
    SQL> ALTER PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.POS_BANK_ACCOUNT_BO_PKG:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00304: cannot compile body of 'POS_BANK_ACCOUNT_BO_PKG' without its specification
    1/14 PLS-00905: object APPS.POS_BANK_ACCOUNT_BO_PKG is invalid
    SQL> ALTER PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG COMPILE ;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG:
    LINE/COL ERROR
    4/6 PL/SQL: Declaration ignored
    9/80 PLS-00201: identifier 'POS_BANK_ACCOUNT_BO_TBL' must be declared
    13/5 PL/SQL: Declaration ignored
    19/69 PLS-00201: identifier 'POS_BANK_ACCOUNT_BO_TBL' must be declared

  • Invalid Objects Need To Compile.

    Hi,
    Am having R12.1.3 instance, In that am having 61 invalid objects.
    I was try to reduce by utlrp.sql script and also adadmin utility.
    But its not reducing.
    Below i have Mentioned invalid objects details.
    SQL> select object_name,object_type,owner from dba_objects where status like 'INVALID';
    OBJECT_NAME OBJECT_TYPE OWNER
    HR_ENTRY_API PACKAGE BODY APPS
    PAY_DYT_ELEMENT_ENTRY_VAL_PKG PACKAGE APPS
    PAY_DYT_ELEMENT_ENTRY_VAL_PKG PACKAGE BODY APPS
    WWV_FLOW_LIST_OF_VALUES_DATA SYNONYM PUBLIC
    WWV_FLOW_PATCHES SYNONYM PUBLIC
    WWV_FLOW_LISTS_OF_VALUES$ SYNONYM PUBLIC
    WWV_FLOW_TEMP_TABLE SYNONYM PUBLIC
    WWV_FLOW_CUSTOM_AUTH_SSO SYNONYM PUBLIC
    WWV_FLOW_TEMPLATES_UTIL SYNONYM PUBLIC
    HTMLDB_SQL_WORKSHOP SYNONYM PUBLIC
    HTMLDB_DATA_WORKSHOP SYNONYM PUBLIC
    OBJECT_NAME OBJECT_TYPE OWNER
    WWV_FLOW_GENERIC SYNONYM PUBLIC
    WWV_FLOW_DML SYNONYM PUBLIC
    WWV_FLOW_FIELD_TEMPLATES SYNONYM PUBLIC
    APPLICATION_AUTHENTICATION SYNONYM PUBLIC
    WWV_RENDER_CALENDAR2 SYNONYM PUBLIC
    WWV_FLOW_XML_REPORT SYNONYM PUBLIC
    WWV_FLOW_XML_REPORT2 SYNONYM PUBLIC
    DS_SQL_WORKSHOP SYNONYM PUBLIC
    WWV_CREATE_FORUM_DEMO_SCRIPT SYNONYM PUBLIC
    WWV_FLOW_LOOKUP_TABLES SYNONYM PUBLIC
    WWV_FLOW_WEB_SERVICES SYNONYM PUBLIC
    OBJECT_NAME OBJECT_TYPE OWNER
    WWV_SPELING SYNONYM PUBLIC
    WWV_FLOW_HELP SYNONYM PUBLIC
    WWV_FLOW_REWRITE_QUERY SYNONYM PUBLIC
    RE_PROFILER PACKAGE BODY RE
    XXADT_PAY_REIMB_WF_PKG PACKAGE BODY APPS
    WWV_FLOW_LOV_TEMP SYNONYM PUBLIC
    RDT_1 TABLE HERMAN
    MAIN_PROC PROCEDURE XX_CUST
    SERIAL_MAIN_PROC PROCEDURE XX_CUST
    TRO_HEADER_SRL_CONF PROCEDURE XX_CUST
    GETSESSIONCOOKIE FUNCTION XX_CUST
    OBJECT_NAME OBJECT_TYPE OWNER
    PPGPL_POPULATE_TABLE PROCEDURE APPS
    READ_PA_EXP_ITEM PROCEDURE APPS
    TEST_PROC PROCEDURE APPS
    VAR_BUDGET_PKG_1 PACKAGE BODY XX_CUST
    PARENT_DEPARTMENT FUNCTION XX_CUST
    EFFECTIVE_DATE FUNCTION XX_CUST
    DECODE_POSITION FUNCTION XX_CUST
    DECODE_ORGANIZATION FUNCTION XX_CUST
    XLA_00707_AAD_C_000026_PKG PACKAGE BODY APPS
    XLA_20065_AAD_C_000030_PKG PACKAGE BODY APPS
    FSAH_DUPLICATE_PKG PACKAGE BODY APPS
    OBJECT_NAME OBJECT_TYPE OWNER
    XX_INVENTORY_ITEM_PKG PACKAGE BODY APPS
    FN_ADD FUNCTION APPS
    ADD_NEW FUNCTION APPS
    XX_FND_USER_PKG PACKAGE BODY APPS
    XX_ITEM_VALIDATE PROCEDURE APPS
    XLA_00707_AAD_C_000044_PKG PACKAGE BODY APPS
    SPEC PACKAGE APPS
    XXGSC_ITEM_CREATION PACKAGE BODY APPS
    SPECIFICATION PACKAGE APPS
    XXHY_AMS_BUDGET_ORG_PKG PACKAGE BODY APPS
    SAN_GET_SALARY FUNCTION APPS
    OBJECT_NAME OBJECT_TYPE OWNER
    SAN_GET_ELEMENTS_ENTRIES FUNCTION APPS
    XXADT_AST_APP_HIST_V VIEW APPS
    TRG TRIGGER APPS
    MSD_DEM_OBI_DEMANTRA_MV MATERIALIZED VIEW APPS
    F TABLE CA
    G TABLE CA
    61 rows selected.
    If am compiling also it shows error.
    SQL> alter package SPEC compile;
    Warning: Package altered with compilation errors.
    SQL> show error;
    Errors for PACKAGE SPEC:
    LINE/COL ERROR
    1/15 PLS-00103: Encountered the symbol "XX_4I_INV_ITEM_CREATION_PKG"
    when expecting one of the following:
    is authid as compress compiled wrapped
    The symbol "authid" was substituted for
    "XX_4I_INV_ITEM_CREATION_PKG" to continue.
    Please suggest me to reduce the invalid objects.

    Please post the details of the database version and OS.
    Was this application upgraded from 11i?
    For XX% objects, these are custom ones and you need to visit the code and fix it (with the help of your developers).
    For XLA objects, please see the following docs.
    Invalid XLA Packages In Release 12.1.3 [ID 1496529.1]
    Xla Invalids After Upgrade From 11i To Release 12 [ID 1302349.1]
    XLA Package Invalid in 12.1.1 [ID 1093888.1]
    R12: Invalid Xla Objects After Upgrade from 11i To R12 - Unable To Compile [ID 1238973.1]
    Unable To Compile Invalid XLA Objects [ID 1468836.1]
    For the rest of the invalid objects, please see the following docs.
    Troubleshooting Guide - invalid objects in the E-Business Suite Environment 11i and 12 [ID 1325394.1]
    R12.1:Invalid Objects After 11gr2 Db And Ebs 12.1.3 Upgrade [ID 1342701.1]
    Just Upgraded To R12 And Now A Number Of Objects Won't Compile - Views: <PROD>BV_ -> <PROD>BG_ and <PROD>FV_ -> <PROD>FG_ [ID 560185.1]
    R12.1.1 - Invalid Objects After Patching [ID 1093163.1]
    If you still have invalid objects, please compile them manually and post the error here.
    Thanks,
    Hussein

  • Invalid object name for Next value from sequence  using sqlserver 2012

    Select SequenceName.nextVal into lint from dual ;
    Invalid object name error message is coming when using sqlserver 2012
    Please help

    Hello,
    Create the sequence and a stored procedure which returns the sequence as follows:
    CREATE SEQUENCE mySequence_tinyint AS tinyint
    GO
    CREATE PROCEDURE Central_CreateSequence
       @NextID BIGINT OUTPUT
    AS
    BEGIN
       SET NOCOUNT ON;
       SELECT @NextID = NEXT VALUE FOR mySequence_tinyint;
    END
    GO
    In PowerBuilder, run this script:
    long ll = -10
    DECLARE proc PROCEDURE FOR Central_CreateSequence @NextID = :ll OUTPUT;      
    EXECUTE proc;
    FETCH proc INTO :ll;
    CLOSE proc;
    IF SQLCA.SQLcode <> 0 THEN
    MessageBox("error", SQLCA.sqlerrtext)
    END IF
    MessageBox("", ll)
    I know there can be other ways to return the next value of the sequence...
    HTH
    Jacob

  • [WIN 7] "either invalid or too long" ?

    I just received the trial dvd package I ordered from the adobe website.
    As I try to install the full collection to a different partition than default, I get the following message:
    "The folder location is either invalid or too long. Please select a different location."
    I tried several partitions containing enough space for the installation, but still I get the error message.
    The same thing happened for both installing to the root of the partitions, and to "g:\program files\adobe" etc.
    I ran the setup as administrator (right click etc.) and I'm using windows 7 ultimate x64.
    Any ideas so far? It's driving me nuts! Can't find anyone else sharing my problem on google or so.
    Thanks in advance!
    P.S. I attached a screenshot showing my drives (enough space) and the error message the installer has given.

    That screen shot is showing the installation going to c:/program files.
    Worth noting here is that Win7 has not been officially released yet (though I'm using it on a test machine and everything seems fine) and that with a 64 bit operating system you must be very careful about where the programs are installed. That's why I recommend the default location since the installer will put the 64 bit portions in the correct program files folder.
    You really should clean up that c drive anyway. All windows programs require a good deal of space for installation on that drive even if installing on a different partion and anything under 20% free is a problem waiting to happen.
    Bob

Maybe you are looking for

  • Animated Gif showing OK on mac email, not PC after saving as webpage in word

    Hello, Not sure where to post this (MAC or PC Photoshop forum), but I will try here first. I have an animated gif that is placed in a Microsoft Word Document and then Sent from there, as an HTML e-mail. This guarantees that the animated gif shows up

  • Hyperlink not working in KM Iview

    Hi All, I have created a html file in KM which has hyperlinks to other html in the same folder. When i click the preview of html in km folder the hyper link works fine. But when i create an KM document ivew and attach the html link there, the hyperli

  • List Local Service Admins Using Alternate Credentials

    We're trying to write a script that will query a single server for a list of local server admins but want to pass alternate credentails.  In other words, we want users who do not have admin rights to the server to be able to list local admins using t

  • Finding mailboxes and internet bookmarks

    I posted this morning asking if anyone knew how to remap my main drive, after my young niece changed the name on the hard drive. The computer's response to this was to boot up as if it were a new machine, complete with product registration page. I've

  • Is there any compatibility issue to connect Oracle server with newest vers

    I wanted to know that can we connect Oracle server 10.2.xxx with latest client like 11.2.xxx. Is there any compatibility or Interoperability issue