PL/SQL error in JSP Reports

Hi,
I am trying to create a simple PL/SQL in a JSP report thar returns a column's value as below:
Return :RES_COM_CODE ;
I am getting an error as below:
javax.servlet.jsp.JspException: REP-0724: Cannot get the value of Column 'RES_COM_CODE' here. REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
Can someone please tell me how to solve the error above? The CF_1 is in the same group as 'RES_COM_CODE' .
Thank you in advance.
Cheers,
Tan

it seems to be a bug in oracle.
you need to apply the patchset 9.0.4.1 to get this issue resolved.
.0.4.1 3240140 This fix will solve the REP-0724 error (and engine crash/hang) which you web only report and formula column accessing database columns in the group

Similar Messages

  • SQL Error in JSP

    Could anyone tell me why I get a SQL Syntax error for this query?
    "SELECT tblrapporti.id_rapporto, tblrapporti.desc_breve, tblrapporti.desc_lunga, tblrapporti.cod_contab, tblrapporti.cod_banca, tblagenzie.desc_breve, tblbanche.desc_breve
    FROM tblbanche INNER JOIN (tblrapporti INNER JOIN tblagenzie ON tblrapporti.id_agenzia = tblagenzie.id_agenzia) ON tblbanche.id_banca = tblagenzie.id_banca"
    I'm using MySQL 2.3
    Executing query into MySQL DBMS, I get the same error too.
    Any suggestions?
    Thanks in advance.
    Fil

    Try something more like;
    SELECT
    tblrapporti.id_rapporto,
    tblrapporti.desc_breve,
    tblrapporti.desc_lunga,
    tblrapporti.cod_contab,
    tblrapporti.cod_banca,
    tblagenzie.desc_breve,
    tblbanche.desc_breve
    FROM tblrapporti, tblagenzie, tblbanche
    WHERE
    tblrapporti.id_agenzia = tblagenzie.id_agenzia AND
    tblbanche.id_banca = tblagenzie.id_banca AND...

  • REP -1401 Fatal PL/SQL error occurred.

    Hi All,
    In my rdf report i have a formula column with the following code in it..
    function CF_PO_NumberFormula return Char is
    cursor cur_pending_po
    is
    select distinct pll.po_header_id
                   from
                   PO_LINE_LOCATIONS_ALL pll,
                   po_lines_all pla
                   where 1=1
                   and pll.po_line_id=pla.po_line_id
                   and pll.org_id=pla.org_id
                   and pll.org_id=5050
              and pla.item_id=:inventory_item_id
                   and (pll.quantity-pll.quantity_received)>0
                   AND EXISTS(SELECT 1 FROM PO_HEADERS_ALL PHA
              WHERE PLL.PO_HEADER_ID=PHA.PO_HEADER_ID
              AND PHA.APPROVED_FLAG='Y'
              AND PHA.CLOSED_CODE IS NULL)
                   order by pll.po_header_id;
    po_num     varchar2(4000);
    begin
    po_num:=null;
    for rec_cur_pending_po in cur_pending_po
    loop
    select segment1||','||po_num into po_num
    from
    po_headers_all
    where 1=1
    and po_header_id=rec_cur_pending_po.po_header_id;
    end loop;
    return rtrim(po_num,',');
    exception
         when others then
         po_num :=null ;
    return po_num;
    end;
    when i am running the report, it is getting errored out..following is the log file message...
    Arguments
    P_ORGANIZATION_ID='5100'
    P_FROM_DATE='2009/08/31 13:30:00'
    P_TO_DATE='2009/09/02 13:30:00'
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.UTF8
    REP-1401: 'cf_po_numberformula': Fatal PL/SQL error occurred.
    Report Builder: Release 6.0.8.27.0 - Production on Thu Sep 10 11:38:18 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 25343374.
    Review your concurrent request log and/or report output file for more detailed information.
    Can Anyone help me on this..

    I would suggest the best place to start is with some diagnostics - first of all in the exception handler. Try
    SRW.MESSAGE(999,'PO number formula failed - '||sqlerrm);
    This will give you more information as to the exact error which occurred.
    Also, I hope you have tested the query separately before putting it in the report! - may be an obvious one, but it is possible that you may have a data size problem on the po_num variable. Do you know how many rows the cursor will return?
    This should give you somewhere to start.
    Edited by: mike_p on Sep 11, 2009 2:09 PM
    Edited by: mike_p on Sep 11, 2009 2:10 PM

  • Error with JSP, Apache Tomcat and SQL

    Hi,
    I was trying to do some user suthentication script.
    This was my code..
    <html>
    <body>
    <%@ page import = "java.sql.*" %>
    <%@ page import = "java.util.*" %>
    <%
    String Username1 = "";
    String Password1 = "";
    String Username2 = "";
    String Password2 = "";
    String qry = "";
    Username2 = request.getParameter("uname");
    Password2 = request.getParameter("pass");
    qry = "select * from tbl_Users where Username="+Username2;
    ResultSet Rs;
    PreparedStatement pstmt=null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:BankDSN");
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from tbl_Users");
    while (rs.next())
    Username1 = rs.getString("Username");
         Password1 = rs.getString("Password");     
         if (Password1 == Password2)
         response.sendRedirect("home.jsp");
         else
         response.sendRedirect("sorry.jsp");
    rs.close();
    stmt.close();
    con.close();
    %>
    </table>
    </body>
    </html>
    When I tried to invoke the JSP page, I got the following error
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.IllegalStateException
         at org.apache.catalina.connector.HttpResponseFacade.sendRedirect(HttpResponseFacade.java:173)
         at org.apache.jsp.validate$jsp._jspService(validate$jsp.java:99)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.....
    Regards,
    Ramprasad

    Dear vraptor,
    I had seen ur jsp page , can i tell u one thing , never write a connection in the jsp page, why becoz the code can be seen.
    ok here the problem is ur getting the username and password and putting an if condition inside the while loop so this throws an error.
    anyway ur getting the values like
    while (rs.next())
    Username1 = rs.getString("Username");
    Password1 = rs.getString("Password");
    now the username and password are already retrived from server side, just do the check now outside the loop.
    if (Password1 == Password2)
    response.sendRedirect("home.jsp");
    else
    response.sendRedirect("sorry.jsp");
    one more thing is check whether the page forwarding to correct page like response.sendRedirect("home.jsp");
    see for the "/<directory Name>"/home.jsp if u keep all the jsp at one directory.
    i mean this response.sendRedirect("/jspdirectory/home.jsp");
    try this
    regards
    haribabu

  • SQL Error while running a report

    Hi Experts,
    I am getting an error like below while running a report for particular sales Organization and Company code combination
    *SQL Error: 83-*
    *SQL0083C A memory allocation error has occured*
    *Errors occured during parellel processing of query 30,RC:3*
    *error while reading data: navigation is possible*
    we are getting this error for the combination of Sales Org & Comp.code.
    if run simply for Sales Org. no error.
    Thanks
    Regards,
    <M@Hi>

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Urgent...Error while running a jsp report in Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
    at MyReport.jspService(MyReport.jsp:4)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • IF Condition in a PL/SQL Script give a report error.

    Hello, I’m German and I hope you can unterstand my Question.
    First, I work with the HTML DB Version 1.6.0.0.0.87 and the Oracle Version 9.2.0.6.
    I create a SQL Report, where a PL/SQL Script return the SQL Statement for the Report. This is my source-code, I have short it...:
    Declare
    sql_str varchar(2000);
    sql_str_select varchar(1000) :=' select dim_sparte …... ';
    sql_str_from varchar(1000) := ' from faktentabelle,dim_sparte ';
    sql_str_where varchar(1000):= ' where … and faktentabelle.zeit_id = :POPUP_ZEIT ';
    sql_str_groupby varchar(1000):= ' group by dim_sparte.name, faktentabelle.zeit_id ';
    Begin
    If ( (V('POPUP_NETZGEBIET') is not NULL) and (V('POPUP_NETZGEBIET') <>
    'Alle Netzgebiete')) THEN
    sql_str_select := sql_str_select || ' ,dim_organisationseinheit.netzgebiet_name ';
    sql_str_from := sql_str_from || ' , dim_organisationseinheit ';
    sql_str_where := sql_str_where || ' and faktentabelle ... and
    dim_organisationseinheit.netzgebiet_name = :POPUP_NETZGEBIET';
    sql_str_groupby := sql_str_groupby || ' , dim_orga .... ';
    End IF;
    sql_str:= sql_str_select || sql_str_from || sql_str_where || sql_str_groupby;
    htp.print(sql_str);
    Return sql_str;
    End;
    This Script include a IF-THEN condition. The Condition is true and the sql-String-Variables are updatet.
    I can get the string with htp.print() and the Statement is OK.
    The report get a Error “report error: ORA-1403: no data found”. If I copy the printet sql String in a new Report Region with SQL String, the Report is OK. When I write IF(true) instead of IF( Condition) the Report is OK, too.
    I try ist with Varibalen V(‘name‘) and with :name. It’s always the same problem. I can’t use IF-THEN-Else Conditions in a Script.
    Please help me and say me what is the problem???
    Thanks,
    Simona

    Hi Simona,
    In the sql region below the region source see that you have " Use Generic Column Names (parse query at runtime only)" check and not " Use Query-Specific Column Names and Validate Query".
    This error you usually get when you have a mismatch in your report heading.
    Vivek
    [email protected]

  • Restricting the pl/sql error in report region(sql report)

    Hi,
    Is there any way to hiding pl/sql error in report region when we use generic column names*(Use Generic Column Names (parse query at runtime only)*
    ). and type is sql query else displaying alternative error message on that particular report region
    I am using apex 4.1 and 11g database
    Thanks
    Sagar.

    What kind of pl/sql error you are talking about?

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Error in Running REPORT in JSP format

    Dear Fellows,
    I have created a report in JSP format and deployed on the local web server. I try to run the report through this URL.
    "http://dw_hit4:7778/emprev_Zeeshan.jsp?server=repsrv&userid=hr/hr@sbpdw"
    When i access this URL i get this error
    "Error: java.lang.ClassNotFoundException: oracle.reports.jsp.ReportTagExtraInfo"
    Can any one tell me what is the cause of ths error and how to get rid from it.
    Please this is very urgent.. Help me...
    Awaiting For the earliest reply..
    Thanx in Advance
    Zeeshan Suria

    I have created a report in JSP format and deployed on the local web server <<<Is this local webserver - Oracle HTTP server ? Which one are you using ?
    1) If you are deploying reports in Oracle Application server ( Midtier - Business Intelligence , Forms and Reports )
    then there is a sample JSP report deployed which you can access from home page -->Demonstrations Tab
    You can search for the JSP Report ( forgot the exact location ). It should be emp.jsp or test.jsp
    You need to have reports_tld.jar (tag library) in <contextRoot>\WEB-INF\lib directory. See how the sample report is deployed.
    Additionally you need to have following jars in REPORTS_CLASSPATH env variable in registry HKLM\Software\Oracle\Home<x>
    $OH\reports\jlib\rwrun.jar;$OH\j2ee\home\oc4j.jar;$OH\reports\jlib\rwbuilder.jar;$OH\jlib\zrclient.jar;$OH\j2ee\home\lib\ojsp.jar;$OH\reports\jlib\xrpdsolap.jar;$OH\reports\jlib\xrpds90.jar;
    ( But all these entries come out of the box. Hence I asked which app server you are using )
    2) If you are using non-Oracle app server, then there are thin clients for BEA, IIS, OC4J and standalone thin client.
    You can get them in
    http://otn.oracle.com/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    Thanks
    Ratheesh

  • Adding a field to an sql statement in Oracle Reports error ORA-00933

    We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
    ORA-00933:SQL command not properly ended
    ORDER BY Program ==> NAME
    Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
    SELECT p.person_uid PIDM_KEY, p.id_number ID,
                   p.full_name_lfmi name,            
                    p.BIRTH_DATE, p.GENDER Sex,
                    Decode(a.residency,'D',p.Primary_ethnicity,'F')  Ethn,
                    a.academic_period TERM,        
                    CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
                                 ELSE ' '
                    END AS Program,
                    a.COLLEGE, a.degree, a.major, ' ' rule,
                    a.STUDENT_POPULATION,a.STUDENT_LEVEL,    a.application_status Status,  a.application_status_date app_sts_dte,
                    ad.decision_date1 Last_Dec_Date,
                    ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
                    /*  Deposit Date uses the last term entered in :p_term parameter string */
                    (SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid)   AS "DEPOSIT DATE",     
                    ph.phone as PHONE,
                    CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
                     ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
                                ELSE '  '
                                END
                    END AS FIRST_CONTACT,
                    DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,'  ',' '),' ') as  address, adr.nation, adr.state,
                    goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
    FROM MST_ADMISSIONS_APPLICATION A,
               MST_PERSON p,mst_pre_student PS,  Admissions_Cohort c, usf_v_phone_pr_ma ph,
               MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
    WHERE a.PERSON_UID = p.person_uid
            AND a.curriculum_priority  = 1
            AND a.person_uid = ps.person_uid
           AND a.person_uid = ad.person_Uid(+)
           AND a.person_uid = goremal_pidm(+)
           AND a.person_uid = adr.pidm(+)
           AND a.person_uid = ph.pidm(+)
           AND ph.rnum(+) = 1
           AND a.person_uid = c.person_uid(+)
           AND a.academic_period = c.academic_period(+)
      &Where_Clause
           /*    TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP  */
            AND NOT(p.id_number = '00000000'   OR SUBSTR(p.id_number,1,1) = 'B'  OR UPPER(p.full_name_lfmi)  LIKE '%TESTING%')
           AND  a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
           AND a.academic_period = ad.academic_period(+)
            AND a.application_number = ad.application_number(+)
            AND a.degree <> 'ND'    /*   AND a.college <> 'LW'                         --  Does not need non-degree and law students    */
           &Cohort_Clause 
    ORDER BY Program  &ORDER_CLAUSE

    Hi Denis,
    I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
    ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
    p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
    Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
    CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all.

  • Designer 6.0 Repository Reports and PL/SQL Error ORA 6505

    Trying to run some Repository reports give error
    REP-1401 'cf_desc_textformula'. Fatal PL/SQL error occurred.
    ORA-06505: PL/SQL: variable requires more than 32767 bytes
    of contiguous memory
    Occurs at e.g. ckentdef Seems to be that Reports has Problems
    with the Entity Descriptions and Notes in the repository...
    The Database Characterset is US7-ASCII
    Any Ideas?
    Michael
    null

    Hi, I4m not sure, but maybe it works,in WHEN OTHERS zone, to make commit after the insert in the table where you want the errors to log. You can make commit in a trigger if you specify in the declaration zone of the trigger:
    PRAGMA AUTONOMOUS_TRANSACTION;

  • SQL Server reporting server 2005 having error. 'The report server is not responding. Verify that report server is running and can be accessed from this computer'

    Hi team,
    I got below error message in SQL Server 2005 reporting service.
    ''The report server is not responding. Verify that report server is running and can be accessed from this computer'
    also in reports, i am getting below error:
    "The encrypted value for the "LogonCred" configuration setting cannot be decrypted. (rsFailedToDecryptConfigInformation)
    Get Online Help
    The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError)
    Get Online Help "
    Please find below log:
    <Header>
      <Product>Microsoft SQL Server Reporting Services Version 9.00.4060.00</Product>
      <Locale>en-US</Locale>
      <TimeZone>Eastern Daylight Time</TimeZone>
      <Path>F:\Program Files\Microsoft SQL Server\MSSQL.6\Reporting Services\LogFiles\ReportServer__07_28_2014_09_08_41.log</Path>
      <SystemName>MFLDDDBS04</SystemName>
      <OSName>Microsoft Windows NT 5.2.3790 Service Pack 2</OSName>
      <OSVersion>5.2.3790.131072</OSVersion>
    </Header>
    w3wp!webserver!1!7/28/2014-09:08:41:: i INFO: Reporting Web Server started
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing ConnectionType to '1'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsSchedulingService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsNotificationService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsEventService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsWebServiceEnabled to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing ProcessRecycleOptions to '0'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonFlags to '1064'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'  as specified in Configuration
    file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing SecureConnectionLevel to '0'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Reporting Services starting SKU: Enterprise
    w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Evaluation copy: 0 days left
    w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., CryptUnprotectData:
    Win32 error:13;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
    w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted., ;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
    The report server has encountered a configuration error. See the report server log files for more information.
       at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.UnprotectData(Byte[] data, Int32 dwFlags, Boolean transitoryData)
       at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.LocalUnprotectData(String data, Boolean transitoryData)
       at Microsoft.ReportingServices.Diagnostics.RSConfiguration.DecryptCatalogData(String encryptedData, String element)
       --- End of inner exception stack trace ---

    Hi Vivek,
    In Reporting Services, values for LogonUser, LogonDomain, and LogonCred are created when the report server connection is configured to use a domain account. As to the error that “The encrypted value for the "LogonCred" configuration setting cannot be decrypted”,
    we can know that it relates to the domain account for report server connection.
    To fix this issue, we can refer to the following steps:
    Log in to SQL Server Database Engine in SQL Server Management Studio.
    Under Security folder, give sufficient permissions for your domain account.
    Open your Reporting Services Configuration (go to Start -> All Programs -> Microsoft SQL Server 2005 -> Configuration Tools -> Reporting Services Configuration)
    Navigate to the Database Setup tab, select ‘Service Credentials’ as the Credentials Type, then type your domain account and password in there. Press Apply.
    Restart the Report Server services.
    Reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2d05b404-83aa-4fb2-bba6-52b587e890ec/sql-2005-rs-configuration-tool-encryption-key-error
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Getting error while installing reporting servcies on existing sql server 2012.

    Hi Expaerts,
     sql 2012 sp1:
    getting error while installing Reporting services on existing sql server. at final step
    Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
    error on popup windows:  ' one or more files required to restore your computer to its previous state colud  not be found. restoration will not be found.
    Thanks in advance.

    Hello,
    Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
    Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
    http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Creative Cloud is not synching

    I started using Creative Cloud's files synching function earlier this week. I started a job at work then synched it to my home. Last night I did some updates at home but when I opened the (supposedly) synched files at the office today, some were not

  • My Canon Pixma 620 suddenly stopped being recognized by my iMac

    For the past year I have had no problems printing with my wireless printer.  But as of just two days ago I am no longer able to print. Each time I try to print to my Canon Pixma MP620 printer I get a  popup that says The printer is not connected, und

  • Smartform as work item attachment

    Hi, I would like to have a smartform as an attachment in the work item. This is as part of User Decision step. I had gone through one of the blogs  by Ramakanth Reddy of creating attachment to work item but there was no clear description of SOFM obje

  • PS + Bridge mehrfach im Speicher

    Ich arbeite unter Windows XP Professional. Wenn ich PS + Bridge schließe, befinden sie sich weithin im Speicher. Öffne und schließe ich die Programme öfter, befinden sie sich mehrfach im Speicher und alles wird folgerichtig sehr langsam. Aus dem Spei

  • X64 CF8 cfobject com error while 32 bit dll

    hi  on a x64 windows x64 CF 8 server when I try to use cfobject  for test code it gives an error the code is <cfobject action="connect"  type = "COM"  class = "Microsoft.XMLDOM"  name = "XMLDoc"> at the first run  the error message  is : c:\ColdFusio