SQL Dataset errors in BIP 11G Trial Edition

Hi
I'm trialling 11G and trying to get a SQL dataset to work which is used in our 10.1.3.4.2 installation.
The SQL queries a package which calls an inline function to return results based on Parameter values.
This works without error both in the 10G instance and when run separately in PL/SQL Developer, but returns:
'ORA-00933: SQL command not properly ended' when I attempt to add it in the 11G Query Builder.
Is there some thing obvious I'm missing here? The oracle user under which the SQL runs has the necessary privileges to the objects.
SQL is:
SELECT
COL004 as stream,
COL006 as MSISDN,
COL007 as IMEI,
COL008 as IMSI,
COL009 as Start_Date,
COL010 as End_Date,
COL011 as Success,
COL012 as Failed,
COL013 as Service_Provider,
COL014 as Subscriber_Type,
COL015 as Handset_Model,
COL016 as Blacklist_Date,
GROUPING_COLUMN as GROUPING_COLUMN
FROM TABLE(nmo_pdf_reports.get_results(:PDF_ID, 1, 1, :pHsetMSISDN))
where 1 in (nvl(:queryTypeID,1))
'nmo_pdf_reports' is the package, and 'get_results' is the function.
Parameters are ':PDF_ID', ':pHsetMSISDN' and ':queryTypeID'
However, once I remove the parameters and replace them with actual values, the SQL is saved - although the report then runs with a different error.
Anyone have any suggestions..?

Hi Svee
This does work, but I need to have this filter.
Strangely it will work if use 'where 1 = (nvl(:queryTypeID, 1))'. I could maybe try moving it into the 'Conditions' tab of the query builder - but it does not allow this, saying 'the query could not be parsed'.
I found after I posted that what also works is if I first define my parameters (i.e. PDF_ID, queryTypeID, pHsetMSISDN), and then try to recompile the dataset - I was not prompted to create the params as defined in the documentation. Is this because it's a custom SQL that does not utilise the query builder?
thanks
D.
Edited by: Donal on Jul 17, 2012 7:31 AM

Similar Messages

  • Java Mail throws Connect failed error in Oracle 11g Enterprise  Edition

    Hi,
    I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
    DEBUG: setDebug: JavaMail version 1.4.4
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]
    DEBUG POP3: mail.pop3s.rsetbeforequit: false
    DEBUG POP3: mail.pop3s.disabletop: false
    DEBUG POP3: mail.pop3s.forgettopheaders: false
    DEBUG POP3: mail.pop3s.cachewriteto: false
    DEBUG POP3: mail.pop3s.filecache.enable: false
    DEBUG POP3: mail.pop3s.keepmessagecontent: false
    DEBUG POP3: mail.pop3s.starttls.enable: true
    DEBUG POP3: mail.pop3s.starttls.required: false
    DEBUG POP3: mail.pop3s.apop.enable: false
    DEBUG POP3: mail.pop3s.disablecapa: false
    DEBUG POP3: connecting to host "194.42.133.180", port 110, isSSL true
    javax.mail.MessagingException: Connect failed;
    nested exception is:
         javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
         at javax.mail.Service.connect(Service.java:295)
         at javax.mail.Service.connect(Service.java:176)
         at GetNoonReport.Connect2Mailserver(GetNoonReport:338)
         at GetNoonReport.ReadMail(GetNoonReport:103)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
         at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:507)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
         at com.sun.mail.pop3.Protocol.<init>(Protocol.java:107)
         at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
         ... 4 more
    Is Oracle Enterprise Edition supports "POP3S" protocol?, Or Enterprise edition needs any additional configuration for establishing outlook connection with "pop3s" ?.
    Any help is appreciated
    Regards ,
    Nisanth

    907833 wrote:
    Hi,
    I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
    I suspect root cause is with Java not Oracle.
    Oracle RDBMS does NOT speak any "protocol" except SQL natively.

  • Concatenated SQL Data Source in BIP 11G

    Hi all,
    I have performed a repository upgrade of BI Publisher from 10G to 11G. Everything is working perfectly fine except the problem below:
    All the reports consists of 2 data sets. Both of them are sql queries. Data_set 1 is guaranteed to return the result set as it queries the sysdate and puts as the date the report ran. This is for auditing purpose. Data_Set2 contains the business logic for the report. At times this query does not return any data. In the case where both queries returned data, I am able to publish my report in all available output formats. e.g xml, pdf and html just to mention a few. However, in the case where Data_Set2 does not have any result set but Data_Set1 does, I am only able to display the data in XML not PDF or HTML. For pdf it come back with the message "Failed to load PDF Document" and in HTML comes with an error message "oracle.xdo.servelet.data.DataException: Layout not found".
    In BI Publisher 10G, you can could choose an option of "Concatenated SQL Data Source" and it will be able to generate the report in any format with just the result set of Data_Set1 i.e sysdate for the date when the report was ran.
    Any idea as to how I can achieve the same goal in BI Publisher 11.1.1.5
    Regards
    Joster

    Hi all,
    I managed to realise what was the problem.
    It seems like with BIP 11G, one does not to explicitly select "concatenated SQL Data Source" as was the case in 10G when using more than one data source. This option is implicitly applied.
    The issue on my side was that some of the templates I had upgraded from 10G were corrupted hence the data was returned through xml but not other template based output.
    Thanks
    Joster

  • Oracle BI Publisher 11g Trial Edition installation for AIX

    Can I install BI Publisher Trial Edition 11g for Linux 32 and 64 bit on AIX with Unix operating system?
    If cannot, any option or solution? Oracle provide BI Publisher 10.1.3.4.2 for AIX (32/64 bit) for 10g,
    what about 11g?
    Regards
    Edited by: 988821 on Feb 18, 2013 8:12 PM

    No, the Trial Edition is not supported. You need to install and configure the full BIP 11.1.1.5 version.

  • BI Publisher 11g Trial dont work fine , send ERROR

    Hi.
    I Install BI PUblisher 11G Trial in a new clean server with :
    + Windows 2008 R2 Foundation Spanish with SP 1
    + Download, Install BI Publisher 11g Trial
    + Execute Demo Report "Revenue Budget Actual and Detail "
    + In Inteactive mode work fine
    + In HTML send ERROR : "java.lang.ArrayIndexOutOfBoundsException: 0"
    + In PDF the pivot table don't display any value higer 1.000.000
    This is a bug ?,how correct this errors ?
    Thank you very much
    Carlos

    Hi Carlos,
    Are you still experiencing this problem?
    I do not see this on my installation on Windows7 64 bit running in English.
    I also set the BI Publisher UI language and Report Locale to Spanish and all three output types:
    Interactive, HTML and PDF render correctly.
    When you say that the pivot table doesn't show any values higher than 1.000.000 ... what does it show instead?
    How do the other sample reports look for you?
    Mike
    Edited by: mdonohue on Jun 5, 2012 4:45 PM

  • BIP 11g scheduler web service through pl/sql

    Hi,
         I am trying to schedule a BIP 11g report through a pl/sql wrapper. I  am running the same and not getting any response. I only get the following error :
    anonymous block completed
    status code: 500
    reason phrase: Internal Server Error.
    I am attaching the code piece. It would be nice if someone can guide me as to where the code is going wrong.
    set serveroutput on;
    Declare
    P_DATA_TYPE VARCHAR2(4000);
    p_data_in varchar2(5000);
    REQ UTL_HTTP.REQ;
    RESP UTL_HTTP.RESP;
    BEGIN
    p_data_in :=
    '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://xmlns.oracle.com/oxp/service/v2">
    <soapenv:Body>
    <v2:scheduleReport>
    <v2:scheduleRequest>
    <v2:deliveryChannels>
    <v2:EMailDeliveryOption>
    <v2:emailFrom>******</v2:emailFrom>
    <v2:emailServerName>******</v2:emailServerName>
    <v2:emailSubject>Test BIP webservice</v2:emailSubject>
    <v2:emailTo>******</v2:emailTo>
    </v2:EMailDeliveryOption>
    </v2:deliveryChannels>
    <v2:reportRequest>
    <v2:attributeFormat>pdf</v2:attributeFormat>
    <v2:reportAbsolutePath>/General Ledger/Reports/****** YYY ZZZ.xdo</v2:reportAbsolutePath>
    </v2:reportRequest>
    <v2:userJobName>BIPTESTWS</v2:userJobName>
    </v2:scheduleRequest>
    <v2:userID>******</v2:userID>
    <v2:password>******</v2:password>
    </v2:scheduleReport>
    </soapenv:Body>
    </soapenv:Envelope>';
    REQ := UTL_HTTP.BEGIN_REQUEST('http://XXXX:7001/xmlpserver/services/v2/ScheduleService?wsdl', 'POST','HTTP/1.1');
    utl_http.set_header(req, 'content-type', 'text/xml');
    UTL_HTTP.SET_HEADER(REQ, 'content-length', LENGTH(P_DATA_IN));
    utl_http.set_header(req, 'SOAPAction', '');
    utl_http.write_text(req, p_data_in);
    resp := utl_http.get_response(req);
    dbms_output.put_line ('status code: ' || resp.status_code);
    dbms_output.put_line ('reason phrase: ' || resp.reason_phrase);
    utl_http.end_response(resp);
    EXCEPTION
    WHEN utl_http.end_of_body THEN
    UTL_HTTP.END_RESPONSE(RESP);
    END;

    Hi,
        IS there anyone who has previously worked on the webservices and can help me a bit.

  • Wait on the Database Engine recovery handle failed. Check the SQL server error log for potential causes in SQL Server 2012 Developer Edition

    I m using SQL Server 2012 Developer Edition. Even I tried 2012 express and enterprise edition but all
    gave same error. I browsed msdn blog. But nothing help me out.
    Below is the error log details--
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2013-10-21 12:58:05
      End time:                      2013-10-21 13:52:30
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for RS:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for DQ:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  CROY-TOSH
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         C:\Users\CRoy\Downloads\SQL Server 2012 Developer Edition (x86 and x64) - DVD (English)\x64\setup\
      Installation edition:          Developer
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Backup
      ASCOLLATION:                   Latin1_General_CI_AI
      ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Config
      ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data
      ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  NT Service\MSSQLServerOLAPService
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            CRoy-TOSH\CRoy
      ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   ROY
      CLTRESULTDIR:                  C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
      CLTSTARTUPTYPE:                Manual
      CLTSVCACCOUNT:                 NT Service\SQL Server Distributed Replay Client
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
      CTLRSTARTUPTYPE:               Manual
      CTLRSVCACCOUNT:                NT Service\SQL Server Distributed Replay Controller
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     CRoy-TOSH\CRoy
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
      FILESTREAMLEVEL:               2
      FILESTREAMSHARENAME:           MSSQLSERVER
      FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  false
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT Service\MsDtsServer110
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          <empty>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              SharePointFilesOnlyMode
      RSSVCACCOUNT:                  NT Service\ReportServer
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AI
      SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           CRoy-TOSH\CRoy
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
    Detailed results:
      Feature:                       Management Tools - Complete
      Status:                        Passed
      Feature:                       Client Tools Connectivity
      Status:                        Passed
      Feature:                       Client Tools SDK
      Status:                        Passed
      Feature:                       Client Tools Backwards Compatibility
      Status:                        Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      Feature:                       SQL Server Data Tools
      Status:                        Passed
      Feature:                       Reporting Services - Native
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Data Quality Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Full-Text and Semantic Extractions for Search
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Master Data Services
      Status:                        Passed
      Feature:                       Distributed Replay Client
      Status:                        Passed
      Feature:                       Distributed Replay Controller
      Status:                        Passed
      Feature:                       Integration Services
      Status:                        Passed
      Feature:                       Data Quality Client
      Status:                        Passed
      Feature:                       Analysis Services
      Status:                        Passed
      Feature:                       Reporting Services - SharePoint
      Status:                        Passed
      Feature:                       Reporting Services Add-in for SharePoint Products
      Status:                        Passed
      Feature:                       SQL Browser
      Status:                        Passed
      Feature:                       Documentation Components
      Status:                        Passed
      Feature:                       SQL Writer
      Status:                        Passed
      Feature:                       SQL Client Connectivity
      Status:                        Passed
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\SystemConfigurationCheck_Report.htm

    Hi,
    This 3rd time I followed this link. But nothing new, same error.
    Can you please tell me how to do follow, I cannt do the 1st step, how to change the local system to windows level account, vice-versa. It is shown mine as
    Server Configuration Manager(Local) 
    From here I folllowed the steps ---[I cannt insert link/image :-(]
    SQL 2008/R2 setup fails with "Wait on the database engine recovery handle failed" 
    If I right clicked on SQL Server Service, there is no option to change the account. 
    Hello,
    Thanks for your patience,did you tried stesp mentioned in below article
    http://blogs.msdn.com/b/sqljourney/archive/2012/03/16/sql-2008-r2-setup-fails-with-quot-wait-on-the-database-engine-recovery-handle-failed-quot.aspx
    To resolve it, follow these steps:-
    When the installation throws this error, click on OK and allow it to proceed. It will fail for Database Engine, but the SQL Server service should have
    been created. Check the Services console.
    If the service is present, perform the following steps:-
    1. Go to SQL Server Configuration manager, right click on the SQL Server service, and change the service account (if it is local system, give
    it a windows level account, and vice-versa). It might throw a WMI error but you will see the account getting updated anyway. If not, then use the Services console. Change the account for SQL Agent as well.
    Use this link to change sql server service account
    http://technet.microsoft.com/en-us/library/ms345578.aspx
    2. Next, try to start the service. It should come online.
    3. However, you will not be able to log in to the SQL Server
    4. Now stop the service and start it from the command prompt using -m -c -T3608 parameters.
    5. Now try logging in to the server using admin connection from sqlcmd (sqlcmd admin:<server name>\<instance name> ...)
    6. Once logged in, use the sp_addsrvrolemember '<domain\username>','sysadmin'.
    Also add the builtin/administrators to the sysadmin role
    7. Now stop the service from the command prompt and start it from SQL Server configuration manager
    You should be able to log in to the server now.
    Hope this helps someone.
    Please revert if it helps or even if it does not
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Error while opening Oracle Database 11g Express Edition after installation.

    After finishing the installation of Oracle database 11g Express Edition, when I tried to open it, it shows following error : windows cannot find `http://127.0.0.1:%HTTPPORT%/apex/f?p=4950`.Make sure you typed the name coorectly, and then try again.
    What the above error means? I followed the installation steps as given in the link.

    Hi,
    Follow thread may help you.
    <<Newbie on running Oracle 11g - Windows cannot find http:something
    Regards,

  • GUI error on SE80 in SAP NetWeaver 2004s ABAP trial Edition

    I have SAP NetWeaver 2004s ABAP trial Edition installed on WinXP. one problem is that when I run T-code SE80 (Object Navigator) the middle section of the left part of the screen (where it would normally allows you to select object type for display) is not painted. it is just a block of white space! Other parts of the screen seems to work fine (both Top and Bottom sections). Has anyone had such problem? What can I do to fix it? Thank you for your help
    Hameed

    Patch level 22 is available at service market place, this is the link
    Service Market Place -> Support Packages and Patches -> SAP Frontend Components -> SAP GUI FOR WINDOWS -> SAP GUI FOR WINDOWS 6.40 -> Win32 -> gui640_pdb_22-10001615.exe
    https://smpdl.sap-ag.de/~swdc/012002523100007929292006D/gui640_pdb_22-10001615.exe?_ACTION=DL_DIRECT
    You need the Service Market Place Id for that.
    However, this file did not help!
    Hameed

  • Passing parameter to Function in select clause BIP 11g

    Hi,
    I am developing a dataset where i ahave to pass Parameter to a function which retrives the cursor in BIP 11g
    below is the SQL:
    select cizcompfn(:P_USER_ID) COMPANY_INFO,
    cizinstfn(:P_REPORT_CD, :P_USER_ID) CURRENCY_INFO,
    sysdate AS PRINT_DATE_TIME_INFO,
    cizlballfn(:P_REPORT_CD, :P_USER_ID) LABEL_INFO,
    cipacsvpfn(:P_USER_ID, to_char(:P_FROM_DT,'yyyy-MM-dd') ,
    to_char(:P_TO_DT, 'yyyy-MM-dd')) RETURN_CODE_INFO, rpt_option_val SERVER
    FROM ci_rpt_option where rpt_opt_flg = 'RPSV'
    I have created the 4 parameters :P_USER_ID, :P_REPORT_CD , :P_FROM_DT and :P_TO_DT
    I am not getting the result generated.
    If develop the dataset in BIP 10g, this working fine.
    Please, let me know what needs to changed so that it works in BIP11g.
    Regards,
    Hemanth

    I am getting the result like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- Generated by Oracle BI Publisher 11.1.1.5.0
    -->
    - <DATA_DS>
    <P_TO_DT>2010-01-01T00:00:00.000-05:00</P_TO_DT>
    <P_FROM_DT>2000-01-01T00:00:00.000-05:00</P_FROM_DT>
    <P_REPORT_CD>CI_ACSVPR</P_REPORT_CD>
    <P_USER_ID>CDX</P_USER_ID>
    - <G_1>
    <PRINT_DATE_TIME_INFO>2012-05-11T07:22:57.000-04:00</PRINT_DATE_TIME_INFO>
    <SERVER>http://server-name:port-number</SERVER>
    </G_1>
    </DATA_DS>
    Value for two columns:
    sysdate AS PRINT_DATE_TIME_INFO
    rpt_option_val SERVER
    which are straight forward columns.
    When i pass hardcoded values instaed of parameters I get the XML:
    Below is the SQL:
    select cizcompfn('CDX') COMPANY_INFO, cizinstfn('CI_ACSVPR', 'CDX') CURRENCY_INFO, sysdate AS PRINT_DATE_TIME_INFO,
    cizlballfn('CI_ACSVPR', 'CDX') LABEL_INFO,
    cipacsvpfn('cdx', to_char('05-may-1900') ,to_char( '05-may-2012')) RETURN_CODE_INFO,
    rpt_option_val SERVER from ci_rpt_option where rpt_opt_flg = 'RPSV'
    Edited by: 931007 on May 11, 2012 7:29 AM

  • BIP 11G - Retrieving a cursor from a function defined in a package

    We had previously deployed reports in OBIP 10G....
    The reports deployed in OBIP 10G used an XDO file to interact with the database and return data in XML format.
    This action used to be defined in the ‘sqlStatement’ tag of the XDO file.
    <dataQuery>
    <sqlStatement name="Q1"> select PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1) FROM DUAL </sqlStatement>
    </dataQuery>
    For this it would invoke our package called ‘PK_AP_GEN_REP’ and pass the report specific function name ('AP_CH_R101') to it as an input parameter.
    This returned a cursor.
    Hereafter the resultant cursor from above would get each column mapped with those mentioned in ‘dataStructure’ tags of XDO file to form an XML file.
    Currently we are trying the same in OBIP 11G.
    We are creating the dataset with SQL query
    The problem is that the SQL statement “select PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1) FROM DUAL” is not effective.
    Also if the above query is fired it does not retrieve the column names to define the data structure.
    Solutions tried:-
    1.     Forcefully defining the data-structure in XDM file created for this report. This did not work.
    2.     Firing a Before “Event Trigger”. This only works if the function is returning a Boolean and not a cursor.
    We tried modifying the function to return a Boolean and to populate the report specific table which could be queried to fetch the records.
    We defined Oracle DB Default Package = PK_AP_GEN_REP
    We defined the trigger as PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1)
    Now creating the dataset with SQL query does not return any data.
    It is giving the following error:-
    "XML document must have a top level element. Error processing resource 'http://iflmud5im00094:9704/xmlpserver/servlet/xdo'."
    However the query fires if Oracle DB Default Package is reset to nothing...But in this case the event trigger did not fire.
    If there is a wayout involving any of the above 2 steps or any other way please share the solution
    Kindly let me know how I may handle this issue of Retrieving a cursor from a function defined in a package in BIP 11g.

    Further regarding this....
    Not sure regarding performance issues of using pipelined functions
    Just to share with you that instead of what you suggested I have tried out returning a 'table' type object from a PL/SQL function after CAST ing the required query to this Object.
    Stretching the discussion forward, is there a way to cast a ref cursor into a plsql table.
    This could absolutely fit my requirement...
    Thanks in advance

  • I am getting "ORA-00900: invalid SQL statement"  error.?

    I did installed oracle 11gR2. and used "DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','USER1','USER2')"   to see the result like below,  but I am getting "ORA-00900: invalid SQL statement"  error.   Any idea?
    I am using:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> desc user1.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(20)
    FIELD_A4                                  NOT NULL NUMBER(5,2)
    FIELD_A5                                           VARCHAR2(10)
    FIELD_A6                                  NOT NULL NUMBER(2)
    SQL> desc user2.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(50)
    FIELD_A3                                           DATE
    FIELD_A4                                           NUMBER(5,2)
    FIELD_A5                                  NOT NULL VARCHAR2(10)
    SQL> select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual
    expected result:
    DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','U1','U2')
    ALTER TABLE "U1"."TBL_A" ADD ("FIELD_A3" DATE)
      ALTER TABLE "U1"."TBL_A" DROP ("FIELD_A6")
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A2" VARCHAR2(50))
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NUMBER(5,2) DEFAULT 0)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NULL)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A5" NOT NULL ENABLE)

    Thanks for reply rp,
    I got result using "select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual"

  • OEM 10.2.0.5 Errors Monitoring Oracle 11g on RHEL 5.3 64-bit

    Hi,
    I am trying to setup a grid control box to monitor two 11gR1 databases on a RAC cluster. We have Oracle CRS for the clustering software and we are using OEM GC 10.2.0.5. I have cloned 10.2.0.5 agents from the OMS install and the hosts show up in OEM.
    The listener shows as down in the EM console. The database shows down too with "Agent Connection to Instance" failed with ORA-12545. Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach).
    My emagemt_perl.trc has the following:
    has_metrics.pl: Wed Jan 27 23:38:01 2010: WARN: WARN:has::Common:: has::Common::hasGetSQLResults: Could not
    connect.
    I discovered the targets with the agent, when it was added to EM. I also set the dbsnmp password but I am still getting the error.
    Thanks for any ideas,
    Pedro B. Morales

    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 28-JAN-2010 00:36:10
    Uptime 0 days 17 hr. 11 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/oracle/product/11.1.0/db/network/admin/listener.ora
    Listener Log File /oracle/app/oracle/diag/tnslsnr/corp1052/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=corp1052)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Service "dex.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 2 handler(s) for this service...
    Service "dexXDB.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 1 handler(s) for this service...
    Service "dex_XPT.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 2 handler(s) for this service...
    The command completed successfully
    The output of SQLPlus:
    [oracle@dbhost: db]$ bin/sqlplus dex@DEX
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 28 18:40:11 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options

  • Suddenly not able to start up the appserver? SQL library error

    Our datacenter went down this past weekend and so my Template 9.1 environments also went down, unfortuantely I have yet to have time to put in start up scripts on those servers. I am trying to bring all 3 tiers up manually and am encountering errors I've never had before. I am assuming that I am doing something wrong because this environment has not been touched and I've never had this problem before.
    Templates have not been changed, we accepted all the defaults. We have 3 different servers, 1 for DB, 1 App, 1 Webserver
    I have started the database and listener and can reach them via sqlplus no problem. However, when starting up my appserver I am getting the following error: GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora
    I have set my Oracle environment (. oraenv) to my database name. And my Oracle home to: /opt/oracle/psft/appbatch/oracle-client/10.2.0.4-64bit. Is this correct? I am starting the appserver as psadm2.
    What am I missing? Why am I suddently having library file version errors?
    Thanks!!

    Ran your sql statement, here is the output:
    SQL> select username,account_status,expiry_date,profile
    2 from dba_users
    3 where username in ('PEOPLE','SYSADM');
    USERNAME ACCOUNT_STATUS EXPIRY_DA
    PROFILE
    PEOPLE OPEN 08-JUL-10
    DEFAULT
    SYSADM OPEN 29-JUL-10
    DEFAULT
    Here is more of the appserver error:
    Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :y
    PSADMIN.1656 (0) [06/02/10 14:24:58](0) Begin boot attempt on domain APPDOM
    PSAPPSRV.1671 (0) [06/02/10 14:25:12](0) PeopleTools Release 8.50.02 (Linux) sta
    rting. Tuxedo server is APPSRV(99)/1
    PSAPPSRV.1671 (0) [06/02/10 14:25:12](0) Cache Directory being used: /home/psadm
    2/ps/pt/8.50/appserv/APPDOM/CACHE/PSAPPSRV_1/
    PSAPPSRV.1671 (0) [06/02/10 14:25:12](1) GenMessageBox(200, 0, M): PS General SQ
    L Routines: Missing or invalid version of SQL library libpsora (200,0)
    PSAPPSRV.1671 (0) [06/02/10 14:25:12](1) GenMessageBox(0, 0, M): Database Signon
    : Could not sign on to database PS91DEMO with user PS.
    PSAPPSRV.1671 (0) [06/02/10 14:25:12](0) Server failed to start
    PSADMIN.1656 (0) [06/02/10 14:25:19](0) End boot attempt on domain APPDOM
    Yes I can connect to sqlplus from the app/batch server with the psadm2 user:
    [psadm2@ovm002 appserv]$ sqlplus SYSADM@psdmo
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 2 14:28:57 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Thanks.

  • Oracle ILM Assistant 1.4 Installation for Oracle 11g Express Edition

    Can we use Oracle ILM Assistant 1.4 with Oracle 11g Express Edition?
    I installed ILM Assistant with Oracle 11g Express Edition along with default APEX in my laptop. Oracle SQLPlus connect and Application Express working fine. But facing problem is connecting ILM Assistant.
    I used below commands to install ILM Assistant
    sqlplus /nolog
    Connect SYS as SYSDBA
    Password: oracle
    @ilma_install oracle ILM_ASSISTANT NONE
    granted all access rights to user
    @ilma_post_install
    I restarted by computer once installation completes.
    When I use http://localhost:8080/pls/apex/f?p=737677 address in IE to connect ILM Assistant it ask for XDB server username and password. When I provide default password IE giving 404 Not Found error.
    Just wondering if I am missing something or issue is some thing else.

    Hermann, thanks for your support.
    Answer: please use username in Capital Letters
    e.g.
    SQL> @grant_privs ILM_USER_TEST;

Maybe you are looking for

  • Random test questions quiz results not working

    I have a project with random test questions. It's published in HTML5...Each time I play the project in preview, the test results are accurate and correct at the end...However after I have published the project to my site, all the random test question

  • IPhoto update problem accessing files

    I installed the iLife 06 on my computer today, and when I launch iPhoto, it prompts me to upgrade. When I do so, it runs its course loading photos, but at the end, I get the following dialogue: "There is a problem accessing one or more files in your

  • Comboboxes and textboxes geting mixed up

    My application seems to mix the combobox with the textinput controls. While I have connected the combobox to a dataprovider, the textinput control shows the dataprovider's value. This happens for all the applications that I try to run from my Flex Bu

  • PO_Line_Locations_All data issue

    Hello, am working in 11i Oracle Apps. I am working with PO_Line_Locations_All table. I am able to find that the values in PO_Header_Id and PO_Line_ID are not available in PO_Headers_all and PO_Lines_All table. What does that mean. Is that bad data? p

  • Bug 452193 does not fix my problem

    I found via cor-el that my system had been shifted from 3.6.7 to 3.0.10. I later updated to 3.6.8, no change. cor-el suggested I check at "http://kb.mozillazine.org/locked_or_damaged_places.sqlite". I did that and found Bug 452193. That led me to a p