Auto confing throws error

Hello
When I ran auto config on database tier i am getting this issue what could be the reason
I had install oracle apps R12 on windowsXp
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_sunrise
afdbprf.cmd INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_sunrise
adcrobj.cmd INSTE8_APPLY 1
when on appllcations i am getting auto config with erros
AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\inst\apps\VIS_sunrise\admin\install
adgendbc.cmd INSTE8_SETUP 1
afcpnode.cmd INSTE8_SETUP 1
afgcsreg.cmd INSTE8_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\inst\apps\VIS_sunrise\admin\install
adadmprf.cmd INSTE8_PRF 1
afadmprf.cmd INSTE8_PRF 1
afcpctx.cmd INSTE8_PRF 1
afcpgsm.cmd INSTE8_PRF 1
igccmprf.cmd INSTE8_PRF 1
jtfictx.cmd INSTE8_PRF 1
okladmprf.cmd INSTE8_PRF 1
txkJavaMailerCfg.cmd INSTE8_PRF 1
txkWebServicescfg.cmd INSTE8_PRF 1
AutoConfig is exiting with status 12
thanks
Sunil
Edited by: RedRose on Jun 15, 2012 9:01 AM

hello
windows XP Service Pack 3 and application Rel 12.1.1
I hope i had problem with listener
database autoconfig log file information:
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : sunrise
sDbDomain : apps.com
sDbPort : 1567
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@sunrise.apps.com:1567:VIS
Exception occurred: java.sql.SQLException: ORA-28000: the account is locked
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sunrise.apps.com)(PORT=1567))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: ORA-28000: the account is locked
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sunrise.apps.com)(PORT=1567))(CONNECT_DATA=(SERVICE_NAME=VIS.apps.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
     Verifying connection to the Database : Could not be stablished
     No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
adcvmlog.xml renamed to C:\oracle\VIS\db\tech_st\11.1.0\appsutil\log\VIS_sunrise\06142330\adcvmlog.xml.06142332
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_sunrise
afdbprf.cmd INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_sunrise
adcrobj.cmd INSTE8_APPLY 1
AutoConfig is exiting with status 2
applications side auto config log file information;
tantiateFile:
C:\oracle\VIS\inst\apps\VIS_sunrise\admin\install\igccmprf.cmd
script returned:
Thu 06/14/2012
11:08 PM
Enter the Username/Password: ECHO is off.
ECHO is off.
Thu 06/14/2012 11:08 PM
ECHO is off.
ECHO is off.
This script requires the following files:
ECHO is off.
C:\cygwin\bin\bin\vcvars32.bat
ECHO is off.
APPSORA.cmd exiting with status 0
ECHO is off.
The environment settings are as follows ...
ECHO is off.
ORACLE_HOME : C:\oracle\VIS\apps\tech_st\10.1.2
ORACLE_SID :
TWO_TASK : VIS
PATH : C:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;C:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\bin;C:\oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;C:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;C:\oracle\VIS\apps\apps_st\comn\util\unzip\unzip;C:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\VIS\apps\tech_st\10.1.2\bin;C:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\cygwin\bin;C:\WINDOWS;C:\WINDOWS\system32;C:\oracle\VIS\apps\tech_st\10.1.3\ant\bin
LD_LIBRARY_PATH : C:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\lib;C:\oracle\VIS\apps\tech_st\10.1.2\lib;C:\oracle\VIS\apps\apps_st\appl\cz\12.0.0\bin;C:\oracle\VIS\apps\tech_st\10.1.2\lib
ECHO is off.
ECHO is off.
Running SQL script
ECHO is off.
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jun 14 23:08:22 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
Error returned while running igccmprf.cmd
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP MSC_TOP IEO_TOP BIS_TOP AMS_TOP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP IGS_TOP IBY_TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP FTE_TOP ONT_TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOP
===========================================================================
Starting Restore Profile utility at Thu Jun 14 23:08:23 IST 2012
Using version 120.4
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=sunrise)(PORT=1567)))(CONNECT_DATA=(SID=VIS)))'
Trying to connect using APPS_JDBC_URL
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : sunrise
sDbDomain : apps.com
sDbPort : 1567
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@sunrise.apps.com:1567:VIS
Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sunrise.apps.com)(PORT=1567))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sunrise.apps.com)(PORT=1567))(CONNECT_DATA=(SERVICE_NAME=VIS.apps.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
     Verifying connection to the Database : Could not be stablished
     No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
adcvmlog.xml renamed to C:\oracle\VIS\inst\apps\VIS_sunrise\admin\log\06142259\adcvmlog.xml.06142308
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\inst\apps\VIS_sunrise\admin\install
adgendbc.cmd INSTE8_SETUP 1
afcpnode.cmd INSTE8_SETUP 1
afgcsreg.cmd INSTE8_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: C:\oracle\VIS\inst\apps\VIS_sunrise\admin\install
adadmprf.cmd INSTE8_PRF 1
afadmprf.cmd INSTE8_PRF 1
afcpctx.cmd INSTE8_PRF 1
afcpgsm.cmd INSTE8_PRF 1
igccmprf.cmd INSTE8_PRF 1
jtfictx.cmd INSTE8_PRF 1
okladmprf.cmd INSTE8_PRF 1
txkJavaMailerCfg.cmd INSTE8_PRF 1
txkWebServicescfg.cmd INSTE8_PRF 1
AutoConfig is exiting with status 12
Edited by: RedRose on Jun 15, 2012 9:46 AM

Similar Messages

  • Starting an array of DAQmx tasks throws error 50103 on start

    Hello,
    I am creating and starting a number of tasks from an enum array which will be subsequently used to read data from devices.  The issue is that the second iteration of the starting loop throws error 50103 (specified resource reserved).
    When I carried out some testing I discovered that the tasks are set up correctly and the error is thrown only on the start task.
    I have attached the section of code for reference. 
    Thanks
    Dave
    Attachments:
    DAQmx taskInit_fastLoop.vi ‏66 KB

    I have to call the start vi more than once as the tasks are contained within an array.  As I understand (but suspect I may be incorrect), that for each case corresponding to the input enum array, the task within that case is started (once) due to the auto indexing of the array.
    This is a subVI which is only called once in the application.  The output from this should be a list of started tasks which I use in subsequent read operations until the program is complete, where the tasks are then cleared down.
    Apologies if I have repeated myself, but I am trying to understand how this works, since what I am seeing does not seem to make any sense to me.
    Dave
    Attachments:
    tasksetup.png ‏103 KB

  • ADC PHP enabling shell script throws errors

    Hi, guys.
    I recently tried to enable PHP on my MacBook Pro.
    I speak some bash, but no AppleScript.
    On the Apple Developer Center they write you a little script to enable PHP, which failed repeatedly before numerous edits by me. I eventually massaged the script to work, but I want to understand *why* the script didn't work.
    The code they give is as follows (and you can find it here: http://developer.apple.com/mac/articles/internet/phpeasyway.html):
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    # NOTE: Having a writeable database in your home directory can be a security risk!
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed
    "s^[email protected]^\$admin_email^" > $conf_new
    echo "(Re)Starting Apache ..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf;
    /usr/sbin/apachectl restart" with administrator privileges
    EOF
    Here are where this code throws errors for me:
    First:
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    I don't even recognize the shell syntax that this would work in. It's sort of csh like. Is this AppleScript?
    Anyway, OS X bash chokes on this at the first '(' and I changed it to:
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    which works just fine.
    Second:
    chmod a+r $user_index
    I have no idea how his is supposed to work without 'touch $user_index'
    I added:
    touch $user_index
    to the script.
    Third:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    Okay, this actually *works*, but I don't know why it should. In my book, it should choke on the \$2, because the \ is invalid.
    I've left it because it works and if it works it isn't wrong, but I would have written:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG_FILE/ {print $2}' | sed 's/"//g'`
    which I've tested and also works.
    I'd like to know why Apple's first line works.
    Fourth:
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed "s^[email protected]^\$admin_email^" > $conf_new
    The error here is that:
    sed "s^[email protected]^\$admin_email^"
    doesn't replace [email protected] with the contents of $admin_email.
    I don't know what the and are supposed to do, but this just replaces the string '[email protected]' with the string '\$admin_email'
    I replaced this with:
    sed 's^[email protected]^'$admin_email'^'
    This gives me a final script of:
    #!/bin/sh
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print $2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_index
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed 's^[email protected]^'$admin_email'^' > $conf_new
    echo "(Re)Starting Apache..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf; /usr/sbin/apachectl restart" with administrator privileges
    EOF
    which works just fine.
    But I'm still confused - why did ADC have a code snippet that could have never worked? Or am I missing something obvious?
    - Nathan

    Hey, RanjeetJones!
    You're probably right - it's a lot of code to uncomment a line and change the administrator setting.
    And the first time I set up PHP, I just found and edited the config file.
    But the script had me so confounded I went back to troubleshoot it and got all wrapped up in why it ended up that way.
    And this will help the next coder who wants to learn PHP and maybe doesn't speak bash.
    - Nathan

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Throwing error message for a component

    I have a form in which there are several fields. One of field is LOV for which i do some validation on valuechangeListener. If that validation fails, i send error to the form for that particular field. It is working fine. but after this if user submits the form, it is submitted. In case of validation failed by framewrok, it is not submitted. HOw i can set that component in error state so that form is not submitted. I am using following code to throw error or component:
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Invalid value");
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(binding.getClientId(context), msg);
    I am using Jdeveloper 11g with latest patch set of ADF i.e. 11.1.3.x

    Hi,
    actually you are not throwing an error but set a message to display to the user. Can't you just create a validation for the input field. The field has a property for you to define a managed bean validation reference. You can generate the method skeleton from JDeveloper.
    Frank

  • WebI report throwing error when migrated from XIR2 to XI3.1

    I have some webi reports built in BO XIR2 on OLAP universes (SAP BW3.5 based). Recently I have migrated the reports from old XIR2 environment to a new XI3.1 environment.
    The specification of new system is as below:
    BO XI3.1
    SAP BW 3.5
    No SP and FP is installed. (Actually when I tried to install the SP2, it failed)
    After the migration, some of my reports are running for 5 minutes and then throwing an error like below:
    A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901).
    The same report is working fine in old system.
    Has anyone faced this problem yet?
    Regards

    Hi Jacques,
    The transports are already imported.
    What I can see is if there is a query with only dimension objects and no measure, then that is throwing error in XI3.1. But the same query is running fine in XIR2.
    Any Idea?
    Thanks and Regards

  • Database.LoadDataSet() method throwing error while retriving data from IBM DB2 database

    Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
    “Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
    SQLSTATE = 02000”

    Hello SharayuPandit,
    For issues regarding DB2, i suggest that you could post it to DB2 related forum:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • Universe Creation On OLAP Cube(SSAS) throwing error. in BO X1 3.1

    Hi Experts,
    I have created OLAP universe based on SSAS Cube using Microsoft SQL Server 2005 Analysis Services Driver.
    i have created webi report based on this SSAS Cube,everything is fine
    but when i create condition in universe level,if i use the same universe in webi report its throwing error:An internal error occured while calling the 'processDPCommands' API.
    Thanks,
    Prasad

    This should be set up in steps, Have you configured java AD kerberos so you can login via your web/app with AD? This is a prerequisite before setting up any type of delegation to the DB.
    You can also set up SSO in the front end but this shouldn't be necessarry for delegating to the DB.
    What SPN's do you need...
    Well if using java AD you should have an SPN for the account running the SIA (typically BOBJCentralMS/something) This SPN needs to be set in the CMC, You will need the krb5 and bsclogin files to login to your web/app with kerberos/AD. The krb5.ini will have to have a setting forwardable = true, and finally the MSAS server will need SPN's http://support.microsoft.com/kb/917409
    This a a very complex configuration and you will likely need to open an incident with support to get an engineer to help. I'm not sure where our current docs for the configuration are.
    Regards,
    Tim

  • Universe created on BI cube throws error.

    Hi Experts,
    This is the first time i have created one universe based on a Cube in BI system. After universe creation, I am logined into WebIntelligence Rich Client and create a query on top of the created universe which throws errors like below.
    A database error occured. The database error text is: The supplied XML is not valid. <CONSTANT>. (WIS 10901)
    I tried with many combinations, but, in result sometimes with blank report and sometimes throwing above error.
    Cany anyone suggest me what is the solution for this ?
    Regards,
    Suresh

    Hi Suresh,
    The reason here is some thing has bean changed at SAP BI Cube after creation of Universe in Business Objects.
    Solution for this is " Refresh the universe structure " and then save it and export and try create reports. If it is not the reason give some more clarity on your error.
    Thanks.
    ChiranGV

  • Submit button not throwing error

    I have a Search Region and a table to show the data based on Search criteria...After search I am modifying the some fields with invalid data in Result table
    and I am clicking the Submit button, it is throwing error(I written Exception in EO level) , the same time if i click the submit button second time , it is not validating and throwing the error and record is saving to database with invalid data.
    Could you please help me and let me know what I am missing here?

    I written the following code in EntityExpert, the EntityExpert code in EO
    public boolean isItemNameValid(String ItemName)
    System.out.println("Entity Expert");
    System.out.println(ItemName);
    boolean isActive = false;
    ItemNameVVOImpl ItemNameVO = (ItemNameVVOImpl)findValidationViewObject("ItemNameVVO1");
    ItemNameVO.initQuery(ItemName);
    if (ItemNameVO.hasNext())
    isActive = true;
    System.out.println("Return ");
    System.out.println(isActive);
    return isActive;
    and I am calling the above method in EOImpl
    public void setItemName(String value)
    if ((value != null) || (!("".equals(value.trim()))))
    ItemNameEntityExpert expert = getItemNameEntityExpert(getOADBTransaction());
    if (!(expert.isItemNameValid(value)))
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "Item Name", // Attribute Name
    value, // Attribute value
    "MSC", // Message product short name
    "UPDATE_SUPPLY_ITEMNAME"); // Message name
    setAttributeInternal(ITEMNAME, value);
    Please check.
    Thanks,
    K.Murugesan

Maybe you are looking for

  • HT201359 Good day, how and where can I claim a debit I do not understand in my iTunes account

    I was billed by Gameloft a few transactions I am not familiar with My daughter had downloaded one of their games, and played with it She is 7 years old, and can't read English We received a few debits in a very short time until the credit card compan

  • Is there a maximum size in either ColdFusion, Flex or AMF

    I wish there was an AMF forum. I have CF version 8,0,0,176276, Flex 3.0.214193, and Oracle 10g. I am trying to build an application in Flex, using RemoteObject access to a ColdFusion .cfc via the AMF channel. The application has several comment field

  • Best Way to Set Change Bars on Right Margin

    I'm an InDesign newbie and need to set change bars on the right margin. I have a two-part question. First: from looking around at relevant blogs/tutorials that I've found, I've come to the conclusion that my best approach is to: 1. Creat an (rectangl

  • Sequence Audio Is Quiet Help

    I have digitized Beta SP footage (the project is all SP) into a project, my second on Final Cut Pro for a long time AVID user. The audio plays fine in the Viewer, but is silent in the sequence. I didn't have this problem in the first project I cut. T

  • Mavericks: Install failed. How to revert back to previous OS X?

    Hi I was running Lion on MBA. I downloaded Mavericks today and the install has failed. It says I have a disk error. I have tried 'repair disk' and no joy. The issue I have is that my MBA keeps trying to install Mavericks. How do I get back to where I