I get Assertion Failed open report with CR viewer 2.0.23

Post Author: gionnyDeep
CA Forum: General
any help?
Assertion Failed: java.lang.Throwable        at com.crystaldecisions.reports.common.j.b.a(Unknown Source)        at com.crystaldecisions.reports.common.j.b.a(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.char(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.else(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.else(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.d(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.dt(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.dD(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.int(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.for(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.int(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.for(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.int(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.case(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.b9.c(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.d(Unknown Source)        at com.crystaldecisions.reports.queryengine.b0.dt(Unknown Source)        at com.crystaldecisions.reports.reportdefinition.datainterface.l.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.j(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.i(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a7(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a9(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.char(Unknown Source)        at com.crystaldecisions.reports.dataengine.n.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.Z(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.<init>(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.<init>(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.<init>(Unknown Source)        at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.<init>(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.if(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.d.k.<init>(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.d.o.<init>(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.d.o.a(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.g.if(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.g.do(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)        at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)        at com.businessobjects.crystalreports.viewer.core.aw.a(Unknown Source)        at com.businessobjects.crystalreports.viewer.core.aw.run(Unknown Source)        at java.lang.Thread.run(Thread.java:619)

Sorry, but you have to define "viewer just crashed". To different people this means different things; error, viewer never shows up, application terminates, etc., etc., etc....
If the issue is only 10% of computers then it is not
Re. "...could be caused by:"
- previous installation of CR8.5 (or earlier) runtime (how to cleanup it correctly?)
possibly - see below
- OS configuration (what we need to ajust?)
probably not - as long as it's the same OS and SPs
- something missing in our code (but why it works in 90% cases?)
-no
- something wrong with CRXI runtime (but we a using latest available MSMs, and again, this works in 90% ...)
possibly see below.
I would approach the issue by running [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] and comparing the dlls loading on a computer that works and one that "crashes"...
Your second utility is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] but ProcMon creates large and difficult to read files.
Oh, and get the powers that be to start to consider moving away from this legacy "stuff". Like I said, PE APIs have been gone since version 9 of CR and RDC has been retired in CR XI R2 (11.5). Neither product is supported anymore.
- Ludek

Similar Messages

  • Database logon failed when opening report with parameter values in CrystalReportViewer

    Hi,
    I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
    I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
    I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
    to true and try to open the report A again, it shows database connection data which was created on report.
    In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
    in testing site but it connect to development database when clicking items in group tree panel
    All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
    How to ensure the report always connect database using login data dynamically at runtime?
    Below is my code about database connection:
    string strServerName = null;
    string strDatabaseName = null;
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strFilePath);
    ConnectionInfo connInfo = new ConnectionInfo();
    TableLogOnInfo logonInfo;
    for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
    logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
    ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
    logonInfo.ConnectionInfo.ServerName = strServerName; 
    logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
    logonInfo.ConnectionInfo.IntegratedSecurity = true;
    rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
    rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
    crvViewer.ReportSource = rptDoc;
    crvViewer.DataBind();
    Development environment:
    - SAP Crystal Reports 2013 Support Pack 1
    - Visual Studio Professional 2012
    - .NET Framework 3.5
    - DDL
    CrystalDecisions.Shared (v 13.0.8.1216)
    CrystalDecisions.Web (v 13.0.8.1216)
    CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
    Database connection in crystal report:
    - Database Type: OLEDB (ADO)
    - Provider: SQLOLEDB
    - Integrated Security: True
    Thanks and Regards,
    Tony

    Hi Tonylck
    Try  to pass login info to crystal report dynamically as follows:
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace WindowsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    ReportDocument cryRpt = new ReportDocument();
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    Tables CrTables ;
    cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
    crConnectionInfo.ServerName = "YOUR SERVER NAME";
    crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
    crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
    crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
    CrTables = cryRpt.Database.Tables ;
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
    crtableLogoninfo = CrTable.LogOnInfo;
    crtableLogoninfo.ConnectionInfo = crConnectionInfo;
    CrTable.ApplyLogOnInfo(crtableLogoninfo);
    crystalReportViewer1.ReportSource = cryRpt;
    crystalReportViewer1.Refresh();
    Ref
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
    Mark as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • Assertion Failed editting list with taxonomy field

    I have lists with a taxonomy column in them. when editing the list, jsgrid looks to be throwing an assertion failed. Digging into the call stack, it is calling GetDisplayControl, the assert is "Sys.Debug.assert(displayControlName in displayControlsSingletonMap);
    Rolling back a bit, the order of calls on the call stack
    Sys$_Debug$fail
    Sys$_Debug$assert
    GetDisplayControl
    RegisterPropType
    RegisterNewCustomPropType
    SP_UI_Taxonomy_ControlRegistration$RegisterGridControls
    Init
    The displaycontrolName at the point of the assertion error is "" so it defininately isn't in displayControlsSingletonMap, which is why the assert is happening.
    Anyone have any solutions?

    Hi SP Yogi. No fix for it, no. I had opened a support ticket with Microsoft to deal with the issue, but we never could get together at the same time to work on it. I did provide complete log files to them, but that's as far as it went. My company then decided
    to go with SP2010 environment instead of SP2013, so became a moot point for us and I figured someone else would start screaming.
    If anyone else raises it with Microsoft, you could have them look at
    case # 113041510367364, which is the ticket I created for raising the issue. Might speed things along, help discount environment issues, etc.
    Good luck and please report back any progress!

  • Open report with "Save as" and "Open with" dialogue

    Hi,
    I'm using jasper reports within my application. I manage to open them in a new window but in that case the url containing JasperServer username and password is shown. I would like to open the report without showing the url.
    I tryed using a database procedure (http://sqlcur.blogspot.com/2009/02/jasperreports-in-apex.html) but all I get is a alert window saying "file does not begin with ' pdf-'". Couldn't see what is the problem (I used the same procedure as Ino has in his example) so I thought of another way. Is it possible, when someone clicks a button to open a report, to open that report with a "Save as" and "Open with" pop up window?
    The javascript function that I use:
    <script language="JavaScript" type="text/javascript">
    function openLAPopUpJasper(url){
    w = open(url,"winLov","toolbar=false,menubar=false,location=false,resizable=yes, //scrollbars=yes,status=yes,fullscreen=true");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    Thanks in advance!
    Edited by: Josip on Oct 29, 2009 2:55 AM

    Anyone?

  • CR XI R1: viewer can't open report with UFL from COM dll

    Hello all!
    I faced the following problem: report which is uses functions from COM dll doesn't works on customer's pc. CRViewer throws exception when calling ViewReport() method. GetLastError() gives just 0 ...
    All other reports without functions from COM DLL are working on that PC however. Moreover, reports which uses function from non-COM DLL are also working.
    Versions & environment:
    - Report file is designed in CR11, CR Developer; Product type: Full, Product Version: 11.0.0.895
    - Runtime files on customers pc installed by .msi created from merge modules for Crystal Reports XI RDC Deployments (latest available SP4 for CR XI R1: [crxi_rdc_merge_modules.zip|http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/crXI_rdc_merge_modules.zip], as listed on [this|http://resources.businessobjects.com/support/additional_downloads/runtime.asp] page)
    - target OS: WindowsXP SP3, all updates are installed
    - i'm using COM crviewer, but there are some points in application where report is opened using CRPE api - it is also crashing on reports with custom functions from COM DLL
    - UFL DLL is registered and loaded correctly (investigated by debug output), looks like crash occured during attemt to call function
    - just for test I tried to install CR Developer on customers PC: it successfully opens all "problem" reports, but the viewer in application still crashing ...
    I would appreciate any tips / suggestions. Please also let me know if I need to specify versions of other products / components.
    Thx,
    Andrew

    Sorry, but you have to define "viewer just crashed". To different people this means different things; error, viewer never shows up, application terminates, etc., etc., etc....
    If the issue is only 10% of computers then it is not
    Re. "...could be caused by:"
    - previous installation of CR8.5 (or earlier) runtime (how to cleanup it correctly?)
    possibly - see below
    - OS configuration (what we need to ajust?)
    probably not - as long as it's the same OS and SPs
    - something missing in our code (but why it works in 90% cases?)
    -no
    - something wrong with CRXI runtime (but we a using latest available MSMs, and again, this works in 90% ...)
    possibly see below.
    I would approach the issue by running [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] and comparing the dlls loading on a computer that works and one that "crashes"...
    Your second utility is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] but ProcMon creates large and difficult to read files.
    Oh, and get the powers that be to start to consider moving away from this legacy "stuff". Like I said, PE APIs have been gone since version 9 of CR and RDC has been retired in CR XI R2 (11.5). Neither product is supported anymore.
    - Ludek

  • Crystal 2008 Hangs When Opening Report With Geographic Map

    Greetings - CR just hangs when I open a report that has an existing geographic map or if I create a new report with a geographic map.  I've uninstalled and reinstalled, and made sure the updates were applied.  Searched the forums but haven't found anything to help.
    Any suggestions?
    Thank you.

    Hi Doug,
    Usual next steps, What OS are you using and did you install CR with local Administrator rights?
    Are you on a domain where your IT department have modified your profile, you may be in the Admin group but they can alter the default settings. Check to confirm.
    Try Service Pack 2 from the download page, although I have not heard of anyone else having this specific problem.
    Check the System and application Event logs to see if anything failed, permissions, access etc.
    Is there anyone else in your company having the same problem? You could try downloading Process Monitor from www.sysinternals.com and filter on crw32.exe and watch when you try to access the maps.
    Thank you
    Don

  • Getting Assertion Failed Message..(Experts urjent help plz)

    Hi all
    We are migrating 4.5 forms to 10g.
    In one of the 10g converted form, i have a push button calling another form which is not available.(i dont have any other code, just a call_form)
    say,
    call_form('abcd.fmx');
    when i run the form and click the push button once, am getting the error message "cannot read form abcd.fmx", but if i click the button again am getting the following error and the form hangs.
    Microsoft Visual c++ Runtime Library
    Assertion failed.
    Program c:\devsuitehome\bin\ifweb90.exe
    File: E:\f9iw32\src\ix\ixfs.c
    Line:67
    ..and some other info.
    Guys..its very urjent, am unable to proceed now. plz throw some light on it.
    Thnx in advance.
    Sriram

    Hi thanx for the reply,
    Am running the form standalone in my windows desktop.
    I have also tried the form name without .fmx extension and still am getting the same error.
    Actually i have narrowed down the issue now.
    Issue:
    If i have a call_form in 2nd window(i.e not in first window) then if i click that call_form button twice, i will get the error that i told above.
    My form version is:
    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    My test form has canvas1 and canvas2 assigned to window1 and window2 respectively.
    I have a block with one textitem and one button having code call_form('xyz.fmx');
    textitem is in canvas1 and button in cavas2.Now when i run the form, i will get canvas1 with text item displayed, if i click tab, i will go to the next canvas where i have call_form button.Now i press button once, i get error message"cannot read..", now i press it again and i get the "Assertion Failed...."
    I hope it is clear.
    Thanx again
    Sriram

  • Unable to open reports with Web intelligence

    Hi there,
    We are unable to open reports using Webi Intelligence.  Error of "Session is closed(Error: INF)" apears.
    I have restarted the SIA and Apache services with no luck.
    Version : Business Objects XI3, Edge Series professional
    Kind regards,

    Try changing the idle connection timeout on your Web Intelligence Processing Server to 60 minutes (from the CMC).
    If this doesn't work, please add a trace to the Web Intelligence Processing Server (add a -trace to the command line parameters of the server). and post the log for the relevant time period.

  • Problem opening reports with a user in the Oracle Directory.

    I have already followed all the steps in the user's guide to run reports with a user in the Oracle Directory.
    I accessed the enterprise security manager and created the mandatory xml publisher roles, besides I created another role. I added user A to the new role I created.
    I accessed then the administrator tab in XML publisher. I went to roles and the role I created was there. When I tried to add a folder. I'm able to add the folder there. I click on apply and then when I enter in the security Settings again the folder is not there anymore.
    I get the following error in the log:
    [021207_103218621][][EXCEPTION] oracle.apps.xdo.servlet.resources.ResourceNotFoundException: /opt/oracle/infra2/j2ee/home/xmlpublisher
    /Admin/Security/security.xml
    When I access xml publisher with the user A, who belongs to the new role I'm working with, I'm not able to see any folder, nor anything else.
    Do you have any ideas about what could be going wrong?
    Thanks,
    Joaquin

    Can you replay how? I have been facing this problem for nearly 3 months without any solution. Please help me.
    Debarati

  • Viewing sub reports with Crystal Viewer XI

    I am getting an error message when I try to open up a Crystal Report that has sub reports included.
    "This report contains invalid subreport linking parameters."
    Any ideas on how I can save report with sub-reports so that they can be read with Crystal Reports Viewer XI  offline?

    Hi Anders
    Are you getting the error message in Crystal Report Designer or Crystal Report Viewer?
    Would suggest you to follow the below steps in Crystal Report Designer:
    -Create a fresh report,in which insert linked sub report based off your database.
    -Create a fresh report,in which insert linked sub report based off Xtreme Sample Database.
    With this we can narrow down the issue ,whether this error occurs with this particular report or all report?
    Thanks
    Asha Lund.
    Edited by: Asha Lund on Jul 31, 2008 3:32 PM

  • Cannot display Crystal Report with ActiveX Viewer

    I am using SmartViewerActivex.asp in a classic ASP website to display Crystal Reports and the report will not load. 
    I get a blank grey screen with only the toolbar showing but able to export out with data intact.
    I am  using CR9, running in Windows Server 2012 R2 IIS 8.5.
    I've already spent about 2 weeks and have not found an answer. Please HELP!

    Unfortunately, no help available. I suspect when CR 9 released in 2002, Win Server 2012 was not even a twinkle in Bill's eye. E.g.; you are looking for CR 9 to be 10+ years forward compatible. In other words, it is not supported on WIN server 2012.
    Possible option is to upgrade to CR XI R2 (v. 11.5). There you have a weak prayer and hope. With luck it may work. Note that CR XI r2 was the last version of CR to include the AcitiveX viewer. And CR XI R2 has been out of support for over 2 years now.
    Best bet: CR SDK for VS .NET or CR SDK for Java. This would mean a new app...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Grid lines get displayed while opening reports in MS Word 2003

    When generating report using rdlc, We are getting grid lines (grey color) in word document (MS Word 2003).
    When opened with MS Word 2007 the grey lines are not get appeared. It's happening only in MSWord 2003.
    Is there any solution for this problem? Please provide suggestions.

    HI Hema,
    To open new document add this line.
    *--Opening a new document
    get property of gs_word 'Documents' = gs_documents.
    call method of gs_documents 'ADD' ."= gs_document.
    Regards,
    Sravanthi

  • Getting error while opening reports in EHS on portal

    Hi,
    I have deployed EHS Business package on portal. In the Industrial hygiene and safety role there is an iview "Standard Operating procedures". I am getting error
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: /global/services/java-iviews/com.sap.pct.ehs.reports.EHSReportGet." when i try to open any report on it. Can anybody please help me in this issue?

    check the logs under httP://server:port/nwa-monitoring-logs and traces-sap logs
    you can see the detailed description of the error

  • Viewer hangs when trying to open reports with drilling

    We are currently using Discoverer version 9.04.
    The version of Viewer is 9.04.45.02
    Often when requesting a report that has drilling in it the process hangs when viewer is building the report. The only way out is to kill this process on the server.
    The reports work just fine using desktop.
    We are running against an oracle db 9i and OAS 9i.
    Anyone have any knowledge on this? This is only a problem with reports that have drilling in it.

    Hi
    As I found out today, there is a bug in the 10.1.2 Viewer code that causes drills or crosstabs to take a really long time when compared to Desktop. As this poor performance was also there in 9.0.4 I can only assume that Oracle copied the offending code from one to the other.
    Oracle tell me that they have identified the issue with 10.1.2 and are in the process of getting a patch together. They also tell me that the patch will be released in a couple of months so I guess they still have some issues to resolve.
    I have no idea at this stage whether a similar patch will be released for 9.0.4. I cannot imagine that they will not do so.
    Hope this information helps
    Regards
    Michael

  • When I try to start up LR (4.4) I get 'assertion failed'.

    I have read what is said about the problem in this forum. However the solutions mentioned do not work, the seem to be mainly for LR5.4.I have LR  4.4 / 64 bits on a PC with Windows.
    I have opened the same catalog with the same version of LR some days ago before shutting down the computer. Startup as administrator does not work. My Pictures directory is in the place it should be. (also not changed). I managed to startup another catalog and then tried to swith to my main catalog.
    That failed and since then I can not open any catalog, including various backups, so it is not the catalog that is corrupt. Ofcourse I restarted the PC several times. I can also acces my roaming data.
    Theo Molenaar the Netherlands

    Thanxs
    I think you are right. It says it cannot imort the catalog because it was closed improperly. And it says I have to de an integrity check upon opening. I do not know how to do that.
    Strangely I can import the other catalog LR could not open and also the backups that I could not open.. However I have done some work since the last backup. So how do I do an integrity check on opening?

Maybe you are looking for