Unable to refresh the data on a cached report.

Hi,
I am using the CR4E component on a Tomcat server.
I am having real difficulty to getting a cached report to refresh. Basically when the report is first displayed it is okay, then some further data is added to the database, and when the report is redisplayed (with the same parameters) it is still displaying the cached information. This is specific for the subreports. I basically always want my reports to refresh when they are displayed.
I know this must be simple but I just can't get to work, or find any example code.
I have tried a couple of options:
Option 1:
clientDoc.open(rptName, OpenReportOptions._openAsReadOnly+OpenReportOptions._refreshRepositoryObjects);
This said it could not be implemented before loging in....and the documentation says this only work for the RAS.
Option 2:
     CrystalReportViewer reportViewer = null;
     try {
          HttpSession session = request.getSession();
          reportViewer = PrepareSignetManifestReport(aryCrates, dateFrom, dateTo, dateSent, session, serContext, false);
          //if (session.getAttribute("refreshed") == null) {
               reportViewer.refresh();
               //session.setAttribute("refreshed", "true");
          reportViewer.processHttpRequest(request,response,serContext,out);
     finally
          if (reportViewer != null) {
               reportViewer.dispose();
When I add the 'reportViewer.refresh()' i then get the following error:
"Some parameters are missing values "
Any pointer in the right direction would be gratefully received.
Thanks
Matt.

Hi,
On looking into this issue it is just the sub-report that does not refresh when loaded from the session. The main report is okay. We are using JDBC with Oracle 10g.
Even if I change the parameters the main report refreshes okay, but the subreport doesn't.
Is there a work-around for this problem?
My code is pretty much based on the standard code generated by the system in the CRJavaHelper class so I am confident that my code is okay.
I really appreciate some help here as I have a client not trusting their continuity because it doesn't display in the report and I don't want to have to close the report each time because of the performance. I have tried reseting the parameter fields
Thanks
Matt.

Similar Messages

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

  • Problem in refreshing the data in OBIEE answers?

    Hi,
    My report doesn't show the latest data in the database. I tried restarting my BI server and Presentation server also. But it is still showing the old data only. But in Admin tool im able to view the latest data. What could be the reason for this? Wont the refresh button given at the bottom of the report refresh the data?
    Thanks,
    Karthick

    Hi,
    If you want to use the cache and you have a regular load of data into your source for OBIEE, then you just need to ensure that the cache is cleared after your load. There is an ODBC command which will clear it:
    Call SAPurgeAllCache();
    You can put this in a sql file and then call it from a .cmd file:
    nqcmd -d "AnalyticsWeb" -u Administrator -p <password> -s D:\OracleBI\server\Scripts\Common\purge_cache.sql -o D:\OracleBI\server\Scripts\Common\purge_cache.out
    When you run this .cmd file it will clear the cache, this could then be caled from another tool, i.e. an Informatica workflow. All above is based on using a windows machine to connect and run the command.
    If your data is changing all the time and you just don't want caching on then just turn it off in nqsconfig.ini, change:
    ENABLE     =     YES;
    To
    ENABLE     =     No;
    in the cache section.
    Regards,
    Matt

  • Refreshing the Data Source View in Analysis Services

    I have added columns to the SQL Database table that is used as a dimension in an Analysis Services Cube.  The new columns will be used as additional Property Fields for the dimension.  When I attempted to refresh the Data Source view so that the additional columns are present, I am given the following error:
    System.Data
    Property not accessible because 'Parent Columns and Child Columns don't have type-matching columns'
    I have done nothing to the columns used for the parent of child and the error message provides nothing to gon on. Does anyone have any ideas on this?
    Gary

    Olga,
    Thanks for your response.  I will try and answer your questions
    1) I have not tried removing the columns yet.  I will try that this afternoon but have limited hope.  The two columns I added are simple text columns that will be used as attributes in the dimension.  I have made no change to the parent or child columns.
    2) The table I modified is the source table for a parent-child dimension.
    3) The reference to the "check list" does not take me to any kind of check list.
    4) The parent-child dimensions I am trying to modify have been in use for months and the parent and child columns do have the dame data types.
    5) I have also check the data types between the dimension table and the fact table.  they use the same data types (small int).
    6) I have not made a collection for the parent key, it is a single column. The remainder of your last paragraph is not clear to me. Can you give me an example.
    I am fairly inexperienced with Analysis Services, please talk slow and use small words  :-)
    Thanks again for your help!
    Gary

  • How to refresh the data in published HTML?

    Hi All,
    I have created a Process Engineering diagram, whcih represents flow of material from Equipment to another equipment.
    I have binded the diagram to data from the data base and saved/published as HTML to view it in browser. So far it is fine.
    But the next step is: What happens when the data changes in the data base? The generated HTML became just a static diagram which is of not much use. If i want to refresh the data, then I need to publish again !!
    Is there a way to make service calls from HTML and update the data dynamically in HTML display?
    Note: I am using VISIO 2013 Professional edition
    Venkat

    Hi,
    If we had saved/published Visiso drawing as HTML file, we could not refresh the data source to control the HTML data directly. We need to re-publish, I think you do not want to do it.
    Thus, I recommend you use JavaScript or coding to invoke and refresh the background database when you modified it.
    The following artile may also help you:
    http://www.mathworks.com/help/matlab/ref/refreshdata.html
    If you have any question related to Programming/Code, post in HTML forums for further assistance.
    Regards,
    George Zhao
    TechNet Community Support

  • Problem in refreshing the data in Xcelsius

    Hi,
    I have added a refresh button in my dashboard  to refresh the data from the BOE , but ones i click that button it ask for user authentication and ones i enter that and click ok nothing happens , the data is not getting refreshed.
    In second case i made my data connection as refresh on load  so as soon i launch my dashboard it ask for user authentication and after entering that details nothing happens and i am not able to see the data and even if i enter wrong details in the pop up window it does not gives any error message for wrong credentials.
    Earlier i was getting the error like #2032 , #2017 so i maintained the crossdomail.xml file in web server it was resolved.
    But i am not able to refresh the data nor i am getting any error message kindly suggest !!
    Regards,
    Mishra,Vibhav

    Dear Ingo,
    Thanks for replying.
    Step 1 : I have used a excel sheet using the live office connection and using the existing CR report from the BOE.
    Step 2 : Then i have published that excel sheet in BOE
    Step 3 : I have imported that spreadsheet in the Xcelsius and created a dashboard on top of that.
    Step 4 : I have added a refresh button on the dashboard which is used to refresh the live office connection and the session URL   that i have maintained is  http://XXXC043A:8080/dswsbobje/services/session . i am not using the refresh on load option.
    Step 4 : When i preview the dashboard with the preview button  available in the Xcelsius i can see the dashboard with the existing data but ones i click the Connection refresh button a user authentication window pop up which ask for the system name user id and pwd and Authentication type . I used the Enterprise authentication for that but ones i submit the credential nothing happens even if i enter the wrong information no error  message is prompted.
    Thanks in advance .
    Regards,
    Mishra,Vibhav

  • Unable to change the data in PSA

    Hello All,
    I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
    Could you please let me know how will i see all columns from PSA. Thanks
    Regards,Ashok

    Hi Ashok,
    To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
    Also if you want to see say all the failed records you can sort the order of the data using the Status column

  • Unable to send the data entered in sap portal

    Hi
    All
    i am trying to configure and test  Leave Request  from portal. When, we create the leave request and submit for the first time, it is giving the error/message Unable to send the data entered However, if do a submit for the second time, the same leave request, it sends the leave request.
    Please share your valuable thoughts or solutions.Thanks in advance.
    Tanks
    Rafi Shaik

    Hi Rafi,
    We are also facing similar kind of issue.
    When i select type of leave as annual it is giving an error message as
    " Parameter  missing in call of method BUILD_ACTOR_SELECT_CLAUSE in class CA_PT_REQ_ACTOR "
    But when i select some other leave type and click review it is working fine, again if i click on previous step and change the leave type to annual it is working fine without giving any error message.
    Please let us know how you have solved your issue?
    Thanks.
    -Suresh

  • The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.

     We developed a SSIS Package to pull the data From Oracle source to Sql Server 2012. Here we used ADO.Net source to pull the records from Source but getting the below error after pulling some 40K records.
      [ADO NET Source [2]] Error: The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. 
     The PrimeOutput method on ADO NET Source returned error code 0xC02090F5. 
     The component returned a failure code when the pipeline engine called PrimeOutput(). 
    The meaning of the failure code is defined by the component, 
    but the error is fatal and the pipeline stopped executing. 
     There may be error messages posted before this with more 
    information about the failure.
    Anything that we can do to fix this?

    Hi,
      Tried both....
      * Having schema type as Nvarchar(max). - Getting the same error.
      * Instead of ADO.Net Source used OLEDB Source with driver as " Oracle Provide for OLE DB" Getting error as below.
           [OLE DB Source [478]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
           [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC0202009.  The component returned a failure
    code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the
    failure.
    Additional Info:
       * Here the Source task is getting failed not the conversion or destination task.
    Thanks,
    Loganathan A.

  • Unable to get the data when capture the BOL object infomation.

    Hello All.
    I created a Z component.
    In that component I created one View.
    In that view i have the context node with BOL object  -  BTAdminH
    In configuration also i am selecting the fields.
    But I am unable to capture the data.
    In that i write like
    data: lr_ent type ref to CL_CRM_BOL_ENTITY.
    lr_ent ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
    I write this code in the EDIT button event.
    But lr_ent is not capture any value.
    BTADMINH is there in the CTXT class.
    In debugging GET_CURRENT( ) method
    me->collection_ref->collection
    is not having any value.
    I do not know why it is not having any value.
    When I am using value node it is working fine.
    But when i am using BOL object at that time only it is not getting any value.
    Can anybody give me suggision to solve this problem.
    In stadard it is working fine.
    How it is working in Stadard i did not understand.
    Why it is not working in Z component.
    How we can use BOL objets in Z components.
    Please give me some solution.
    Regards,
    B. Krishna.

    Hi krishna
    Is this a Z component to be used within a  standard component?
    ->then you need to create a usage definition to this component from standard
    ->expose btadminh as public context through component controller
    ->create binding to the standard btadminh through the usage initialize method
    then it should be okay
    If the Z component is standalone , then create Root object BTorder and BTAdminH node should having a hierarchial relationship to this. Initialize BTOrder through cl_crm_bol_core methods.

  • Unable to load the data into Cube Using DTP in the quality system

    Hi,
    I am unable to load the data from PSA to Cube using DTP in the quality system for the first time
    I am getting the error like" Data package processing terminated" and "Source TRCS 2LIS_17_NOTIF is not allowed".
    Please suggest .
    Thanks,
    Satyaprasad

    Hi,
    Some Infoobjects are missing while collecting the transport.
    I collected those objects and transported ,now its working fine.
    Many Thanks to all
    Regards,
    Satyaprasad

  • BOFC Unable to start the data source

    Hi there,
    i've done a standalone install using SQL 2008 R2 express. But i'm unable to start the data source and get this error:
    Failed to start data source
    Failed to start server instances on machine DELL1.
    Failed to initialize server configured on machine DELL1.
    Class not registered
    Thanks,
    Anees

    Ok, problem solved.
    I had to create a seperate DCOM user and assign it to the following roles in windows:
    log on as a batch job
    log on as a service
    then assign this DCOM user to the Ctbroker and CTserver. As i'm not running this on a domain, there was no need to use 'packet level authentication'. So i set the authentication level to none.
    There was no need to use the web based admin interface. Ctadmin.msc worked perfectly.
    Thanks,
    Anees

  • Unable to change the data source of SAP system

    Dear all,
    We have install SAP netweaver EHP1 standalone java on oracle 10.2.0.5 on windows 2008 R2.
    while installation i have given the central SLD system as solman,
    By mistake i have deleted the system from SMSY.. now when i createed the system manually i am unable to change the data resource as SLD due to this i can start my SMD configuration
    Request please let me know how to resolve this issue.
    Thanks
    Paresh

    Hi Paresh,
    You can proceed with deleting your SAP system from SMSY (along with connected technical content such as AS Java definition) and the run the LANDSCAPE FETCH through transaction SMSY_SETUP to have the correct definition of your SAP system in SMSY.
    Following this, you could use the addon Landscape Verification (a new thing I learnt today!!!)  to check the correctness of transaction SMSY. The following link details the Landscape verification 1.0 for SolMan:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e093b3ce-c034-2d10-01bc-b51f1691d3da?quicklink=index&overridelayout=true
    Hope this helps sort out your issue.

  • Unable to find the data source in r/3  ECC 6.0 -  ( 0FI_GL_10 ) in RSA5

    Hi guys,
    I am unable to find the data source(0FI_GL_10) in RSA5.
    Presently I am using BI7.0 version with R/3 ECC 6.0.
    BI Patch level - 16.
    BI content Patch level - 8
    Thanks,
    Gupta

    Hi,
    Try Installing Application Component Hierarchies 
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/c30a0e9c44204eb596c6353c827d2e/frameset.htm
    Use RSA9 for this.
    Hope this helps.
    Thanks,
    JituK

  • Excel 2013 PowerPivot Error - "PowerPivot is unable to load the Data Model"

    I'm attempting to use the PowerPivot add-on in Excel.  When clicking 'Manage Data Model' or attempting to 'Load to data model,' I receive the error 'We couldn't load the Data Model.  This may be because the Data Model in this workbook is damaged.',
    followed by 'PowerPivot is unable to load the Data Model.'  This happens irrespective of data source type.  I have Excel 2013 32-bit, PowerPivot 32-bit, running on Windows 7 OS 64-bit.  I am not running an SSAS instance on my machine. 
    Any suggestions?

    Hi
    Have you ever tried to repair your office?
    Also we may refer to the following blog :
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/11/12/powerpivot-for-excel-2013-errors-after-october-update-kb-2825655.aspx
    This issue seems to be caused by the October 2013 update (KB 2825655) for Excel 2013. Try to remove it or restore the system to an earlier point and check the result.
    Regards
    Tylor Wang
    TechNet Community Support

Maybe you are looking for

  • Address Book - Problems after installing Snow Leopard

    My Address Book now seems 'buggy'. Despite setting the 'sort by last name' in the preferences, the list will only sort by first names. Companies that were listed under the company name, now are listed as 'no name'. Anyone with similar problems or rec

  • Visual C/C++ code/Labview code for interfacing NI Hardware

    Hi,  i need Visual C/C++ code/Labview code for interfacing NI Hardware and sample project example.

  • Standby Database Switchover Question

    I have a Primary and a physical standby database. I have tested switchover and failover to a point. I can't get my client applications to navigate to the "new" primary DB after switchover or failover. I assume it may be something to do with my tnsnam

  • (MCTE) .onRollOut after .onRollOver animation has finished

    Hey, so I'm trying to build a website full of these flipping movieclips that flip when you mouse-over them, and flip back when you mouse out. Problem is, if you mouse out before the flip animation has finished, the flipped side stays up, and you have

  • Can I make Skype quit automatically when I close it?

    I'm sick of having to close it on the task bar and then confirm I don't want it running any more.I've already confirmed I wanted to log out and close the program, why is it still running? I cannot find an option to quit from the menu whilst running,