Getting Zero Sized Reply error in report from SQL query

Hi,
I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: <data suppressed>
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.
Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
Thanks,
Lorena

Hi,
I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: <data suppressed>
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.
Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
Thanks,
Lorena

Similar Messages

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • Query based Report (Reports From SQL Query)

    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    Can i increase a timeout of portal page, how i can do this?
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?

    Can you post the URL that is giving you the page not found error ? I am not sure if I can be of much help though.
    In order to increase your chances to get a reply you should also post your question in the Portal Forum - Oracle Application Server Portal
    Edited by: Rodolfo Ferrari on Jun 16, 2009 3:49 PM

  • Need help in Report From SQL Query

    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    I tried also increase the page time out in httpd.conf, but no use.
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?

    user602513 wrote:
    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    I tried also increase the page time out in httpd.conf, but no use.
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?Do you get any errors or warnings or it is just the slow speed which is the issue?
    There could be a variety of reasons for the delayed processing of this report. That includes parameter settings for that page, cache settings, network configurations, etc.
    - explore best optimization for your query;
    - evaluate portal for best performance configuration; you may follow this note (Doc ID: *438794.1* ) for ideas;
    - third: for that particular page carrying that report, you can use caching wisely. browser cache is neither decent for large files, nor practical. instead, explore the page cache settings that portal provides.
    - also look for various log files (application.log and apache logs) if you are getting any warnings reflecting on some kind of processing halt.
    - and last but not the least: if you happen to bring up a portal report with more than 10000 rows for display then think about the usage of the report. Evaluate whether that report is good/useful for anything?
    HTH
    AMN

  • Width of field in Report From SQL Query

    I have created a report from SQL query with 15 columns being selected. However, no matter what column width and column type (pixel, char, percent) I enter in the column formatting tab of the report, I cannot get the report to format the column to the width I desire. It is always a fixed width. Does anyone have any suggestions?
    Thanks,
    Martin

    Hi,
    Char (used for ASCII format)
    Displays the output in the specified number of
    characters per line. For example, if you enter 20
    in Width, the report displays 20 characters of the
    column data in each line. If the number of
    characters per line exceeds the specified
    number, the remaining characters are wrapped
    to the next line.
    Pixel
    Displays the output in the specified number of
    pixels per row. For example, if you enter 10 in
    Width, the column data displays 10 pixels of
    data per line of the displayed table.
    Percent
    Displays the output in the specified percentage
    of the table. For example, if you enter 25 in
    Width, the column data displays in 25% of the
    displayed table.
    Thanks,
    Sharmila

  • Adding update and delete buttons to a  Report from SQL Query

    There is an option when creating a QBE to add update and delete
    links which i find quite useful, but this option doesn't seem to
    be possible on a Report from SQL Query. Do i need to do
    something special to add them? is the option located in a
    different place?

    Hi,
    You can only add Update ,Delete in QBE Reports,
    there is no option in Portal which can be used to
    have these buttons in the Reports from Query Wizard or
    Report from SQL Query.
    Thanks
    Vineet

  • Can Portal Report from SQL Query use where column IN (:bind_variable)

    I would like to create a portal report from sql query with IN (:bind_variable) in the where clause. The idea is that the user would enter comma-separated or comma-quote-separated values for the bind_variable. I have tried this several ways but nothing seems to work. Can this be done?
    Trenton

    Hi,
    Which version of portal are you using. This is a bug. It has been fixed in 30984.
    Thanks,
    Sharmila

  • Report from SQL Query -Excel format only show the first page

    Hi,
    I have some Reports from SQL Query. In the display options, I choose Excel as default format. The Excel documents only show the first page. If I choose HTML as default format, it shows every rows.
    Please advise on how to have a complete Excel document as HTML format does.
    Thanks a lot.
    Lina Han

    I beleive when you export Oracle reports to Excel it is the Data that is transferred along with Column Names.
    You cannot export the variables defined on the report.
    Hence you will not be able to export the Footer to excel. (Still looking into it will let you know if i find anything interesting)
    Regards,
    Bhushan Salgar

  • Report from sql query invalid date condition

    Hi, I created a Reports From SQL Query. My sql is like
    "select column1, column2
    from myschema.tablename
    where mydate > :p_date1 and mydate < :p_date2"
    I am using portal with turkish and english option. If I pass p_date paramaters 'dd-MON-yyyy' format
    (for example p_date1 = 23-MAR-2003 p_date2 = 26-APR-2003) in english mode portlet is return correct result,
    in turkish mode 'No Row Returned'. I changed my sql statement with
    "select column1, column2
    from myschema.tablename
    where to_date(mydate,'dd/mm/yyy') > to_date(:p_date1,'dd/mm/yyy') and to_date(mydate) < to_date(:p_date2,'dd/mm/yyyy')"
    and I pass p_date parameters 'dd/mm/yyyy' format (for example p_date1 = 23/03/2003 p_date2 = 26/04/2003)
    but now turkish and english mode No row returned.
    How may I write correct sql statament. My database NLS_DATE_FORMAT=DD/MM/YYYY and NLS_LANGUAGE=TURKISH.
    thanks.

    Hi,
    Try this for turkish mode:
    Case 1: the 'mydate' column has a kind of a char data type (like char, varchar or varchar2)
    and a value like '30/03/2003'
    "select column1, column2
    from myschema.tablename
    where
    to_date(mydate,'DD/MM/YYYY') > :p_date1
    and
    to_date(mydate,'DD/MM/YYYY') < :p_date2"
    Case 2: the mydate column has a date type:
    "select column1, column2
    from myschema.tablename
    where
    mydate > :p_date1
    and
    mydate < :p_date2"
    In both cases use the following parameter values:
    p_date1 = 23/03/2003
    p_date2 = 26/04/2003
    This should work
    Thanks
    Peter

  • Can I declare variables in Reports from SQL Query

    Hi
    I have a Report from SQL Query published as a portlet on a page among other reports. In the query report I am using the fuction WWCTX_API.GET_USER at quite a few places to filter the data returned to the user. Can I assingn the user id to a variable at some level & replace the fuction WWCTX_API.GET_USER with the variable in all the places.
    For eg:
    usr varchar2(25);
    usr:= PORTAL30.WWCTX_API.GET_USER;
    select USER_ID, USER_LVL, BUSINESS_ID, BRANCH_ID from crs_user where user_id=usr;
    can i declare variable and assign the value like the above at any level(Report or Page Level) to the acces the variale in queries.
    Thanks in advance

    I have found that you can't use a * in a dynamic page.
    Try this:
    <ORACLE>
    DECLARE
    usr varchar2(25):=PORTAL30.WWCTX_API.GET_USER;
    BEGIN
    for c in
    (SELECT <column_name> <alias> FROM PORTALWORK.CRS_USER WHERE USER_ID=usr)
    Loop
    htp.p(c.<alias>);
    END;
    </ORACLE>
    You can also add table tags for column formating:
    <table>
    <tr><td>column 1</td></tr><tr><td nowrap>
    <ORACLE>
    DECLARE
    usr varchar2(25):=PORTAL30.WWCTX_API.GET_USER;
    BEGIN
    for c in
    (SELECT <column_name> <alias> FROM PORTALWORK.CRS_USER WHERE USER_ID=usr)
    Loop
    htp.p(c.<alias>);
    END;
    </ORACLE>
    </td></tr></table>
    Martin

  • ORA-01006 during report from SQL Query

    We are running WebDB 2.2 against a 7.3.4.4 database. I have a report created from a SQL query which references 4 bind variables. During execution I receive the following, Failed to bind - :periodyr&#0124; &#0124;' with
    ORA-01006: bind variable does not exist.
    Anyone have any idea what causes this error, could it be because I reference a bind variable (:periodyr) more than once in the query? Is there a work around?
    I have included the where clause as reference:
    WHERE gcc.code_combination_id = gb.code_combination_id
    AND gb.code_combination_id = gjl.code_combination_id
    AND gjl.je_header_id = gjh.je_header_id
    AND gb.budget_version_id =
    (select budget_version_id
    from gl.gl_budget_versions
    where budget_name = :periodyr&#0124; &#0124;' OPERATING')
    AND gjh.actual_flag = 'B'
    AND gb.actual_flag = 'B'
    AND gb.period_name = gjl.period_name
    AND gb.period_year = nvl(:periodyr,gb.period_year)
    and gcc.segment2 = nvl(:cstctr,gcc.segment2)
    and ffvobj.attribute10 = nvl(:ctrlgrp,ffvobj.attribute10)
    and gcc.segment3 = nvl(:objcode,gcc.segment3)
    Thanks
    Mark

    I think there is a bug in the procedure which picks up the bind variables from a SQL.
    Workground: put a space between variable :periodyr and operator &#0124; &#0124; as:
    where budget_name = :periodyr &#0124; &#0124;' OPERATING')
    Hope this will work
    null

  • Customizing the HTML for a Report from SQL Query

    Hello
    I have created a Report from a SQL query that outputs a list of items from a single table column. There are 65 rows returned by the report. I would like to display all the results on one page but the length of the list prevents this. Is there any way of presenting the results as multiple columns on the same page?
    ie
    Res1 Res2 Res3
    Res4 Res5 Res6
    or
    Res1 Res3 Res5
    Res2 Res4 Res6
    I thought about using a 3 column portlet region and attempting to customise the report displayed via each of the portlets but I would prefer to avoid this as it would require the development and maintenance of an additional template.
    Thanks
    Lisa

    Problem solved...
    I have used my SQL query as a cursor in a dynamic page and then used the cursor and htp.p statements to tabulate my results as per my requirements.
    Lisa

  • FS - Error code 3006 from SQL-Query

    Hello world!
    Can someone inform me which possible errors in a query cause the following error message after the query is activated?
    Internal Error (3006) Message [131-183]
    Until now I had only error code 1003, which signals syntax errors etc. in the query.
    By the way: Does anywhere exists a list of error codes/messages occuring in SAP B1?
    Thank you!
    Frank Romeni

    Error codes and their description can be found in SDK help files
    I have pasted them below for your ref
    -39
    End of File
    -43
    File not Found
    -47
    File is Busy
    -50
    File Cannot Open
    -51
    File Corrupted
    -99
    Division by Zero
    -100
    Out of Memory
    -101
    Print Error
    -103
    Print Canceled
    -104
    Money Overflow
    -111
    Invalid Memory Access
    -199
    General Error
    -213
    Bad Directory
    -214
    File Already Exists
    -216
    Invalid File Permission
    -217
    Invalid Path
    -1001
    Data Source - Bad Column Type
    -1003
    Data Source - Alias Not Found
    -1004
    Data Source - Value Not Found
    -1005
    Data Source - Bad Date
    -1012
    Data Source - No Default Column
    -1013
    Data Source - Zero/Blank Value
    -1015
    Data Source - Integer Overflow
    -1016
    Data Source - Bad Value
    -1022
    Data Source - Other File Not Related
    -1023
    Data Source - Other Key Not In Main Key
    -1025
    Data Source - Array Record Not Found
    -1027
    Data Source - Value Must Be Positive
    -1028
    Data Source - Value Must Be Negative
    -1029
    Data Source - Column Cannot be updated
    -1100
    Data Source - Cannot Allocate Environment
    -1101
    Data Source - Bad Connection
    -1102
    Data Source - Connection Not Opened
    -1103
    Data Source - DB Already Exists
    -1104
    Data Source - Cannot Create Database
    -1200
    Data Source - Data Bind General Error
    -2001
    Data Source - Bad Parameters
    -2003
    Data Source - Too Many Tables
    -2004
    Data Source - Table Not Found
    -2006
    Data Source - Bad Table Definition
    -2007
    Data Source - Bad Data Source
    -2010
    Data Source - Bad Data Source Offset
    -2013
    Data Source - No Fields In Table
    -2014
    Data Source - Bad Field Index
    -2015
    Data Source - Bad Index Number
    -2017
    Data Source - Bad Alias
    -2020
    Data Source - Bad Alias
    -2022
    Data Source - Bad Field Level
    -2024
    Data Source - Not Matching Data Source
    -2025
    Data Source - No Keys In Table
    -2027
    Data Source - Partial Data Found
    -2028
    Data Source - No Data Found
    -2029
    Data Source - No Matching Field
    -2035
    Data Source - Duplicate Keys
    -2038
    Data Source - Record Lock
    -2039
    Data Source - Data Was Changed
    -2045
    Data Source - End of Sort
    -2049
    Data Source - Not Opened for Write
    -2056
    Data Source - No Matching With Current Data Source
    -2062
    Data Source - Bad Container Offset
    -3001
    Query - Field Not Found
    -3003
    Query - Bad Data Source
    -3004
    Query - Bad Token
    -3005
    Query - Token After End
    -3006
    Query - Unexpected End
    -3008
    Query - Too Long Query
    -3009
    Query - Extra Right Parenthesis
    -3010
    Query - Missing Right Parenthesis
    -3012
    Query - No Operation Code
    -3013
    Query - No Field In Comparison
    -3014
    Query - Bad Condition
    -3015
    Query - Bad Sort List
    -3017
    Query - No String
    -3018
    Query - Too Many Fields
    -3019
    Query - Too Many Indexes
    -3020
    Query - Too Many Tables
    -3021
    Query - Reference Not Found
    -3022
    Query - Bad Range Set
    -3023
    Query - Bad Parsing
    -3025
    Query - Data Bind is Missing
    -3026
    Query - Bad Input
    -3027
    Query - Progress Aborted
    -3028
    Query - Bad Table Index
    -3032
    Query - General Failure
    -3033
    Query - Empty Record
    -3036
    Query - Bad Parameter
    -3037
    Query - Missing Table in List
    -3040
    Query - Bad Operation
    -3041
    Query - Bad Expression
    -3042
    Query - Name Already Exists
    -3044
    Query - Time Expired
    3001
    Form - Is Not Initialized
    3002
    Form - Bad Data Source
    3003
    Form - Exceeded Data Sources Limit
    3006
    Form - Invalid Form Item
    3007
    Form - Exceeded Forms Limit
    3009
    Form - Too Many Saved Data
    3012
    Form - Invalid Form
    3015
    Form - Cannot Get Multi-Line Edit
    3016
    Form - Bad Item Type
    3017
    Form - Bad Parameter
    3023
    Form - No Message Callback
    3029
    Form - Item Is Not Selectable
    3031
    Form - Bad Value
    3033
    Form - Item Not Found
    4007
    Grid - Invalid
    4008
    Grid - Bad Size
    4009
    Grid - No Data
    4011
    Grid - Invalid Parameters
    4013
    Grid - Not Super Title
    4014
    Grid - Super Title 2 Exits
    4015
    Bad Item Unique ID
    4016
    Grid - Bad Data
    4017
    Grid - Column is Already Folded
    4018
    Grid - Column is Already Expanded
    4019
    Grid - Line Exists
    4020
    Grid - Not Enough Data
    4022
    Grid - Super Title Exists
    4027
    Grid - Row Is Not Collapsible
    8004
    Status Bar - No Such Info
    8005
    Status Bar - Info Occupied
    8006
    Status Bar - No Message Bar
    8007
    Status Bar - Progress Stopped
    8008
    Status Bar - Too Many Progress
    5001
    Graph - Invalid
    5002
    Graph - Bad Form Item
    5005
    Graph - Bad Parameters
    -7008
    Form not found
    -7000
    Invalid Form
    -7031
    Form - Reserved /Illegal form Unique ID
    -7032
    Form - Invalid Mode
    -7006
    The item is not a user defined item and cannot be manipulated in such manner
    -7005
    Invalid table name
    -7004
    XML batch load failed
    -7003
    Menu operation Add failed
    -7002
    Function not supported
    -7001
    Invalid Item
    -7034
    Could not clear item in group
    -7033
    Out of boundaries
    -7020
    This method cannot be invoked by a Cell object
    -7019
    Invalid form unique ID. Should not begin with an F_ prefix
    -7018
    Invalid Field Value
    -7017
    Invalid Field Name
    -7016
    This datasource object is not a user-defined object
    -7015
    Invalid Column
    -7014
    A Column object with the specified unique ID already exists in the system.
    -7013
    The string value entered should be less then 10 characters.
    -7012
    An Item object with the specified unique ID already exists in the system.
    -7011
    The string value entered should be less then 11 characters.
    -7010
    A form with the requested unique ID already exists in the system.
    -7009
    The string value entered should be less the 32 characters.
    -7040
    Cannot Load XML File
    -7051
    Unexpected usage of the specified XML TAG.
    -7050
    This action type is not valid or not implemented yet.
    -7043
    Cannot load the Menu resource from the specified XML file.
    -7042
    Cannot load the Item resource from the specified XML file.
    -7041
    Cannot load the Form resource from the specified XML file.
    -7071
    Failed to create the items group.
    -7070
    UID
    -7069
    Failed to change the form current pane level.
    -7068
    Failed to change the form color.
    -7067
    Failed to change the Form mode.
    -7066
    Failed to fix the form default button.
    -7065
    Failed to change the form Visible state.
    -7064
    Could not change the form title.
    -7063
    The change of form dimensions has failed
    -7062
    Unknown Form attribute
    -7061
    XML batch resource update is not supported yet.
    -7060
    Reached Max Number of user data sources.
    -7094
    Failed to add the items child objects.
    -7093
    Failed to batch add the items
    -7092
    Failed to bind the item to the data source
    -7091
    Wrong Item Attribute
    -7090
    Unknown Field Type
    -7114
    Type of Column is Not Supported.
    -7113
    Failed to add the column child objects.
    -7112
    Failed to add the new columns.
    -7111
    Failed to bind the column to a data source
    -7110
    Invalid column attributes
    -7133
    The specified menu position is not valid
    -7132
    Invalid menu type
    -7131
    Failed to add the menu object
    -7130
    The specified menu already exists.
    -7030
    Invalid Row Number
    -7029
    Operation not supported on system form.
    -7028
    Out of boundary of DB data source offset.
    -7027
    The menu item is not a user defined menu item and cannot be manipulated in such manner.
    -7026
    Menu item was not found
    -7025
    Unknown Form State
    -7024
    Failed setting form bounds
    -7023
    Invalid Target
    -7022
    Could not commit action because the item is currently in focus.
    -7021
    Operation could not be set on extended edit text item.
    -7200
    Your connection string doesn't much UI development work mode.
    -7201
    The specified connection string is not valid.

  • Web Clipping portlet causing report from SQL Query to fail

    I have a master page that contains:
    1. web clipping portlets (from external sites)
    2. customizable reports built from Portal Providers also added to the page as portlets
    Problem:
    When the web clipping portlets were added to the page, the reports now fail when submitted. When the submit/run report button is clicked a "404 Page not Found" error is returned....
    Any ideas????? Thanks in advance for anything offered!

    Below is the response to my inquiry on Metalink as to this issue and it's status:
    Hi,
    Yes there is an internal bug which discusses this issue:
    Bug 3980908 EFINE LINKS ON DEVINPLACE PORTLETS ARE WRONG IF THERE IS A WEBCLIPPING
    Please follow the workaround.

  • How to display report from SQL query string

    <p>I am a new user at this forum, my name is Muneer.</p><p>I have a doubt please help me</p><p>I am develoing an Institute Management System (Plat form VB.Net 2003), that can add participant details, course details, Account details so and so....</p><p>my problem is i have a VB.net form ,that form include combo box and flex grid.</p><p>when i select a text from combobox, data will be display in flexgrid its ok. but i want same out in Report.</p><p>when i try to make it showing all data please help me asap. how can i pass data to report.</p><p>I am using ADODB.Connection method with Access Database.</p><p>waiting ur valuable reply</p><p>Muneer</p>

    This sample passes ado data to a report.
    [http://diamond.businessobjects.com/node/2052Â | /node/2052]
    Rob Horne
    Rob's blog - http://diamond.businessobjects.com/blog/10</p>

Maybe you are looking for