INVALID Objects to be VALID

Hi,
I have installed the ORacle and DB Creation and imported Dump.
When I do first time in my Laptop. Its working fine. All the objects are 'VALID'.
When I do second time in another Desktop, Lot of OBjects shows status as 'INVALID'.
What may be the possbilities went Wrong?
What is the solution to make the INVALID objects into VALID?
Kindly guide me to rectify this Error.

You can drop & import again, If again you ran into same issue, then what is the use of import again? You can try it is not bad idea
When I do first time in my Laptop. Its working fine. All the objects are 'VALID'.
When I do second time in another Desktop, Lot of OBjects shows status as 'INVALID'.So you imported same data in two different databases? then it should not problem. if you post either those are views or some thing else?
If views you can compile manually, if packages you can compile you can compile package body/packages. Your information is alwasy not clear and stright forward,
alter view <viewname> compile;
alter package <package_name> compile body;

Similar Messages

  • Needto find no. of valid and invalid objects in a tablespace

    Hi,
    Can anyone tell me how to find the no. of objects that are valid and invalid in a tablespace.Below are the 2 tablespace that i want the info for
    SQL> select
      2  fs.tablespace_name "Tablespace",
    (df.totalspace - fs.freespace) "Used MB",
      3    4  fs.freespace "Free MB",
      5  df.totalspace "Total MB",
      6  round(100 * (fs.freespace / df.totalspace)) "Pct. Free"
      7  from
      8  (select
      9  tablespace_name,
    10  round(sum(bytes) / 1048576) TotalSpace
    11  from
    12  dba_data_files
    13  group by
    14  tablespace_name
    15  ) df,
    16  (select
    17  tablespace_name,
    18  round(sum(bytes) / 1048576) FreeSpace
    19  from
    20  dba_free_space
    21  group by
    22  tablespace_name
    23  ) fs
    24  where
    25  df.tablespace_name = fs.tablespace_name
    26  and fs.tablespace_name IN ('FPR_GL_I02','FPR_GL_D02');
    Tablespace                        Used MB    Free MB   Total MB  Pct. Free
    FPR_GL_I02                             18       4500       4518        100
    FPR_GL_D02                           1980     119250     121230         98Thanks in advance...........

    You can try with below query too.
    idle> select b.object_name,b.object_type,b.status,b.owner,a.tablespace_name from dba_objects b, dba_segments a where b.status='INVALID' and a.tablespace_name='USERS';
    OBJECT_NAME OBJECT_TYPE STATUS OWNER TABLESPACE
    QSRO_DDL_TRIG TRIGGER INVALID DB_QIPS USERS
    QSRL_USRDT_TRIG TRIGGER INVALID DB_QIPS USERS
    QSRL_DDL_TRIG TRIGGER INVALID DB_QIPS USERS
    DEMO VIEW INVALID DAVID USERS
    QSRO_DDL_TRIG TRIGGER INVALID DB_QIPS USERS
    QSRL_USRDT_TRIG TRIGGER INVALID DB_QIPS USERS
    QSRL_DDL_TRIG TRIGGER INVALID DB_QIPS USERS
    DEMO VIEW INVALID DAVID USERS
    QSRO_DDL_TRIG TRIGGER INVALID DB_QIPS USERS

  • Crystal report for visual studio 2010 data source object is not valid error

    Hello,
    I receive an "data source object is not valid" error when I want to print one CR document after setting an ADODB.Recordset on SetDataSource method of my report.
    On my developer station, this operation works without problem but on client station, I get this error.
    The redistributable package for client is installed on client side (CRRuntime_32bit_13_0_1.msi).
    Can someone help me?
    Thank you.

    Thank's for your answers
    Dim rsPkLst As ADODB.Recordset = Nothing
    Dim report As New crPickingList
    ' Fill ADODB.Recordset with SQL Statment
    If rsPkLst.RecordCount > 0 Then
          report.SetDataSource(rsPkLst) ' Error : The data source object is invalid
    EndIf
    This error appears during  "report.SetDataSource(rsPkLst)" instruction.
    ADODB drivers are already installed and my ADODB.Recordset is filled with good records.
    This project is an updated project from Visual Studio 2003 to Visual studio 2010 and the old version was running fine.
    Developer and client station runs under Windows XP SP3.
    On developer side I install CRforVS_13_0_1 (BuildVersion=13.0.1.220.Cortez_CR4VS).
    On client side I install CRRuntime_32bit_13_0_1.msi.
    Both stations use Microsoft .Net Framework 4.
    Move to ADO.NET is a solution but, for the moment, I do not have the time to change all applications from my company.
    (I get this error from all application updated from VS 2003 to VS 2010 developed since 2005)
    David.

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Invalid objects after upgrade 8.1.7 to 9.2.0.6

    I upgraded the database from 8.0.5 under EBS 11.0.3 to 8.1.7 then from 8.1.7 to 9.2.0.6 under EBS 11.5.10.2
    in front of try to compile objects with utlrp, utlrcmp or compile i can't make these objects valid!
    can any one help me please?
    my invalids objects & errors from dba_errors are :
    OWNER NAME TEXT
    SYSTEM AD_APPS_PRIVATE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_APPS_PRIVATE PL/SQL: SQL Statement ignored
    SYSTEM AD_APPS_PRIVATE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_APPS_PRIVATE PL/SQL: SQL Statement ignored
    SYSTEM AD_COMPILE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_COMPILE PL/SQL: SQL Statement ignored
    SYSTEM AD_INST PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_INST PL/SQL: SQL Statement ignored
    SYSTEM AD_INST PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_MCURR PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_MCURR PL/SQL: SQL Statement ignored
    SYSTEM AD_PARALLEL_COMPILE_PKG PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_PARALLEL_COMPILE_PKG PL/SQL: SQL Statement ignored
    CTXSYS CTX_ACCESS PLS-00201: identifier 'SYS.DBA_SYNONYMS' must be declared CTXSYS CTX_ACCESS PL/SQL: SQL Statement ignored
    CTXSYS CTX_ACCESS PLS-00201: identifier 'SYS.DBA_OBJECTS' must be declared
    CTXSYS CTX_ACCESS PL/SQL: SQL Statement ignored
    CTXSYS CTX_ADM PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_ADM PL/SQL: Statement ignored
    CTXSYS CTX_DDL PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_DDL PL/SQL: Item ignored
    CTXSYS CTX_DDL PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_DML PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS CTX_DML PL/SQL: Statement ignored
    CTXSYS CTX_LING PLS-00593: default value of parameter "LOG_MODE" in body
    must match that of spec
    CTXSYS CTX_QUERY PLS-00201: identifier 'DBA_OBJECTS' must be declared
    CTXSYS CTX_QUERY PL/SQL: SQL Statement ignored
    CTXSYS CTX_VP PLS-00201: identifier 'DBA_OBJECTS' must be declared
    CTXSYS DISPATCHER PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DISPATCHER PL/SQL: Declaration ignored
    CTXSYS DMLQ PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DMLQ PL/SQL: Statement ignored
    CTXSYS DRASERM PLS-00593: default value of parameter "PERSON_MASK" in b
    ody must match that of spec
    CTXSYS DRDBG PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DRDBG PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DRDBG PL/SQL: Statement ignored
    CTXSYS DRICON PLS-00201: identifier 'DBA_TAB_PRIVS' must be declared
    CTXSYS DRICON PL/SQL: SQL Statement ignored
    CTXSYS DRICON PL/SQL: SQL Statement ignored
    CTXSYS DR_IDX PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DR_IDX PL/SQL: Statement ignored
    CTXSYS DR_REC PL/SQL: SQL Statement ignored
    CTXSYS DR_REC PLS-00201: identifier 'SYS.USER$' must be declared
    CTXSYS DR_REC PL/SQL: SQL Statement ignored
    CTXSYS DR_REWRITE PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS DR_REWRITE PL/SQL: Statement ignored
    CTXSYS DR_REWRITE PLS-00201: identifier 'SYS.USER$' must be declared
    CTXSYS DR_REWRITE PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS DR_REWRITE PL/SQL: Item ignored
    CTXSYS DR_RTM PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DR_RTM PL/SQL: Statement ignored
    CTXSYS DR_UTL PLS-00302: component 'IS_PARALLEL_SERVER' must be declar
    ed
    CTXSYS DR_UTL PL/SQL: Statement ignored
    CTXSYS LISTENER PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS LISTENER PL/SQL: Item ignored
    CTXSYS LISTENER PLS-00320: the declaration of the type of this expressio
    n is incomplete or malformed
    CTXSYS LISTENER PL/SQL: Statement ignored
    CTXSYS LISTENER PLS-00320: the declaration of the type of this expressio
    n is incomplete or malformed
    CTXSYS PIPE PL/SQL: Statement ignored
    CTXSYS PIPE PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS PIPE PL/SQL: Statement ignored
    CTXSYS SVCQ PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS SVCQ PL/SQL: Statement ignored
    APPS AD_DD PLS-00593: default value of parameter "P_DESCRIPTION" in
    body must match that of spec
    APPS AK_ATTRIBUTE_PVT PLS-00593: default value of parameter "P_DATA_TYPE" in b
    ody must match that of spec
    APPS AK_ATTRIBUTE_PVT PLS-00593: default value of parameter "P_PASS" in body m
    ust match that of spec
    APPS AK_OBJECT_GRP PLS-00593: default value of parameter "P_VALUE_VARCHAR2"
    in body must match that of spec
    APPS AS_OPPORTUNITY_PUB PLS-00593: default value of parameter "P_DEFAULT_FORECAS
    TING_INFO" in body must match that of spec
    APPS AS_OPPORTUNITY_PVT PLS-00593: default value of parameter "P_DEFAULT_FORECAS
    TING_INFO" in body must match that of spec
    APPS AS_QUOTE_PVT PLS-00593: default value of parameter "P_QUOTE_STATUS" i
    n body must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_PERIOD" in body
    must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_CCID" in body m
    ust match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_BALSEGL" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_BALSEGH" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_ACCSEGL" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_ACCSEGH" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_TPID" in body m
    ust match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_SUBID" in body
    must match that of spec
    Regards.
    e-mail : [email protected]

    thank you for your answer,
    i followed all documentation from oracle support, first document is
    Upgrading Oracle Applications
    Release 11i (11.5.10)
    Part No. B13584-01
    i used also "Installation Guide Using Rapid Install.pdf" chapter 4
    first thing is that i upgraded database from 8.0.5 under EBS 11.0.3/win 2000 to 8.1.7 on an intermediate machine. then, i prepared environnement on an other machine with EBS 11.5.10.2 under windows 2003 (for the database, i have now only software) then i copied upgraded 8.1.7 database from intermediate machine to 11i machine then i upgraded it to 9.2.0.6 like it recommeded in category3 database tasks in "Upgrading Oracle Applications" documentation.
    have u any idea, what's the probleme with these invalid objects?
    regards.

  • Invalid objects after upgrade to 9.2.0.6 from 8.1.7.4

    Anyone have any input as to how I can validate the following objects that were invalid after my upgrade:
    OBJECT_NAME OBJECT_TYPE
    BALTOTDELETE PROCEDURE
    HtoD JAVA CLASS
    MILEXTRACT PROCEDURE
    MilExtract PROCEDURE
    TLRConvertHexToDecimal JAVA CLASS
    UTL_FILE PACKAGE BODY
    6 rows selected.
    SQL> alter procedure BALTOTDELETE compile;
    alter procedure BALTOTDELETE compile
    ERROR at line 1:
    ORA-04043: object BALTOTDELETE does not exist
    SQL> alter procedure MILEXTRACT compile;
    alter procedure MILEXTRACT compile
    ERROR at line 1:
    ORA-04043: object MILEXTRACT does not exist
    SQL> alter procedure MilExtract compile;
    alter procedure MilExtract compile
    ERROR at line 1:
    ORA-04043: object MILEXTRACT does not exist
    SQL> alter package UTL_FILE compile body;
    Warning: Package Body altered with compilation errors.
    Any input you could provide would be greatly appreciated.

    I know about the mixed case issue. Luckily we only use uppercase. The second case regarding the recompile is a valid, but not applicable in our case.
    We are seeing these errors (it appears randomly [to us]) AT RUN-TIME! These objects are there [valid and being executed by many], and one-time it will work and the next maybe, maybe not.
    It really makes no sense.
    Anybody got any other ideas?
    Thanks,
    Jason

  • 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

  • R12 - Compile Invalid objects (Fast Formula, Package Body and View) Urgent

    Invalid objects about 43, in this Fast Formula 2 AP Package object, and 1 view
    OWNER     OBJECT_TYPE     COUNT(*)
    APPS     PACKAGE BODY     37.00
    APPS     PROCEDURE     1.00
    SCOTT     PACKAGE BODY     1.00
    APPS     VIEW     1.00
    APPS     FUNCTION     3.00
    any one can give idea to make it valid.
    Awaiting for your reply.
    FYI
    the object list is below.
    OWNER     OBJECT_NAME
    APPS     FFP52474_01010001
    APPS     FFP61059_01010001
    APPS     FFP56168_01010001
    APPS     FFP56167_01010001
    APPS     FFP58579_01052004
    APPS     FFP56169_01010001
    APPS     FFP56170_01010001
    APPS     FFP56171_01010001
    APPS     FFP56172_01010001
    APPS     FFP56173_01010001
    APPS     FFP60309_01010001
    APPS     FFP60306_01010001
    APPS     FFP60308_01010001
    APPS     FFP60310_01010001
    APPS     FFP60307_01010001
    APPS     AP_IMPORT_VALIDATION_PKG
    APPS     FFP58576_01011951
    APPS     FFP60357_01011951
    APPS     FFP57511_01010001
    APPS     FFP57510_01010001
    APPS     FFP52473_01010001
    APPS     FFP60305_01010001
    APPS     FFP60545_01042004
    APPS     FFP60342_01010001
    APPS     FFP58887_01042004
    APPS     FFP58888_01042004
    APPS     FFP58870_01042004
    APPS     FFP58885_01042004
    APPS     FFP58907_01010001
    APPS     FFP58906_01010001
    APPS     FFP58861_01042004
    APPS     FFP61122_01010001
    APPS     FFP58871_01042004
    APPS     FFP58857_01042005
    APPS     FFP60917_01032006
    SCOTT     MK_PLS_XML_REP_TEST
    APPS     MK_PLS_XML_REP_TEST
    APPS     AP_FSX_PAYMENT_ADVICE
    APPS     RA_SITE_USES
    APPS     ZDBAR_CONTACT
    APPS     ZDBAR_FAX
    APPS     ZDBCLOAD
    APPS     ZDBAP_DV_PAYMENT_TYPE
    Advanced thanks for reading and giving solution for this.
    Thamaraiselvan

    any one can give idea to make it valid.Run "Compile APPS Schema" from adadmin.
    For Fast Formulas, refer to:
    Note: 155737.1 - How To Compile Oracle Fast Formulas
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=155737.1

  • HTTPS SharePoint site with HTTPS Provider hosted app - The remote certificate is invalid according to the validation procedure

    We have SharePoint 2013 site configured with SSL and we have developed a provider hosted app which interacts with SharePoint list.
    If we try accessing the Provider hosted app from the SharePoint site with HTTP [http://mysharepointsite.com/] there are no any errors thrown.
    But whenever the same Provider hosted app is tried accessing from the same SharePoint site using https address
    [https://mysharepointsite.com/] we are getting below error:
    The remote certificate is invalid according to the validation procedure.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [AuthenticationException: The remote certificate is invalid according to the validation procedure.]
    System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) +2983172
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +8530566
    System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +230
    System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +645
    System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +9
    System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +87
    System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1467
    System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +84
    System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +22
    System.Net.ConnectStream.WriteHeaders(Boolean async) +761
    [WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.]
    System.Net.HttpWebRequest.GetResponse() +8534156
    Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() +58
    Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) +975
    ProviderHostedHTTPSWeb.Default.Page_Load(Object sender, EventArgs e) +348
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    We have already added the certificate used for the SharePoint site and the provider hosted app in the SharePoint central admin trusts.
    Any idea's how can I resolve this issue?

    Hi,
    According to your post, my understanding is that you failed to access provider host app using https.
    The reason for this is that SharePoint implements its own certificate validation policy to override .NET certificate validation.
    Fix is to setup a trust between SharePoint and the server requiring certificate validation.
    For more information, you can refer to:
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/06/13/could-not-establish-trust-relationship-for-ssl-tls-secure-channel.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Why Invalid object Type?

    Hello Experts,
    I'm getting following error while validating below calc script. I have all the members in my outline but unfortunately Please help me out.
    Error: 1200315 Error parsing formula for [FIX STATEMENT] (line 2): invalid object type
    FIX(@ALLANCESTORS("Canada CAD"),@SIBLINGS(Jan),USD,
    "1st Draft","1101 Manufacturing",FY08,Current)
    "Dividend Yield on Common Stock(%)"="Annual dividends per Share"/"Current Market price per share";
    ENDFIX
    Thanks in advance

    This error occurs if any members in script does not exist in outline. Check all members exist in outline . check any extra spaces in member names etc...
    Best way to delete member from script one at a time and see which one resolves issue.

  • Invalid objects after running catalog.sql and catproc.sql

    I have a db 10.1.0.3.0. standard edition with the 10.1.0.4.0 patch installed.
    After executing catalog.sql and catproc.sql the database contains lots of invalid objects in the public, olapsys and xdb schemas.
    I have executed utlrp.sql, the script completes successfully, but lots of invalid objects remain.
    Does anyone know how to fix this?
    Thanks in advance.
    Below is the output of
    select owner, object_name, object_type from dba_objects where status like 'INVALID';
    OWNER OBJECT_NAME OBJECT_TYPE
    XDB DBMS_XDBUTIL_INT PACKAGE
    XDB SETMODFLG PROCEDURE
    XDB DBMS_XDBZ0 PACKAGE BODY
    XDB DBMS_XDBUTIL_INT PACKAGE BODY
    PUBLIC DBMS_XDBUTIL_INT SYNONYM
    XDB XDB$PATCHUPSCHEMA PROCEDURE
    OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
    PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
    PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
    OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
    PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
    OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
    PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
    PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
    OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
    PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBES VIEW
    PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
    OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
    PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
    OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
    PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
    OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
    PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
    PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
    PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
    OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
    OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
    OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
    PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
    PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
    PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
    OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
    OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
    OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
    OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
    PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
    PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
    PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
    OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
    OLAPSYS DBMS_AWM PACKAGE BODY
    OLAPSYS CWM2_OLAP_CUBE PACKAGE BODY

    This note explains 80% of the problem: 42 invalid objects are normal, I have 52 invalid objects.
    I have re-executed the catpatch.sql script, I couldn't find any errors in the output. At the end Oracle Intermedia and Oracle Expression Filter remain invalid.
    last lines of catpatch.sql output:
    COMP_NAME STATUS VERSION
    OLAP Analytic Workspace OPTION OFF 10.1.0.3.0
    Oracle OLAP API OPTION OFF 10.1.0.3.0
    Oracle Database Catalog Views VALID 10.1.0.4.0
    Oracle Database Packages and Types VALID 10.1.0.4.0
    JServer JAVA Virtual Machine VALID 10.1.0.4.0
    Oracle XDK VALID 10.1.0.4.0
    Oracle Database Java Packages VALID 10.1.0.4.0
    Oracle XML Database VALID 10.1.0.4.0
    Oracle interMedia INVALID 10.1.0.4.0
    Oracle Text VALID 10.1.0.4.0
    Oracle Ultra Search VALID 10.1.0.4.0
    Oracle Expression Filter INVALID 10.1.0.4.0
    Oracle Enterprise Manager VALID 10.1.0.4.0
    Oracle Workspace Manager VALID 10.1.0.2.0
    Oracle Data Mining OPTION OFF 10.1.0.3.0
    OLAP Catalog OPTION OFF 10.1.0.3.0
    Spatial OPTION OFF 10.1.0.3.0
    SQL> select owner, object_name, object_type from dba_objects where status like 'INVALID';
    OWNER OBJECT_NAME OBJECT_TYPE
    WK_TEST BIN$9oUB6zbaOP/gMCzPA4J5+w==$0 TRIGGER
    OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
    PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
    PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
    OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
    PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
    OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
    PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
    PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
    OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
    PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBES VIEW
    PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
    OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
    PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
    OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
    PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
    OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
    PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
    PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
    OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
    PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
    OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
    PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
    OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
    OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
    OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
    PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
    PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
    PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
    OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
    OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
    OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
    OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
    PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
    PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
    PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
    OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
    OLAPSYS DBMS_AWM PACKAGE BODY
    OLAPSYS CWM2_OLAP_CUBE PACKAGE BODY
    53 rows selected.

  • Invalid objects found in Repository

    I am installing grid control 11.1 to redhat 5.2, with repository database of 11.2 locate on the same host. At step 7 of 13 connect to database, I provided the host, port, service and sys password and clicked Next, and I got a simple error messageInvalid objects found in Repository. Re-compile the objects using:
    $ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid.sql
    <EM_REPOS_USER>.Ther is no other clues given. I checked the script admin_recompile_invalid.sql, it is pretty simple, just goes though all_objects and dba_synonyms for any invalide obejct for the <EM_REPOS_USER> user. If find, recompile. I am not sure what user is <EM_REPOS_USER> but the two queries returns nothing in my database for any/all users. The script should just pass and doing nothing.
    What could be wrong?
    Where I can find more info?

    Did you try recompiling invalid objects using utlrp.sql
    Also check invalid objects using :
    select count(*) from dba_objects where status<>'VALID';
    Regards
    Rajesh

  • Invalid Object WWV_FLOW_XLIFF

    I have an Invalid object for WWV_FLOW_XLIFF in the sys schema. I noticed this procedure is in flows_020000 schema which is valid. Is the sys object for WWV_FLOW_XLIFF required or can I remove it?
    Thanks,
    Randy

    Randy,
    WWV_FLOW_XLIFF is used for the XLIFF generation and parsing in HTML DB. It should definitely not exist in the SYS schema. It's not created in the SYS schema as part of the HTML DB installation.
    If the result of the query:
    select text
      from dba_source
    where owner = 'FLOWS_020000
       and name = 'WWV_FLOW_XLIFF'
       and type = 'PACKAGE'
    order by line;is equal to the result of the query:
    select text
      from dba_source
    where owner = 'SYS'
       and name = 'WWV_FLOW_XLIFF'
       and type = 'PACKAGE'
    order by line;You can safely delete the one from the SYS schema.
    Joel

  • REUSE SETTINGS supresses error messages when compiling an invalid object

    Hello,
    my test:
    Create a table and a packaged procedure referencing the table. Then drop the table and recompile the package:
    CREATE TABLE x (
        y     NUMBER
    CREATE OR REPLACE PACKAGE y
    AS
    PROCEDURE z;
    END y;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY y
    AS
    PROCEDURE z
    IS
      v_count PLS_INTEGER;
    BEGIN
      SELECT COUNT(*)
      INTO v_count
      FROM x;
    END z;
    END y;
    SHOW ERRORS
    DROP TABLE x;
    PROMPT 1.Compile package
    ALTER PACKAGE y COMPILE;
    SHOW ERRORS
    PROMPT 2.Compile package body
    ALTER PACKAGE y COMPILE BODY;
    SHOW ERRORS
    PROMPT 3.Compile package with "REUSE SETTINGS"
    ALTER PACKAGE y COMPILE REUSE SETTINGS;
    SHOW ERRORS
    PROMPT 4.Compile package body with "REUSE SETTINGS"
    ALTER PACKAGE y COMPILE BODY REUSE SETTINGS;
    SHOW ERRORS
    SELECT object_name
          ,object_type
    FROM   user_objects
    WHERE  status = 'INVALID';
    --DROP PACKAGE y;Partly unexpected output
    Tabelle wurde erstellt.
    Package wurde erstellt.
    Keine Fehler.
    Package Body wurde erstellt.
    Keine Fehler.
    Tabelle wurde gelöscht.
    1.Compile package
    Warnung: Paket wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    2.Compile package body
    Warnung: Paketrumpf wurde mit Kompilierungsfehlern geõndert.
    Fehler bei PACKAGE BODY Y:
    LINE/COL ERROR
    8/3      PL/SQL: SQL Statement ignored
    10/8     PL/SQL: ORA-04044: procedure, function, package, or type is not
             allowed here
    3.Compile package with "REUSE SETTINGS"
    Warnung: Paket wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    4.Compile package body with "REUSE SETTINGS"
    Warnung: Paketrumpf wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    OBJECT_NAME     OBJECT_TYPE
    Y               PACKAGE BODY
    1 Zeile wurde ausgewõhlt.It says
    - Table created
    - Package created
    - Package body created
    - Table dropped
    - Package header compiled with errors (why?)
    - Package body compiled with errors (shown error is expected)
    - Package header compiled with errors (again why?)
    - Package body compiled with errors (no errors shown)
    So why is the header compiled with errors, when the object is valid.
    And why is no error shown for COMPILE REUSE SETTINGS when there are errors for the body?
    I use REUSE SETTINGS when recompiling invalid objects that were compiled for debug with
    ALTER PACKAGE abc COMPILE PLSQL_DEBUG = TRUE REUSE SETTINGSRegards
    Marcus
    Version:
    SQL*Plus: Release 10.2.0.1.0 - Production on Di Jan 27 12:45:20 2009
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options

    Hi,
    From SQL Reference Manual [REUSE SETTINGS|http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1007.htm#BGBGEIGD]:
    Specify REUSE SETTINGS to prevent Oracle from dropping and reacquiring compiler switch settings. With this clause, Oracle preserves the existing settings and uses them for the recompilation of any parameters for which values are not specified elsewhere in this statement.
    For backward compatibility, Oracle Database sets the persistently stored value of the PLSQL_COMPILER_FLAGS initialization parameter to reflect the values of the PLSQL_CODE_TYPE and PLSQL_DEBUG parameters that result from this statement.
    Regards,

  • Invalid object /produres/funtions/triggers/Views/synonyms/

    Can any body forward me the SQL/PLSQL command to check Invalid object /produres/funtions/triggers/Views/synonyms/ and any other invalid object in the db, & what is recommended to deal with that invalid objects. Either i should recompile /Rebuild / Or delete it .
    & How i can do all this work in EM DB control?
    Need help.

    I would not worry much about invalid objects since Oracle will take care of it on next invocation.Up to a point. Oracle will recompile them if they are inmvoked locally. This does not work if they are invoked remotely (say from a distributed transaction or a clinet/server application).
    Also I think it pays to be curious. Why are these objects invalid? At the vey least it suggests to me that soembody has done a release without checking that the database is in a valid state. There is also the possiblility that the objects are in an invalid state because they won't compile. Now that's something we want to know now rather than when some user calls to complain that the application won't work.
    In short, accepting the presence of invalid objects in the database because Oracle will compile them when it next needs them is just living with broken windows, and that's bad practice.
    Cheers, APC

Maybe you are looking for

  • How to start a particular database in unix/linux

    Hi, Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases. Can we use LSNRCTL tool for this?? Regards, Nagarjun.

  • Dependent Files for Crystal Report missing while making Setup

    Hi Support Team I am trying to make a MSI Setup of my windows application by using Install Shield 2010 Development Environment that is used to develop the application is VS 2008 having .Net Framework 3.5 SP1 Crystal Reports 2008 with Service pack 2 W

  • Why no SecureSocket in web-based Flex?

    We are currently working on a web-based Flex (i.e. non-AIR) project that uses sockets to implement REST HTTP operations. We are required to encrypt all network traffic to and from the app, so I set off to fins a secure socket implementation. I came a

  • Can Anyone illustrate the Installation of SAP GUI on Mac

    Hi Techie's, Recently i was migrated to MAC Os from Windows.now i want to install SAP GUI on my Mac can any one please describe the installation process. i am able to download SAPGUI720.jar and SAPGUI730.zip files when click on them it will popping a

  • IMovie 3.0.3 / Leopard - Quits unexpectedly while opening/creating project

    I just recently updated my system from 10.4 to 10.5. Now, when I try to start iMovie, it asks me if I want to open an existing project or create a new one, then crashes no matter which option I choose. If I click on either button, the program goes "z