Parsing the Trace file in CRM for Outlook -- CRM 2013 On-Premise

I'm trying to troubleshoot a really strange issue with Set Regarding. In order to get some background info ahead of time, I found the article for enabling tracing
here. The subsection for setting to Errors only was problematic. I reverted the registry to remove the key I added. I tried tracing again without the TraceCategories and got a short txt file in the Traces folder. The data is relatively dense, and all of
it looks bad.
# Schedule: No registry key - using default value: Daily
# CRMVersion: 6.1.0002.0112
[2015-04-17 15:01:59.992] Process:OUTLOOK |Thread:56160 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | Unable to determine control type from ribbon control '//Control[@Id='Mscrm.TabSearch']' Function: CCmdButtonHandler::HrParseActionString
File: c:\bt\138922\src\core\application\outlook\addin\cmdbarevthandler.cpp Line: 385
Each error had one part of this that was exactly the same - Unable to determine control type from ribbon control. Does anyone have any feedback on these errors?
Eric Hula - CRM Administrator

Hi Pedraza,
According to your description, I understand that OWA and mobile device cannot connect to Exchange server from external.
If I have misunderstood your concern, please do not hesitate to let me know.
I want to double confirm some points, please help to collect answers for following questions:
1. How about the external outlook client.
2. Is it works before?
Additional, please use follow command to get OWA external URL:
Get-OwaVirtualDirectory | FL Name,*URL*
By the way, I find a similar thread. For your reference:
https://social.technet.microsoft.com/Forums/en-US/6ccd676c-50a7-4669-86f3-0ed77a165da8/exchange-2013-owa-works-on-127001443owa-but-not-localhost443owa-or-from-the-network?forum=exchangesvrdeploy
Best regards,
Allen Wang

Similar Messages

  • Install of the CRM for Outlook 2013 client fails

    Hi,
    I don't know if I'm in the right place to post, but here I am :
    Some people in my organization have got an Office 365 license as well as a
    Microsoft Dynamics CRM Online account. I want to install the client CRM For Outlook in order to allow them to manage the CRM from their Outlook client.
    So I've downloaded the soft Microsoft Online Services Sign-In Assistant for IT Professionals RTW (as it's specified I should install it first), and downloaded the
    CRM for Outlook 2013 client.
    The steps followed
    Test was made on a Dell laptop with Win 7 x64 Pro. :
    Closed Outlook
    Installed the first one (MS Online Services ... -IT Pro)
    Tried to install the CRM with domain admin privileges. It failed
    with the following warnings in the log file :
    15:35:51|Warning| Failed to register notify interface. Error : 0x800704dd.
    15:37:10|Warning| Failed to add the file C:\Users\ADMINI~1\AppData\Local\Temp\MSCRM_{B7297F92-E151-4897-870D-CDDF179FC6CE}\SSCERuntime_x64-1036.exe to the created job. Error : 0x800704dd.
    15:37:12|Warning| Installation package C:\Users\Administrateur\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\187CZTA8\SSCERuntime_x64-FRA[1].exe failed validation check(s).
    15:37:12|  Error| Installation of Microsoft Dynamics CRM for Outlook failed.
    But it works on other environment
    On the other hand, I've tested it on my computer (Win 7 x64 as well) and it succeeded. For both computers, I use Outlook 2010, and every system hadn't any trace of CRM for Outlook before.
    Note : I only wrote the
    Warning events, not the information tagged events. I searched for this problem across the Web; unfortunatly nobody seems to have reported this specific issue.
    Note 2 : If you need any complementary information, I'll be glad to provide it.
    So I am asking, where can be the matter ? Thanks in advance for any help !

    Hi,
    Try to perform a clean boot then install the CRM 2013 for Microsoft Office Outlook.
    To perform a clean boot:
    Log on to the computer by using an account that has administrator rights.
    Click Start, type msconfig.exe in the Start Search box, and then press Enter to start the System Configuration utility.
    Note If you are prompted for an administrator password or for confirmation, you should type the password or provide confirmation.
    Collapse this imageExpand this image
    On the General tab, click the Selective startup
    option, and then click to clear the Load startup items check box.  (The
    Use Original Boot.ini check box is unavailable.)
    Collapse this imageExpand this image
    On the Services tab, click to select the Hide all Microsoft services check box, and then click
    Disable all.
    Collapse this imageExpand this image
    Note This step lets Microsoft services continue to run. These services include Networking, Plug and Play, Event Logging, Error Reporting, and other services. If you disable these services, you may permanently delete all restore points. Do not
    do this if you want to use the System Restore utility together with existing restore points.
    Click OK, and then click Restart.
    This way we can eliminate the affect by background programs, install the software to see if the error still occurs.
    If the issue persists in clean boot, please collect the Setup log files from this path:
    SystemDrive:\Users\<User>\AppData\Local\Microsoft\MSCRM\Logs
    Send the logs to our email address for further analysis:
    [email protected]
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to get the trace file name for current running application?

    Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
    There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
    is available. something like "instance.trace.file".
    Our application wants it because we would like our client send use the application log by clicking a "send error"
    button, the codes finds the trace file and compress it and send it by using a smtp server.
    In 1.5, we can do it by using a shell program.

    I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
    <property
    name="deployment.javaws.traceFileName"
    value="abcfefsfdsf"/>
    <property
    name="deployment.javapi.trace.filename"
    value="235235235"/>
    But it always write to one trace file with name lik javaws63645.trace

  • I am not able to see the trace files for SQL query

    Hello, I am using windows vista OS.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL>
    I enabled the trace as below
    alter system set timed_statistics=TRUE
    alter system set sql_trace=TRUE
    After this, I ran sql query from scott as below.
    select count(*) from emp;
    After this, i checked in user dump directory. The trace files are generating... But this sql code is not appearing in the trace files...
    Am i missing anything... Any help is appreciated.
    Thanks

    This may happen when the trace file is not completely closed.You may try again doing like this,
    alter session set sql_trace=true;
    select * from emp;
    alter session set sql_trace=false;After this,disconnect and exit from your session as well. This should close the file completely and you should be able to see your command in it.
    HTH
    Aman....

  • Getting timestamps for SQL session without the trace file enabled

    hi, i have a clarification. Is there a method or way by which i can get the timestamps of an SQL session without the the trace file enabled , and if so please get me the details of this.
    thanks in advance.

    Hi,
    Don't very understand what do you want.
    SQL> set timing on
    SQL> select * from dual;
    D
    X
    Elapsed: 00:00:01.07
    SQL> Is this ?
    Nicolas.

  • Need information from the Trace file.

    Hi
    I have enabled the trace file for the query and found that the below contents in top of the query in trace file .Could you please explain what are the below values and need explanation.
    **PARSING IN CURSOR #2 len=82 dep=1 uid=0 oct=3 lid=0 tim=52772641300291 hv=3873422482 ad='3a40cc8c8' sqlid='0k8522rmdzg4k'**
    Note : Please provide the notes if have any.
    Thanks
    Lio

    This is of course right but TKPROF has also some limitations: for example TKPROF does not report values for bind variables but you can find them in raw trace file.

  • Read the results shown in the trace files

    Hi,
    I have a question,
    In oracle 10g or 11g, How can I interpret the results shown in the trace files?
    ok I explain more ... when I enable the trace sql session , a trace file is created under user dump!
    What 's the meaning of :
    *1- PARSING IN CURSOR*
    *2- tim= is it in Microseconds? Timestamp ? How can I convert it in seconds?*
    *3- STAT*
    *4- CLOSE*
    *5- hv=*
    *6- tim=*
    *7- lid=*
    *8-dep=*
    PARSING IN CURSOR #2 len=104 dep=0 uid=0 oct=2 lid=0 tim=13651992547 hv=3760112805 ad='284c0e6c' sqlid='6shmgvbh1xj55'
    INSERT INTO employee(ID,NAME,department_id, DEPARTMENT_SUB_ID) VALUES(10002, 'employee', 12, 0)
    END OF STMT
    PARSE #2:c=93750,e=102539,p=24,cr=471,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=13651992547
    EXEC #2:c=0,e=0,p=5,cr=1,cu=7,mis=0,r=1,dep=0,og=1,plh=0,tim=13651992547
    STAT #2 id=1 cnt=0 pid=0 pos=1 obj=0 op='LOAD TABLE CONVENTIONAL  (cr=1 pr=5 pw=0 time=0 us)'
    CLOSE #2:c=0,e=0,dep=0,type=0,tim=13652013059Thnak you a lot guys,
    Smith

    794130 wrote:
    Thank you,
    Sorry, I am new in Oracle and I want to get things really clear (something that is diifficult I think)
    When an end user submit a query, one user process communicates the query to a server process.
    The server process analyse the syntax and the symentic of the query, this known as the parse process.
    The syntax of the query and the tables, columns are verified against the database buffer cache.
    One PGA is allocated to store the query.
    The server process read from the datafile and gets the results and store it into the shared pool.
    The result is then back to the user process and then to the end user
    Is it correct ?
    Thank you all,
    SSome of the above concepts are close. There is a nice description in the Oracle Database Concepts guide of what happens during the processing of a SQL statement (see the stages listed in the documentation):
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/sqlplsql.htm#sthref3460
    It is probably a good idea to distinguish between a hard parse, a soft parse, and a session cursor cache hit:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/glossary.htm#sthref1591
    The database buffer cache is not used to verify the validity of SQL statements, but instead as a means to reduce the number of disk accesses that are required to return a query result to a client computer.
    One or more pieces of PGA memory may be used simultaneously while processing a SQL statement. I have a couple of blog articles that show multiple PGA memory allocations in use at the same time.
    The server process may not need to access a physical data file to return the query results to a client computer, depending of course on the current contents of the buffer cache.
    I recommend that you wait a while before trying to work with 10046 trace files. Right now the contents are probably providing too much detail for you, although I definitely recommend that you return to working with 10046 trace files at a later time. A good starting point is either the free Database Concepts Guide:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220.pdf
    or Tom Kyte's "Expert Oracle Database Architecture: Oracle Database Programming 9i, 10g, and 11g Techniques and Solutions, Second Edition" book. You can read my review of that book on Amazon's website:
    http://www.amazon.com/Expert-Oracle-Database-Architecture-Programming/dp/1430229462/ref=dp_ob_title_bk
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Dbms_monitor.session_trace_enable does not generate the trace file

    hi All,
    i'm trying the example from Tom Kyte's <<expert oracle database architecture>>, after runnning the java code using dbms_monitor.session_trace_enable, the trace file for the session can't be found in user_dump_dest, could anyone help explain. oracle version is 10.2.0.1.0 on RHEL 5. thanks.
    [oracle@CS-RHEL chapter09]$ cat perftest.java
    import java.sql.*;
    import oracle.jdbc.OracleDriver;
    import java.util.Date;
    public class perftest
      public static void main (String arr[]) throws Exception
        DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
        Connection con = DriverManager.getConnection
              ("jdbc:oracle:thin:@127.0.0.1:1522:cs10g",
                "sid", "sid");
        Integer iters = new Integer(arr[0]);
        Integer commitCnt = new Integer(arr[1]);
        con.setAutoCommit(false);
        doInserts( con, 1, 1 );
        Statement stmt = con.createStatement ();
        stmt.execute
        ( "begin dbms_monitor.session_trace_enable(waits=>TRUE); end;" );
        doInserts( con, iters.intValue(), commitCnt.intValue() );
        doInserts( con, iters.intValue(), iters.intValue() );
        con.commit();
        con.close();
      static void doInserts(Connection con, int count, int commitCount )
      throws Exception
        PreparedStatement ps =
           con.prepareStatement
           ("insert into test " +
            "(id, code, descr, insert_user, insert_date)"
            + " values (?,?,?, user, sysdate)");
        PreparedStatement commit =
           con.prepareStatement
           ("begin /* commit size = " + commitCount + " */ commit; end;" );
        int  rowcnt = 0;
        int  committed = 0;
        long start = new Date().getTime();
        for (int i = 0; i < count; i++ )
          ps.setInt(1,i);
          ps.setString(2,"PS - code" + i);
          ps.setString(3,"PS - desc" + i);
          ps.executeUpdate();
          rowcnt++;
          if ( rowcnt == commitCount )
            commit.executeUpdate();
            rowcnt = 0;
            committed++;
        con.commit();
        long end = new Date().getTime();
        System.out.println
        ("pstatement " + count + " times in " +
         (end - start) + " milli seconds committed = "+committed);
    }run the java class
    [oracle@CS-RHEL chapter09]$ java -cp .:./ojdbc14.jar perftest 1000 1
    pstatement 1 times in 5 milli seconds committed = 1
    pstatement 1000 times in 2255 milli seconds committed = 1000
    pstatement 1000 times in 509 milli seconds committed = 1

    hi virendra.k and Kecskemethy,
    thanks for your help. believe i find the arnswer.
    1. i used shared server connection. i can find the trace info in the backgroup_dump_dest, in the files: cs10g_s000_17467.trc and cs10g_s001_17469.trc
    Ref:http://www.dbspecialists.com/files/presentations/tracing_ind_sessions.html
    First, rather than using DBMS_MONITOR.CLIENT_ID_TRACE_ENABLE, we use DBMS_MONITOR.SESSION_TRACE_ENABLE. This can be run either by the session itself,
    or by another session (specifying the SID of the session to be traced). The tracing output will be in the instance’s background_dump_dest directory,
    rather than the user_dump_dest. And then you use trcsess with the session_id option, where session ID is actually the SID.SERIAL# of the session
    (from v$session). Again you get a consolidated trace file containing just the activity of the desired session.2. after change to dedicated server, the trace file is generated in user_dump_dest now.
    sid@CS10G> show parameter trace_enable
    NAME                                 TYPE        VALUE
    trace_enabled                        boolean     TRUE
    sid@CS10G> show parameter shared_servers
    NAME                                 TYPE        VALUE
    max_shared_servers                   integer
    shared_servers                       integer     10
    sid@CS10G> alter system set shared_servers=0
      2  ;
    System altered.
    [oracle@CS-RHEL udump]$ pwd
    /home/u02/app/oracle/product/11.1.0/db_1/admin/cs10g/udump
    [oracle@CS-RHEL udump]$ tail -25 cs10g_ora_22313.trc
    WAIT #8: nam='SQL*Net message to client' ela= 2 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901405248
    WAIT #8: nam='SQL*Net message from client' ela= 151 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901405433
    =====================
    PARSING IN CURSOR #9 len=43 dep=0 uid=61 oct=47 lid=61 tim=1220152901405586 hv=1042574845 ad='3ace843c'
    begin /* commit size = 1000 */ commit; end;
    END OF STMT
    PARSE #9:c=0,e=99,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=1220152901405582
    =====================
    PARSING IN CURSOR #10 len=6 dep=1 uid=61 oct=44 lid=61 tim=1220152901405781 hv=255718823 ad='0'
    COMMIT
    END OF STMT
    PARSE #10:c=0,e=13,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=0,tim=1220152901405776
    XCTEND rlbk=0, rd_only=0
    EXEC #10:c=0,e=146,p=0,cr=0,cu=1,mis=0,r=0,dep=1,og=0,tim=1220152901406000
    EXEC #9:c=999,e=396,p=0,cr=0,cu=1,mis=0,r=1,dep=0,og=1,tim=1220152901406082
    WAIT #9: nam='log file sync' ela= 3234 buffer#=5459 p2=0 p3=0 obj#=-1 tim=1220152901409385
    WAIT #9: nam='SQL*Net message to client' ela= 2 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901409450
    WAIT #9: nam='SQL*Net message from client' ela= 142 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901409633
    XCTEND rlbk=0, rd_only=1
    WAIT #0: nam='SQL*Net message to client' ela= 1 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901409735
    WAIT #0: nam='SQL*Net message from client' ela= 283 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901410043
    XCTEND rlbk=0, rd_only=1
    WAIT #0: nam='SQL*Net message to client' ela= 2 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901410146
    WAIT #0: nam='SQL*Net message from client' ela= 316 driver id=1952673792 #bytes=1 p3=0 obj#=-1 tim=1220152901410489
    XCTEND rlbk=0, rd_only=1

  • Parsing the word file using oracle text having tables within it............

    Hi,
    I was going through this document.Actually I am going to implement something like full text search functionality in our system.
    We get the info as .doc file.
    Earlier what we used to do is, we used to parse the file and store it into the database and then searched using PL/SQL.
    But what I understand from this article that this can be done using oracle text also.
    One concern is that whether the oracle text is able to parse the .doc file having tables embedded within it.
    Please let me know about this.(Whether oracle text will be able to parse the files having tables embedded within it).
    I am attaching an example file for this.
    Please let me know about this as early as possible.

    Yes Oracle Text have this capability. Use AUTO_FILTER or USER_FILTER to create index

  • 10g Admin/Desktop error :could not locate or parse the .dbc file error

    Hi there,
    can any one help me how to fix this error i get this while connecting to Discoverer Admin/Desktop edition 10g ver 10.1.2
    Unable to connect to: username@crp2
    Failed to connect to database - could not locate or parse the .dbc file
    c:\oracle\BIToolsHome_1\discoverer\secure\us-oracle3.dbc corresponding to the given Oracle Applications instance
    i had created the system environment variable FND_SECURE and i've placed the .dbc files in the folder (C:\oracle\BIToolsHome_1\discoverer\secure)
    but, i still get error
    Thanks,
    Max

    Hi Russ
    Here's some additional info from my own library:
    1. Set or check the following registry settings on your Admin PC:
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 10\Database\EnableTriggers should be DWORD with a value of 1
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 10\Database\DefaultPreserveDisplayPropertyForRefresh should be a DWORD with a value of 1
    2. You need to create for yourself a folder called SECURE under your ORACLE folder:
    e.g. mkdir c:\oracle\secure
    3. Copy the DBC File from the E-Business Suite database and place it in the secure directory. It will be located in the TOP directory in the database.
    4. Create a Windows System Variable FND_SECURE with the value as in step 2 above: e.g. c:\oracle\secure
    5. Update your %ORACLE_HOME%/network/admin/tnsnames.ora to include an entry for the E-Business Suite database. The database name must match the two_task entry in the dbc file.
    6. You may have to rename the dbc file so that it matches the name by which you are referring to that database in your TNS Names file
    Does this help?
    Best wishes
    Michael

  • Opatch error 'Unable to parse the xml file'

    Hi there,
    I am new to installing patches on Oarcle and I need to install patch 12375678 on my windows system, Oracle 11.2.0.2.
    I have followed the instructions in the readme.txt file, but got this error and I have not come across anywhere on the web that explain how I could fix it.
    Could you please advise?
    Thanks
    C:\>set oracle_home=C:\oracle\product\11.2.0\dbhome_1
    C:\>echo %oracle_home%
    C:\oracle\product\11.2.0\dbhome_1
    C:\>cd C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678
    C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678>opatch apply
    Invoking OPatch 11.2.0.1.1
    Oracle Interim Patch Installer version 11.2.0.1.1
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : C:\oracle\product\11.2.0\dbhome_1
    Central Inventory : C:\Program Files\Oracle\Inventory
    from : n/a
    OPatch version : 11.2.0.1.1
    OUI version : 11.2.0.2.0
    OUI location : C:\oracle\product\11.2.0\dbhome_1\oui
    Log file location : C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2
    012-05-21_15-28-52PM.log
    Patch history file: C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch_
    history.txt
    ApplySession applying interim patch '12375678' to OH 'C:\oracle\product\11.2.0\d
    bhome_1'
    Running prerequisite checks...
    OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
    cal system only.
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '12375678' for restore. This might take a
    while...
    Backing up files affected by the patch '12375678' for rollback. This might take
    a while...
    Patching component oracle.rdbms, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\xml\xsl\kuexttbl.xsl"
    Patching component oracle.rdbms.dbscripts, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpd.plb"
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpw.plb"
    ApplySession adding interim patch '12375678' to inventory
    Interim Patch metadata parsing failure... 'Unable to parse the xml file.'
    ApplySession failed: ApplySession failed in system modification phase... 'Unable
    to create patchObject'
    OPatch will attempt to restore the system...
    Restoring the Oracle Home...
    OPatch was able to restore your system. Look at log file and timestamp of each f
    ile to make sure your system is in the state prior to applying the patch.
    OPatch failed with error code = 73

    your actions.xml must not be able to be read.
    open it in notepad yourself to see does it open, if so its not corrupt, if doesnt open download patch again.
    More then likely will be fine so try locate the patch in a shorter home path, like c:\patches\12375678 and see does it install from there.
    Only other thing I can think of is the main inventory.xml, usually c:\program files\oracle\inventory\inventory.xml
    try notepad with that too.

  • How to stop the generation of the trace files relate to the particular user

    Dear All,
    Please advice:
    Is it possible to stop the trace file created by a user for a particular job (sql/exp)
    For example :
    Trace files create whenever the user run the sql/exp command from his application server.
    This will created a huge files and caused the file system getting full (not in bdump but it is generation in application user home directory).
    Is there any method to stop the generation of the trace files relate to the particular user base on that job.
    thanks,
    Shanoj

    Dear SHANOJ
    This trigger will created for that specific user by dba or person who have sysdba privs. it will triggered at the login time of that user and alter the sqltrace.
    for example we have write one trigger in our database for every ddl operation in database.
    CREATE OR REPLACE TRIGGER "SYS"."SYS$DDLTRIG" after DDL on database
    declare
    v_machinename VARCHAR2(100);
    v_osuser VARCHAR2(100);
    v_dbuser VARCHAR2(100);
    v_host VARCHAR2(100);
    v_program VARCHAR2(100);
    v_instance VARCHAR2(100);
    v_date VARCHAR2(100);
    begin
    select to_char(sysdate, 'mm-dd-yyyy HH24:MI:SS'),user,sys_context('userenv','OS_
    USER'),sys_context('userenv','HOST'), (select instance_name from v$instance),(se
    lect program from v$session where sid = (select distinct sid from v$mystat)),(se
    lect machine from v$session where sid = (select distinct sid from v$mystat)) int
    o v_date,v_dbuser,v_osuser,v_host,v_instance,v_program,v_machinename from dual;
    IF ora_sysevent = 'DROP' or ora_sysevent = 'REVOKE' or ora_sysevent = 'GRANT' or
    ora_sysevent = 'CREATE' or ora_sysevent = 'TRUNCATE' or ora_sysevent = 'ALTER'
    Then
    insert into ddl_log_new(v_date,v_dbuser,v_osuser,v_host,v_instance,v_program,v_m
    achinename,V_EVENT,V_OBJECT_NAME,V_OBJECT_TYPE,V_OBJECT_OWNER) values (v_date,v_
    dbuser,v_osuser,v_host,v_instance,v_program,v_machinename,ora_sysevent,ora_dict_
    obj_name,ora_dict_obj_type,ora_dict_obj_owner);
    END IF;
    END;
    i hope above example will helpful for u,
    Regards
    Ambrish
    Edited by: ambrishr24 on Dec 5, 2012 5:02 PM
    Edited by: ambrishr24 on Dec 5, 2012 5:05 PM
    Edited by: ambrishr24 on Dec 5, 2012 5:20 PM

  • Tkprof the trace file

    Hi,
    i know the procedure to generate a tkprof for the trace file but i dont know wat are the things to be analysed and wat kind of action should be taken after analysing the trace file.Please say me the procedure about things to be analysed and action should be taken after analysing the contents from the trace file.
    Regards
    Aram

    Pl also see MOS Doc 760786.1 (TKProf Interpretation (9i and above) )
    HTH
    Srini

  • How to get the real table information of a structure from the trace file?

    I user the ST05 to trace a program to find the real table information of a structure in this program. But I found so many sql trace information in the trace file. So how can I find which information is useful for me to find the real table of a structure?

    Hi!
    If you don't recognize some tables, because they belong to same application, then it's difficult.
    Try to change interesting value. Afterwards you can search for 'INSERT', 'UPDATE' (and 'MODIFY'?) - that will leave only a small number of lines, which have to be analyzed in detail (e.g. have a look at them with SE16).
    Regards,
    Christian

  • How to find out the Trace file

    Hi Dba's
    I need to find out the trace file with the Request id. how can i find out it?
    Thanks

    There are many ways to create a trace file in the apps. Pl provide details on how you enabled trace, as that will determine where the trace file is created.Concurrent requests trace files are always created under USER_DUMP_DEST directory.

Maybe you are looking for

  • ITunes not working w/ Windows 7

    I have a brand new computer which uses Windows 7. Installed iTunes 9.02 (64-bit installer). Unable to log in to account or authorize computer. I get a message saying "unknown error occurred (-9808)". Any advice / ideas?

  • Third Party Software to Manage iPhone music libary across multiple PCs

    Can anyone recommend third-party software to get around the "An iPhone can be synced with only one iTunes libary at a time?"  I get this warning when I try to change settings to manually manage music and videos, which you would think would allow me t

  • Regarding Drill down

    Dear all, I have an interactive ALV report. When i double click on PO number, if user has authorization to change then drill down should take user to ME22N. if user has authorization only to display then drill down should take to ME23N. if user does

  • Epson V30 scanner TWAIN compliant- Macbook Pro running OS X 10.7Lion

    I bought a new Epson V30 scanner to connect to my Macbook Pro running Lion, however when I try to scan in a check to my bank it says it can't find the driver for the scanner and to use one that is TWAIN compliant?  The software that came with the sca

  • IC AGENT, on new call receive how customer data is picking & displaying

    HI All, I am first time dealing with IC Agent Call center.... At call center once new call come, then on based on Mobile number or Landline then Search screen defaultly providing us the Business Partner/ Customer details exists for that Mobile/Landli