How to set printersettings for the crystal report viewer in SAP BI dynamically

Hello
I have set the URL method for my crystal report and with parameter passing as shown below, it was displaying the crystal report viewer by connecting to the SAP BI 4.0 server with this method.
http://cr:port/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocName=CRLabelParam&sType=rpt&lsSnPrinted=0&lsSsTestProjectNr=1
This URL will be called from Web application by different users, i would like to set the printer settings differently for different users for this crystal report viewer how shall i need to set the printer options?
shall i need to set the printer settings programatically for each user. Please advise me how do i need to proceed.
Thanks & Regards,
Rajeswari.

There are no BI / CR APIs that would do this for you. The way I see it, you'll have to have your own print button and populate it with the correct printer information for each user as they request the report. Of course, alternatively, use the viewer printer button and get the users to choose the correct printer.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • How do you set the Crystal Report Viewer Printer to Duplex

    Using the code below I can print in duplex mode, but this does not let me view a report before printing
    How do I set the Printer in the Viewer Control Bar of the Crystal Report Viewer to Duplex Printing programmatically rather than having to manually select Duplex through the preferences option?
    I have searched but the only example code I found produces errors in the code and will not run
    Private myReport As ReportDocument
    myReport = New ReportDocument()
    myReport.PrintOptions.PaperSize = PaperSize.PaperA4
    myReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait
    myReport.PrintOptions.PrinterDuplex = PrinterDuplex. Vertical
    myReport.PrintToPrinter(3, False, 0, 0)
    In my VB6 Project that I am converting to VB.NET when I added Report.PrinterDuplex = crPRDPVertical, this allowed me to view the report and then print with Duplex without having to set the Print Preferences manualy
    I found 1386475 - How to set printer name and print job title at runtime using Report Application Server SDK for Visual Studio .NET
    But this causes errors
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.Controllers
    Dim boReportClientDocument As ISCDReportClientDocument
    Dim boPrintOutputController As PrintOutputController
    Dim boPrintReportOptions As New PrintReportOptions
    Edited by: DavidMills on Feb 18, 2011 11:58 AM

    Hi David,
    You can mix both engines, just declare them both with different report object names. Here's all of my references:
    using System;
    using System.IO;
    using System.Xml;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.ReportAppServer.CommonControls;
    using CrystalDecisions.ReportAppServer.CommLayer;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.ObjectFactory;
    using System.Data.OleDb;
    using CrystalDecisions.ReportAppServer.DataSetConversion;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportSource;
    using CrystalDecisions.Windows.Forms;
    using System.Data.SqlClient;
    using System.Runtime.InteropServices;
        public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
    My file open dialog:
            private void btnOpenReport_Click(object sender, System.EventArgs e)
                rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
                openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
                openFileDialog.FilterIndex = 1;
                 if (openFileDialog.ShowDialog() == DialogResult.OK)
                      btnOpenReport.Enabled = false;
                      btnSaveRptAs.Enabled = false;
                      object rptName = openFileDialog.FileName;
                    try
                        rpt.Load(rptName.ToString());
                        rptClientDoc = rpt.ReportClientDocument;
                    catch (Exception ex)
                        MessageBox.Show("ERROR: " + ex.Message);
                        return;
                    MessageBox.Show(rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString());
                        MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
                        btnOpenReport.Enabled = true;
                        btnSaveRptAs.Enabled = true;
                    //MessageBox.Show(rpt.RecordSelectionFormula, "my record: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    As for the page number I use it off the Engine report object:
    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    And it works for me...
    Thank you
    Don

  • How to hide the preview section in the crystal report viewer activex cntrl.

    Dear All,
    I am using the Crystal report viewer ActiveX to display the Crystal report. When the report opens in the Crystal report viewer ActiveX control, a preview section comes at the left hand side of the panel. How can I hide the preview section from the Report viewer control.Is it possible to customize the the report viewer control.  Awaiting for your suggestions.
    Thank you.
    Regards,
    Rahaneef

    Just to get the terminology correct. I believe you are meaning the Group Tree(?).
    Vb Code:
    CrystalActiveXReportViewer1.DisplayGroupTree = False.
    Also, do consult the developer help file;
    C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\rdcsdk_com_dg_doc\doc\rdcsdk_com_dg.chm
    Ludek

  • How can I download the Crystal Report Viewer XI

    We need a way for users who recieve .rpt files as email attachements distributed from BOE XI R2 to be able to view the reports and use drill-down functionality without being able to edit the report.
    I found the Crystal Reports Viewer XI R2 release notes at help.sap.com but need to know from where to download so that we can install on users' machines.  The note references CRViewerXI.exe but I need to know where to get that file?

    Thanks...  I was able to download / install....
    As a seperate issue: we're getting an error when trying to open a report generated out of boe xi r2 sp4....the report does have "save data" with report....  I send to myself via email, save the rpt but when I try to open on a machine with viewer installed....it tries and gets to the end and presents an 'unexpected error' with detail:
    any suggestions?  I put in case# 1020775
    Product Info:
    Crystal Reports Viewer 2008
    com.businessobjects.crystalreports.viewer.shell.application
    JVM Info:
    1.6.0_02-b05
    Sun Microsystems Inc.
    Java HotSpot(TM) Client VM
    System Configuration:
    win32
    x86
    en_US
    Plug-ins:
    org.eclipse.osgi version: 3.4.0.v20080605-1900
    org.eclipse.equinox.common version: 3.4.0.v20080421-2006
    org.eclipse.update.configurator version: 3.2.200.v20080417
    org.eclipse.core.runtime version: 3.4.0.v20080512
    com.businessobjects.crystalreports.designer.BOEIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.boesdk.libs version: 12.0.0
    com.businessobjects.crystalreports.boesdk version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.crdcsdk.libs version: 12.0.0
    com.businessobjects.crystalreports.crdcsdk version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk.libs version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk version: 12.2.0.r325
    com.businessobjects.GEFUtilities.cs version: 12.2.0.r325
    com.businessobjects.GEFUtilities.de version: 12.2.0.r325
    com.businessobjects.GEFUtilities.en version: 12.2.0.r325
    com.businessobjects.GEFUtilities.es version: 12.2.0.r325
    com.businessobjects.GEFUtilities.fr version: 12.2.0.r325
    com.businessobjects.GEFUtilities.hu version: 12.2.0.r325
    com.businessobjects.GEFUtilities.it version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ja version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ko version: 12.2.0.r325
    com.businessobjects.GEFUtilities.nl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pt version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ru version: 12.2.0.r325
    com.businessobjects.GEFUtilities.sv version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.GEFUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase version: 12.2.0.r325
    com.businessobjects.crystalreports.platformext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.cs version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.de version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.en version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.es version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.fr version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.hu version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.it version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ja version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ko version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.nl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pt version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ru version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.sv version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib version: 12.2.0.r325
    com.businessobjects.SWTUtilities.cs version: 12.2.0.r325
    com.businessobjects.SWTUtilities.de version: 12.2.0.r325
    com.businessobjects.SWTUtilities.en version: 12.2.0.r325
    com.businessobjects.SWTUtilities.es version: 12.2.0.r325
    com.businessobjects.SWTUtilities.fr version: 12.2.0.r325
    com.businessobjects.SWTUtilities.hu version: 12.2.0.r325
    com.businessobjects.SWTUtilities.it version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ja version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ko version: 12.2.0.r325
    com.businessobjects.SWTUtilities.nl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pt version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ru version: 12.2.0.r325
    com.businessobjects.SWTUtilities.sv version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.SWTUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.de version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.en version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.es version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.it version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.de version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.en version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.es version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.it version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.viewershellext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell version: 12.2.0.r325
    com.businessobjects.ui.controls.de version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.en version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.es version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.fr version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.it version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ja version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ko version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.nl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pt version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ru version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.sv version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_HK version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MO version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MY version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_TW version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls version: 12.0.0.r325_v20080731
    com.ibm.icu version: 3.8.1.v20080530
    org.eclipse.core.commands version: 3.4.0.I20080509-2000
    org.eclipse.core.contenttype version: 3.3.0.v20080604-1400
    org.eclipse.core.databinding version: 1.1.0.I20080527-2000
    org.eclipse.core.expressions version: 3.4.0.v20080603-2000
    org.eclipse.core.jobs version: 3.4.0.v20080512
    org.eclipse.core.runtime.compatibility.auth version: 3.2.100.v20070502
    org.eclipse.draw2d version: 3.4.0.v20080529
    org.eclipse.equinox.app version: 1.1.0.v20080421-2006
    org.eclipse.equinox.launcher.win32.win32.x86 version: 1.0.100.v20080509-1800
    org.eclipse.equinox.launcher version: 1.0.100.v20080509-1800
    org.eclipse.equinox.preferences version: 3.2.200.v20080421-2006
    org.eclipse.equinox.registry version: 3.4.0.v20080516-0950
    org.eclipse.gef version: 3.4.0.v20080526
    org.eclipse.help version: 3.3.100.v20080610
    org.eclipse.jface.databinding version: 1.2.0.I20080515-2000a
    org.eclipse.jface version: 3.4.0.I20080606-1300
    org.eclipse.rcp version: 3.4.0.v20080507
    org.eclipse.swt.win32.win32.x86 version: 3.4.0.v3448f
    org.eclipse.swt version: 3.4.0.v3448f
    org.eclipse.ui.views version: 3.3.0.I20080509-2000
    org.eclipse.ui.workbench version: 3.4.0.I20080606-1300
    org.eclipse.ui version: 3.4.0.I20080610-1200
    Libraries:
    C:\Program Files\Business Objects\Crystal Reports Viewer 2008\libs\CR\us.jar version: null
    Stack Trace:
    Caused by : java.lang.IndexOutOfBoundsException
    com.crystaldecisions.reports.formulas.FieldExpression$Type.a(Unknown Source)
    com.crystaldecisions.reports.formulas.ExpressionNode.getType(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.<init>(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.if(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.a(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.if(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.char(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.long(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.f(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.c(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.j(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.A(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.call(Unknown Source)
    com.businessobjects.crystalreports.designer.uibase.dialogs.ProgressMonitorDialog$6.run(Unknown Source)
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  • How can I get the View Tab name on the Crystal Report Viewer at runtime?

    When a report is displayed in the Windows Forms Crystal Report Viewer and the user drills into the report, the drill down view is displayed in a seperate view and is identified via a View tab at the top of the report.  I can determine the index of the view tab that is currently selected, but I need to access the text that is on the View tab.  The only properties that I've found that pertain to the "view" on the Crystal Report viewer are the ActiveViewIndex and the ViewCount.  Unfortunately, neither of these items help me because they are not specific to a certain section of the report.  Has anyone had any luck accessing the View Tab properties ?  Thanks.

    The tabs at the top of the page are nested within some of the viewers controls. Through trial and error you just have to find the right one. In this case the main part of the report is in the first control. This happens to be a TabControl. From there you can loop through the TabPages on the TabControl to grab the names of the tabs.
    Here is a quick example of what I did to get the tab text. All this code was in a button click event.
    Control oControl = crystalReportViewer1.Controls[0];
    TabControl oTabControl = (TabControl)oControl.Controls[0];
    foreach (TabPage oTabPage in oTabControl.TabPages)
         MessageBox.Show(oTabPage.Text);

  • Display only graph in the Crystal report viewer

    Background:
    We used Crystal Reports ver10 to display various graphs in our ASP.Net 2.0 Web Application (Visual Studio 2005)
    We recently migrated our application to .NET 4.5 and Crystal Reports ver13 (Visual Studio 2012)
    Issue:
    Now, the Crystal Report Viewer control loads the graph inside an <IFRAME> which shows the whole page with the graph placed on the right bottom corner instead of just the graph image as it used to previously.
    I have checked various properties that hides the tree and the toolbar and I am unable to get rid of the whole page.
    Query:
    Is there a way to not display the page and display only the image that contains the graph? OR
    Is there a way to not render the whole <iframe> and just display the graph image inside a <div> as it used to happen before?

    Hi Ludek, thanks for your response. Please refer the screenshots below.
    1) CR ver10 - the graph <img> is simply enclosed inside a div
    2) CR ver13 - the graph <img> is enclosed inside an <iframe>'s body - you can also see the scroll bars and "white-page-background" and "grey space" which I am hoping to hide or disable
    3) We are using the same set of CRViewer properties in both cases:
    - DisplayGroupTree = False
    - DisplayToolbar = False
    - HasDrillUpButton = Flase
    - HasRefreshButton = False
    - HasToggleGroupTreeButton = Fasle
    - HasViewList = False
    - HasZoomFactorList = False
    - EnableViewState = True
    4) Here's a screenshot of of the .rpt file opened in the VS 2012:
    We only want to render the graph image on the UI and not the whole page. Is there a property setting that will help us achive this or should we define explicit CSS styles to hide those areas?
    Thank you for looking into this!
    Avrosh

  • Fonts are not diplayed correctly in the Crystal Report Viewer control

    Post Author: Farid
    CA Forum: General
    Hello,
    I have designed a report in the Crystal Reports XI Designer (version 11.5.3.417) using the default printer. When I view it through the preview mode of the Designer, fonts are displayed like expected using the default printer driver.
    Now, I view this same report at run time in the Crystal Report Viewer control on the same computer with the same default printer. Fonts appear then differently they were in the preview mode : sizes are differents and some texts are truncated. It seems that the default printer driver are not used.
    Can anybody tell me if this behaviour is normal ? If it is the case how should I do to display a report in the Report Viewer using the default printer driver like I have specified it in the Designer.

    Post Author: V361
    CA Forum: General
    You may want to select the "no Printer" option instead, this will force CR to use a higher resolution.  Look in page setup, printer options.

  • Welcome to the Crystal Reports Viewer XI Beta Forum

    <p>This forum is used to post any feedback, issues or comments you have with the Crystal Reports Viewer XI beta program. </p><p>The link to the beta program is located here: <a href="/betas/crviewerxi">http://diamond.businessobjects.com/betas/crviewerxi</a> </p><p>If you have any other questions please e-mail them to <a href="mailto:[email protected]">[email protected]</a> </p><p>Thanks for your participation! <br />Crystal Reports Viewer XI Beta Team</p>

    Hi
    We will fix this.
    The particular problem you noticed is one that we will be addressing with the RTM version of CR Viewer XI. We mentioned only Win XP was supported in the release notes âu20ACu0153For Technical Preview, the Crystal Reports Viewer XI is supported only on Windows XP in English.âu20AC
    Root Cause
    The root cause is that GDI+ is not installed already on Windows 2000. We will be changing our install to add it. However, if you would like to continue to use CR Viewer XI Tech Preview (we hope you will) => You can download and install GDI+ yourself: If you google âu20ACu02DCGDI+ Windows 2000 Microsoftâu20AC(tm) youâu20AC(tm)ll see the links Many thanksCR Viewer XI Tech Preview/Beta Team Ps We will be sending a survey to beta participants at the end of the beta period, and we look forward to your feedback in that survey. Â
    In particular, would you be willing to read through the Tech Preview release notes and see if any of the known issues have a big impact on your potential use of CR Viewer XI = that feedback in the survey will be very important for us [the release notes are available at http://diamond.businessobjects.com/node/3023 ]</span></font></p>

  • How to set Excel Options using  crystal reports 2008

    Hi,
    I am trying to figure out CR 8.5 (Crystal report control) Equivalents in Crystal reports 2008 using crystal report viewer in .Net but not able to find the exact replacments.
    Properties used in CR 8.5
    CRAXDRT.ExportOptions.ExcelUseWorksheetFunctions=True
    CRAXDRT.ExportOptions.ExcelUseTabularFormat =True
    CRAXDRT.ExportOptions.SetLogOnInfo(1,3,4,5)
    Please let me know the replacements for the above mentioned properties in .Net using crystal report viewer (CR 2008)
    Thanks in Advance
    Regards,
    Ramnath

    Hello,
    The code that has been provided is of Report Designer Component.
    RDC has been deprecated in Crystal Reports 2008.
    Use the 'ExcelFormatOptions' class. It provides many options regarding exporting in an excel format.
    ExcelFormatOptions myExportFormatOptions = new ExcelFormatOptions();
    Try exploring the Developer guide for Crystal Reports .NET SDK [here|http://www.sdn.sap.com/irj/boc/sdklibrary#section7]..

  • How to set relative position in Crystal Reports

    Hi
    We are using CR XI R2 for designing crystal reports and Oracle 9i as datasource.
    we have placed 5 columns in vertical position next to one another in details section.
    for ex
    Salesrevenue
    Company description
    SalesSummary
    as data fetch is dynamic whenver data in 'Sales revenue' is more it is overlapping on 'Company description' column
    and so on with 'Sales summary' too.
    I know that Relative postion works only when columns are placed in ROW MANNER i.e
    Salesrevenue||Company description||SalesSummary but doesn't work when placed in the above manner.
    Please let me know if there is any workround or any other option need to be configured to overcome this issue.
    Thanks in Advance,
    BSR

    Right click the report navigator(left of your report body under design mode), and then choose 'insert a new section below', this will insert a new detail section called 'details b', put the 'Company description' into that section and third one into another new detail section.
    This will let you avoid the overlap issue.
    Thx, Hao

  • Process open items: how to set defaults for the additional selections

    Hi FI experts,
    Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
    I am using transaction F-04 (or F-06 or F-07) to post with clearing.
    When processing the open items I can use additional selection parameters. In my case I need to use the document type.  I would like to save this selection as a default but this doesn't seem to be possible.
    1. it is not possible to save a variant for the processing of open items
    2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
    Do you see another way to store defaults for the additional selections in open item processing?
    Thanks a lot.
    Dimitri

    Hi,
    When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable.  Hence SHD0 is not going to help.
    As said above, either you can change the additional selection screen parameters, but here again you can't default the value.  You can only reduce the number of entries on the screen.
    Else you can create a custom transaction code by copying the standard.  Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements. 
    Please check this link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    In the above link, in navigation choose clearing -- Specifications for processing open items
    If it is a custom transaction then you can default document number.
    Regards,
    Ravi

  • How to add custom buttons in the tool bar of the crystal reports viewer

    Hi,
    I'm using Crystal report viewer (Crystal 2008) in my report and I want to add custom buttons and handle them in the tool bar of the viewer. Is there anyway to achieve this?
    Please help me in this regard.
    Thanks in advance.
    Siva.

    I did this by adding a picturebox to the toolbar, the same size as the buttons, and loading in an image, and putting code into the Click event of the picturebox.
    I also put code into the MouseHover event to change the picture's background color and into the MouseLeave event to change it back.
    I have a couple of these buttons. They work very nicely and really look like part of the toolbar.

  • Problem showing the crystal report viewer in form after added the component on it

    Greetings
    I have a problem running a program. I created a form which I added the component Crystal Report Viewer perfecty but during program execution when I call that form my VS 2012 Ultimate show the following error:
    Translated:
    Failed to create the form. See Exception.InnerException for details. Error: An exception occurred in the type initializer for 'CrystalDecisions.Shared.SharedUtils'.
    Note: If I remove the component from the form. the applications runs fine when calling the form without the component CrystalReportViewer
    It is something related to my VS? o just that the actual version 13.0.9 is not yet compatible?

    Report.Show?
    How about you try:
    CrystalReportViewer1.ReportSource = <path to your report>
    Or:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    crReportDocument.Load(<path to your report>)
    CrystalReportViewer1.ReportSource = crReportDocument
    Or, if the report is added to the project:
    crReportDocument = New test
    CrystalReportViewer1.ReportSource = crReportDocument
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Message was edited by: Ludek Uher

  • The Crystal Report Viewer is unable to create its resource objects

    Recently our Clients have updated to Windows 7 and IE8. we are having issues to view the Reports in Infoview.
    The web server operating server is Windows 2003, Crystal Reports XI Release 2  and BOE R2 SP2 is installed in it. Activex Viewer is downloading fine in client machine having Windows XP OS (IE Version is 7) but for the same url ActiveXViewer.cab is not getting downloaded in Windows 7 Enterprise (IE Version is 8). It throws the error u201CThe Crystal Report Viewer is unable to create its resource objects.u201D
    Does BOE R2 SP2 support on IE8?
    Thanks

    Tested Windows 7 And IE8 browser to view Reports in Infoview for different user preference setting.
    1.       Active X Viewer u2013 Fails to open in View Mode and errors out with message as u201CThe Crystal Report Viewer is unable to create its resource objectsu201D
    2.       DHTML Viewer u2013 Could able to open/export/print  the Report.
    3.       Advance DHTML Viewer  - Could able to open/export/print  the Report .
    4.       Java Viewer u2013 Could able to open/export/print  the Report, but noticed the fonts are overlapping.

  • Print Button Not Working if i not inital the Crystal Report Viewer

    hiii every body here
    i have problem on my web application with framework (4.0)
    i use crystal report viewer (crystal report 13) and i installed the engine of crystal report and use dataset as datasource to my report and my report work fine but ....
    my problem is :
    i cannot export or print my crystal report 13 if i put my code on sub like that :
    protected void btn_print_Click ( object sender , EventArgs e )
                SP_testTableAdapter adpter = new SP_testTableAdapter();
                adpter.Fill(ds.SP_test);
                Reports.Learning.CrystalReports.CR_testreport my_report = new Reports.Learning.CrystalReports.CR_testreport();
                my_report.SetDataSource(ds);
                CrystalReportViewer1.ReportSource = my_report;
                CrystalReportViewer1.DataBind();
    when i use this i cannot print or export it say to me login to database fail message although i use dataset not direct database connection that mean it not need to give the report source every use of it the connection of my server details like username , password
    but if i put this code to my page load the report run and showing and print correctly , i need to can use print,export and every button on reportviewer toolbar
    without put the code that display report on page_load i need to put code on button event only and when i click the button it show the report and can print and export , and not need to use sesssion
    need help plz ................

    An assumption here is that this is a web app. That being the case, you need to worry about post backs when you print or export. E.g.; almost any action the viewer will cause a post back and thus what ever data you sent to the report is now forgotten. Place the report in session and this will eliminate the issue. Search for KBA 1985571. I document the full code needed there.
    - Ludek

Maybe you are looking for