Javascript on report load

Hi to all,
i have a problem with a prompt.
I need to launch a Javascript at the same time a report load.
In practice this javascript function must reset my selection
in the prompt linked to this report.
Thanks for replies.
p.s.:I hope i was clear,sorry for my bad english ;-)

I have resolved.
Thanks anyway

Similar Messages

  • Report load is slow after changing database servers

    Here is the problem:
    Crystal Reports saves the design time database connection info in the rpt.  When our application tries to run a report against a production database, the rpt takes a long time (60 sec.) to load.  After it has loaded we can change the database logon (in our code) and the report runs successfully.
    It seems like Crystal is trying to connect to the development DB server (but it cannot see it from the production environment).  If we edit the rpt and save the production database connection info in it, the report loads in less than a second. 
    We are an ISV and our application is used at over 2000 sights so it is not practical to edit each rpt at each location.  We have 737 reports and 908 subreports in our application!
    We are currently using the Visual Studio 2008 version of Crystal Reports.  This did not seem to be a problem with VB6/CR8.5.
    Is there some way to tell Crystal not to try connecting to the DB during the report.load?

    I had the same issue with Crystal Report XI R2. The issue seems to be when loading the *.rpt file. The Crystal Report API reads the *.rpt file and read all the relevant info from the report file and store it in the ReportDocument object and generates the object tree. It seem to do a database lookup for every database or table it finds in the main report and all the sub-reports and also for every SQL Expression you have in each report. Since the development database is different to the runtime database I think it waits until it times out. So more sub-reports you have the longer time it takes to load.
    You can resolve this issue by adding the design-time database name mapped to a runtime database ip. For this you need to update the host file in C:\Windows\System32\drivers\etc folder with the relevant info. By adding this there will be no name lookup.
    For example, if the report have the service ID as RACE, add the name RACE and the runtime database ip address in to the host file. Then there will be no lookup. Earlier it took 2 minutes to load the report but then the entry it took only 1 second.
    e.g.
    10.0.0.1     RACE
    Also have a look at http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/cb6d6fc9-9d57-486c-972e-33b03d4a5759
    Hope this helps.

  • Crystal Reports 2008 - Report Load error - Memory Leak Error?

    Hello
    <br>
    We have a problem with Crystal Reports 2008 with .NET 2.0.
    <br>
    CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    <br>
    The problem is that during high amount of report producing, errors in eventlog pops up and the production of reports using <br>
    Crystal Reports stops.
    <br>
    Below are examples of the three most common event logs.
    <br>
    We have tried to implement a cleanup method both as a destructor (with a global ReportDocument rdoc variable) and using direct call to cleanUpDoc() method when finished with loading doc:
    <br>
    ~IOServerClass()
    <br>
    <br>
                cleanupDoc();
    <br>
    <br>
    <br>
            private void cleanupDoc()
    <br>
    <br>
                try
    <br>
    <br>
                    if (rdoc != null)
    <br>
    <br>
                        rdoc.Close();
    <br>
                        rdoc.Dispose();
    <br>
                        rdoc = null;
    <br>
    <br>
                    this.CleanGlobalEvents();
    <br>
                    System.GC.Collect();
    <br>
    <br>
    <br>
    <br>
    The doc is loading using the "normal" method (in-process).
    <br>
    <br>
    try
    <br>
    <br>
                        rdoc = new ReportDocument();
    <br>
                        rdoc.Load(fullpathandreport); 
    <br>
    <br>
                   catch (Exception ex)
    <br>
    <br>
                    cleanupDoc();
    <br>
    <br>
    ...process doc....
    <br>
    cleanupDoc();
    <br>
    <br>
    Furthermore we have tried during Scalable tests of the system - but cannot produce the below errors ourselves. Only the customer can.
    <br>
    Please help with solving this problem.
    Is the above advisable to do?
    Should the document be loaded in another way?
    Is it a memory leak?
    <br>
    Regards
    Kristian
    <br>
    <br>
    event logs:
    <br>
    <br>
    #1
    <br>
    <br>
    Event Type:     Error
    Event Category:     None
    Event ID:     1102
    Date:          12-02-2010
    Time:          10:22:05
    User:          N/A
    Description:
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at xxx.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:Analysis Server
    InnerMes:
    Error in File 321 {19463E3B-D404-45EB-88AE-5722A7FF9E90}.rpt:
    The request could not be submitted for background processing.
    InnerStack:
       at
    CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    <br>
    <br>
    #2
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Creating an instance of the COM
    component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} from the IClassFactory failed
    due to the following error: 8007000e.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep, Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 289
    <br>
    #3
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\reports\340.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008
    \Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:CrystalDecisions.ReportAppServer.ClientDoc
    InnerMes:
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    InnerStack:
    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    Edited by: kristians on Feb 16, 2010 2:57 PM

    Hi;
    First, ensure you have the latest service pack / hot fix for your version of Crystal Reports, and that the client has the same updates as well. Fix Pack 2.4 is the current latest, and can be downloaded from our downloads section.
    One of the errors is the Background Processing error, so have a look at the following article:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33&overridelayout=true
    Regards,
    Jonathan
    Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup

  • Using Adobe Acrobat - Is it possible to execute JavaScript to report to LMS to track pdf was viewed?

    Question:  Using Adobe Acrobat - Is it possible to execute JavaScript to report to LMS to track pdf was viewed?
    What I would like to do is to create a pdf with an Acknowledgement button that when click will report (via JavaScript) to the LMS (Learning Management System) that the end user viewed/acknowledged the pdf.
    Can this be down with JavaScript in this fashion?

    Thanks, (My fault, as I should have specified this.) Due to legacy reasons I need to use ie, and so I can't use the PrintPdf firefox plugin. So from reading the rest of that thread, the best method does seem to be to get hold of a copy of acrobat, and add a Print() script in each file, and open it in a new tab.
    At least it gives me somethigin to try anyway :-)

  • Better user experience for slow reports (loading in background, progressbar

    Hi
    In our application, some reports take a long time till they are displayed. Therefore it would be nice, if i could provide the user with some feedback (example: progressbar). Is it possible to have this? Upon print, when a pdf file is being constructed (in web) we already have such functionality in place, is it possible to have it generally?
    Mayb,e it would also be possible to have the report load the first page quickly, so the user has already something to look at, and load all the other needed data in a background thread. (i dont think it is possible, however, somebody may have an idea)
    Does anybody have an idea how we could achieve a better user experience for our reports. Any help is appreciated. Thanks.
    Greetings
    I am using:
    Crystal Reports 2008 (in Asp.net, Windows Forms)
    Version .NET 3.5 (SP1)
    PS: of course a very fast report would be the finest solution. However, i guess this will not be possible with our reports and the volume of data they access

    Hi Daniel,
    Crystal Report 2008 we have a inbuilt functionality of progress bar .If you are not getting progress bar for every report that means those reports are not taking to much time.
    For more info regarding progressbar  this check this link:
    [https://boc.sdn.sap.com/node/8035]
    Look for processingIndicatorDelay and processingIndicatorText.
    If you want to improve performance of report then we need to keep in mind few thing while creating report in Crystal report designer:
    Here are a few points related to performance issue .
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of records returned
    ( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated?
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
    in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
    SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
    records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
    factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
    of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
    SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Hope this helps!!
    Regards,
    Shweta

  • Javascript in report column headings?

    Hello,
    I'm wondering if it's possible to be able to use Javascript in report column headings, so that when the user hovers the mouse over the column heading name in the report, a pop-up appears with an explanation of what that column is. Usually I use Javascript on page items, but in this case, the column headings aren't page items, they are derived from the SELECT statement that makes the report. Is this possible using Javascript? Or, is there something I'm not aware of that Apex can do, such as the "Optional Label with Help" but for column heading names?
    Thank you,
    Laura

    Hello Laura,
    Each report column headings has an ID equal to the column name/alias as it appears in your select statement. You can use this ID to directly access the column header DOM node, just as you are doing with a page item.
    In your case, you can use the ‘title’ attribute to get what you want. If your column ID is ‘COL1’, you can use something like this in the footer of your report region:
    $x(‘COL1’).title = ‘Help Text’;Of course, having an ID allows you to use any JavaScript code you need.
    Hope this helps,
    Arie.

  • Report Load Failed

    Post Author: jigmewangchuk
    CA Forum: Crystal Reports
    I am totally new to ASP.NET and I have developed a web application in VS2005 (VB) and Crystal report 10.  I am getting an error u201CReport Load Failedu201D when I run report from main page linked to report viewer page (url) but it works fine when I run report viewer page directly (view in browser from VS2005.   Here is my code:
    Dim oRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    oRpt.Load("F:\BDFCL\CrystalReport11.rpt")
    Dim ds As New DataSet1
    Dim da As New DataSet1TableAdapters.BranchInformationTableAdapter
    da.Fill(ds.BranchInformation)
    oRpt.SetDataSource(ds)
    CrystalReportViewer1.ReportSource = oRpt
    I shall be grateful if you could kindly advice me accordingly.
    Thanks in advance
    Jigme

    Hi Don,
    Thanks for the reply.  I had downloaded a set of samples from SAP and I have looked through a few of the set you supplied.  I am worried that I'm going to have some trouble because the samples have the reports loaded as part of the solution but I was looking to create a more generic viewer.  I don't want to have to reprogram for each and every report that is created.  That is why I was trying to use the generic parameter dialog.  After the Report Load Failed dialog comes up, it does bring up the parm dialog and hits SQL Server just fine.  Yes...the reports are passing Parms to Stored Procs in SQL Server.  The report has default parameter values. 
    What I am trying to do is search thru the application folder and gather the names of the reports located there and fill the combo box with the names of the reports.  Then the user should just be able to select a report and run it.  I can't save the data in the reports because they must be ran per the requester's date range and other desired parameters.
    Does this seem valid or am I going to have to program for EVERY single report and reprogram/recompile for every report added?  Not particularly what I want to hear.   I would have used the standard Crystal Report Viewer and had the users use that but it doesn't seem to allow you refresh the data from the viewer.
    Thanks for your help,
    Chris

  • Report.Load Error with ASP application

    Hi,
    I experienced a few instances where my the follow statement where my ASP application (using VS2005, CRXI-R2+SP4, Datasets and CR Viewer on the server) thows an error on my server (running Server 2003).
            Dim Report As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
                New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            Try
                Report.Load(Server.MapPath("~/Private/Event/WebEvent.rpt"))
            Catch ex As Exception
                JavaMessage("Report Not Found")
                Exit Sub
            End Try
    I don't know what the exception is at this point. But something happens and the crystal reports in all my websites break uniformly. I need to restart IIS to get things back working. This has happended to me 3x now.
    Any ideas?
    Thanks,
    Eric

    Hi,
    As a best practice use Close() and Dispose() method also gc.Collect();
    Check if this helps!!
    Amit

  • Report Load Error

    After running 30-40 Crystal Reports we get a 'Report Load' error on the .Load() command. At this point we cannot run any of our 8 reports created with Crystal Reports. To resolve the issue we restart IIS and then the reports load and run without problem.
    Recently we upgraded our project from .NET 1.1x, VS2003, CR 9.X  to  .NET 2.0, VS2005, CR 10.2. This intranet web site runs under IIS 6 on WS 2003. Prior to the upgrade we did not see this behavior.
    To create the report we send Crystal Rerports a dataset and then output the report to a PDF. Any ideas on how we can resolve this issue?
    Here is sample code for producing our reports:
    <code>
                       Dim amortReportDocument As ReportDocument
                       Dim reportPath As String = Server.MapPath("./amort.rpt")
                        amortReportDocument = New ReportDocument
                        amortReportDocument.Load(reportPath)
                        amortReportDocument.SetDataSource(ds1)
                        Dim myExportOptions As CrystalDecisions.Shared.ExportOptions
                        Dim myDiskFileDestinationOptions As                                                                           CrystalDecisions.Shared.DiskFileDestinationOptions
                        Dim myExportFile As String = FilePath & FileStamp & ".pdf"
                        myDiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions
                        myDiskFileDestinationOptions.DiskFileName = myExportFile
                        myExportOptions = amortReportDocument.ExportOptions                    myExportOptions.DestinationOptions = myDiskFileDestinationOptions
                        myExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
                        myExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
                        amortReportDocument.Export()
                        Response.ClearContent()
                        Response.ClearHeaders()
                        Response.ContentType = "application/pdf"
                        Response.WriteFile(myExportFile)
                        Response.Flush()
                        Response.Close()
                        Response.End()
                        amortReportDocument.Close()
                        amortReportDocument.Dispose()
    We added the following to the page unload event:
        Private Sub page_unload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
            GC.Collect()
        End Sub
    </code>

    Ok lets try this:
    Right click on the temp folder (where the .rpt filed are getting created at runtime) -> properties.
    go to Security tab.
    click on Add.
    enter (with out "") "IIS_WPG" in Object name window.
    Click on Locations.
    Select the machine name in the tree.
    Ok.
    Click on "Check names".
    OK.
    Give full control to it. (For testing purpose please ignore any warning signs).
    OK.
    Also please include the ReportDocumentObject.Close(), ReportDocumentObject.Dispose() and GC.Collect() in your page_upload event.
    Does it help?
    AG.

  • Report (not Page) caching to improve report loading times

    We are trying out Cystal Reports Server 2008 as a replacement for Crystal Reports CR XI R2 for an ASP.NET Web Application. Running some tests we found that the same report loaded from the server was far slower than loading the same report locally, using the CRXI SDK.
    Being the Clone/Refresh strategy on the standalone SDK several times faster than the reportAppFactory.OpenDocument on the server platform, i think that the server is loading from scratch the report each time I execute the OpenDocument method. So what I am seraching for is, Is there a way to setup or tweak report caching on Crystal Server 2008? What I need is not page caching, but the whole report, which is used different databases each time it's executed (implying different data for each execution).
    Some insight on the problem:
    As I posted on a previous thread we are moving from CR XI due to a limit on the number of active instances suported by the SDK (74 instances). We reach this limit because of a workaround for improving report execution times, leaving instances of each report active, so the next execution just recicles the active instance, greatly reducing the overall process time. Therefor introducing Crystal Server is a setback on this module (due to it's actual performance).
    Part of the problem resides on the complexity of the report. Using the standalone SDK the report takes several seconds to load from disk, and several seconds to execute. Regretably, we are not at liberty to change the reports' structure, so optimizing it is beyond posibility for now.
    Thanks in advance,
    Gustavo

    Hello Maggie,
    >> How can I get an all-encoompassing CSV file of the main report (Page 2014)?
    This might be possible using the advanced print server configuration, with BI Publisher, using the same technique that is being used to print master-details reports (which is a type of a multi-region report) - http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html . The standard print server configuration only supports reports with a single region. If you have BIP in your organization, that’s great. Otherwise, CSV files don’t warrant it.
    The only other option, I can see, is to create the CSV file manually, using the technique described in the following Blog entry, by Scott Spendolini - http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html .
    Regards,
    Arie.

  • Reproducible error when loading many reports (Load report failed - Not enough memory for operation)

    Environment:
    Win 7 SP 1
    Visual Studio Pro 2012 Update 4
    Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
    Report created in Crystal Reports XI Release 2 (11.5.8.826)
    Targeting x86 .NET 4.0
    Scenario:
    We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
    Sample Code to illustrate the problem:
    I did this as a WinForms project since our main program is using winforms.
    References added:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
                int i = 0;
                try
                    while (true)
                        i++;
                        ReportDocument report = new ReportDocument();
                        report.Load("Blank.rpt");
                        report.Close();
                        report.Dispose();
                catch(Exception ex)
                    MessageBox.Show(i.ToString() + ex.Message);
    Exception:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
    Not enough memory for operation.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27

    int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
    I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
    I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
    The "real" code as I said does stuff in sections and in a certain order.
    For each report I need to export based on rows in a table
    1. Creates a new Report Document
    2. Loads the report document with the report
    3. Creates a dataset of the data to display
    4. Calls SetDataSource
    5. Calls Report.ExportToDisk
    6. Disposes DataSets
    7. Closes/Disposes Reports
    To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
    1. Creates a new Report Document
    2. Loads the report document with the report
    7. Closes/Disposes Reports
    At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
    So my order of operations becomes...
    1. Creates a new Report Document
    2. Loads the report document with a blank report
    7. Closes/Disposes Reports
    So you'll see this is exactly why I wrote this test the way that I did.
    I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
    There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed.

  • Javascript won't load for this one website that I frequent. This just started today. All others websites work fine. This site works fine in IE...

    Javascript won't load for this one website that I frequent. This just started today. All others websites work fine. This site works fine in IE. I've tried Safe Mode with no success. I have changed nothing since yesterday. Any help is greatly appreciated.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    * Make sure that you are using the '''"Remember History"''' setting as described in this article -> [[Options window - Privacy panel]]
    Also see these articles:
    * [[JavaScript]]
    * http://kb.mozillazine.org/JavaScript
    Check and tell if its working.

  • Presentation_Model javascripts are not loading while customizing OpenUI

    Hi All,
    I would like to know, if any one tried to customize the UI with given examples like adding google map hover, partialrefresh javascripts in Oracle documentation [Configuring Open UI.pdf]
    I tried to follow the steps given for changing "manifest_extensions.map" and "custom_manifest.xml" and added given js files in location "siebel\custom\*.js"
    But presentation_model javascripts are not loading while checking in developer tools in google chrome browser.
    Note: physical_renderer javascript was loaded. and i restarted server after modifications.
    Let me know if i'm missing any steps or settings. Thanks
    Best Regards,
    Venkat

    A same issue I have encount is:
    I write
    <KEY NAME="PartialRefreshPModel"> in Custom_manifest.xml.
    but it should be:
    <KEY Name="PartialRefreshPModel">
    You should check the case sensitive.

  • Slow report - loading the function masterReport.Load

    Hi All,
    We use the crystal report runtime 12 in a .net program,
    we have a report that takes roughly a minute to run but 55 seconds of this is caused by a bottleneck on the feature masterReport.Load,
    I am wondering if there is anyone who could explain what would cause this bottleneck and/or assist with the matter?
    Many Thanks in Advance,
    Gavin

    Gavin, you say:
    crystal report runtime 12 in a .net program, we have a report that takes roughly a minute to run but 55 seconds of this is caused by a bottleneck on the feature masterReport.Load,
    But what is the performance of the report in the designer? E.g.; the runtime will not perform any better than the designer. If the performance is better in the designer by something like 5 or 10 seconds, then  remember the total performance needs to be take into account. E.g.; load of report, db connection, view. E.g.; comparing from the time you you have logged on to the database and possibly filled out any parameters, is forgetting about the report load time, etc.
    You also do not specify the CR 2008 Service Pack you are using...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • JavaScript Error while Loading

    Hi Guys,
    Anyone any helpo for this. When I start my version of
    Dreamweaver 8.0 I get the following error message:
    'javaScript error while loading LocalVariable.html:
    At line 31 of file "C:\Program Files\Macromedia\Dreamweaver
    8\Configuration\ServerBehaviors\ASP_Vbs\LocalVariable.html:"
    Type error dw.getDocumentDOM() has no properties
    I am using a trial version of DW8 on Vista Home Premium
    Many thanks

    Hi Guys,
    To advise, foundf the problem, it was a server extension I
    had added, removed it and solved the problem.
    Thanks

Maybe you are looking for

  • External hard drive won't mount, even after disk repair.

    My Toshiba external hard drive won't mount on my MacBook Pro 10.8.5. I can see it in my disk repair, and when I repair, "the partition map appears to be ok." But I can't access the icon to be able to open the hard drive contents on my desktop. Help!

  • Firefox goes to URL other than the one in the hyperlink.

    When clicking on a hyperlink on a web page (Even "Go To Top" hyperlinks.) Firefox redirects window to an unrelated website. The only way to get to intended location is right click mouse and select "Open in new window" choice.

  • Inventory SnapShot Cube and Daily Load Cube

    Our requirement from the snapshot cube is to provide queries which show end of month balances similar to as what is shown if I run queries from the Standard daily cube (0IC_C03).  The scenario is as follows: Query requirements are to show ending bala

  • Mapping onto Solaris 10 projects in an MP configuration

    I have the scenario where we have a Tuxedo 8.1 MP application running on 3 nodes in a virtual environment. The challenge is to map the user to a Solaris 1o "project" with sufficient kernel parameters. This is not an issue on the master node as we can

  • Why does the charge indicator never go away in iOS 7???

    I think it is a HORRIBLE design in iOS 7! The charging icon NEVER goes out, even if your phone is completely charged!