Multiple instances of Crystal Reports Viewer possible in WPF?

Hi, I've dragged and dropped three Crystal Reports Viewer controls on my WPF application. The goal is to be able to select up to 3 reports from a listbox and click run to generate the reports simultaneously. When I select just one report, it works fine. However when I select multiple reports it throws errors (object not found, etc). It seems there is a problem with multiple threads. Is it possible to have multiple instances of the Crystal Report Viewer display reports simultaneously? I am using version 13.0.9.1312 from the link below along with VS2013 C# WPF.
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
Thanks,
Syed

I was able to quickly cobble together a two viewer app that looks like this:
The code is like this:
Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()
        ' Add any initialization after the InitializeComponent() call.
        Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
        crReportDocument.Load("C:\tests\formulas.rpt")
        CrystalReportsViewer1.ViewerCore.ReportSource = crReportDocument
        Dim crReportDocument2 As New CrystalDecisions.CrystalReports.Engine.ReportDocument
        crReportDocument2.Load("C:\tests\report1.rpt")
        CrystalReportsViewer2.ViewerCore.ReportSource = crReportDocument2
    End Sub
For more details see the document WPF Project Using the Crystal Reports WPF Viewer in 8 Easy Steps
Now a couple of things to keep in mind;
1) The report engine is based on 3 Concurrent Processor License (CPL) model. Meaning you can process at most three reports at the same time. In my test, doing the above code for four reports worked, but the reports are very, very simple - and with saved data. What a "real" world reports will do, I am not sure. I do know that in a web app, the reports are queued up until one report is done and thus a CPL is freed up. You will also need to keep in mind any database connection limits, etc.
2) There is also a Print Job limit. This by default is set to 75. In a nutshell, almost anything done with a report is a Print Job. E.g.; paging, zooming, drilling, searching, etc., etc. In addition subreports are considered to be Print Jobs. Thus a report with one subreport in a detail section that returns a thousand rows of data and therefore running 1000 subreports will error out.
You can read more about Print Job limits here:
Crystal Reports Maximum Report Processing Jobs ... | SCN
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Integration of Crystal Report Viewer in VS2010 WPF

    Hello,
    I google and research and founded that the viewer control is not attached with VS2010 so, we have to install it separately. I found it form here    [http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp].
    I installed "SAP Crystal Reports, version for Visual Studio 2010".
    Now, I want to add Crystal Report Viewer on my WPF Page. how can I do this ?
    I tried to find that control to add in toolbox but I didn't find it.
    Please can someone help me int this that how can I add that control and call the report to view in that and change the sql server dynamically for that crystal report.
    Bunch of thanks in advance, this would save me a lot....Appreciated any ones help.
    Thanks

    See [this|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8] demo and search these forums too.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Multiple instances of crystal report

    I have a report with 40 instances in infoview. Wherever we need to chage in the report level, I have to reschedule all the 40 instances, which is tedious. In BO, do they have anything, so that the instances sholud point the new report?
    Thanks,
    Sagarika.

    We have a report with 5 instances every day, i have never made a change to a instance if there are changes in the CR report.
    Just save the report without changing the ID, CUID, name or anything. It should be fine.
    Thanks. MAT.

  • Display latest instance of Crystal Reports in SharePoint 2010

    Dear Sirs,
    I have BO 4.0 and SharePoint 2010 and Integration Option.
    I need to display latest instance of Crystal Reports in SharePoint webpart.
    I'd like to add "IOMS-Crystal Report Viewer" Web Part and display latest instance.
    But in Settings (in SAPBusinessObjects tab) I need to type only CUID.
    Is it possible to display latest instance of Crystal report in SharePoint Web Part?
    Best regards,
    Emmo

    Dear Sirs,
    I have BO 4.0 and SharePoint 2010 and Integration Option.
    I need to display latest instance of Crystal Reports in SharePoint webpart.
    I'd like to add "IOMS-Crystal Report Viewer" Web Part and display latest instance.
    But in Settings (in SAPBusinessObjects tab) I need to type only CUID.
    Is it possible to display latest instance of Crystal report in SharePoint Web Part?
    Best regards,
    Emmo

  • Crystal Report as PDF without Crystal Report Viewer

    Hi,
    i have a question to a Crystal Report document. The situation is, that i have a document in InfoView. If i open the Crystal document, it will be launch the Crystal Report viewer in the IE. The next step is to use the export function, to create a PDF Document.
    Now, i would like to open a PDF Document directly, without the Crystal Report Viewer. How can i configuration that?
    Thanks for help.

    You could always schedule the report to PDF format, then when you clicked to view the Latest Instance, it would come up in PDF format.

  • Crystal Report Viewer fails for browser versions =10

    We're using the Crystal Reports for VS2010 SP2 and get the following error when trying to generate a report in Firefox 10.0.2 and Chrome 18.0.1025.11 beta-m:
    [NullReferenceException: Object reference not set to an instance of an object.]
       CrystalDecisions.Web.ViewerGlobal.get_IsNetscape6Up() +88
       CrystalDecisions.Web.CrystalReportViewer.Render(HtmlTextWriter output) +83
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       ASP.app_filters_reportviewer_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\qfmui\10eb2bd5\d0d0d3a5\App_Web_e2fg2prg.2.cs:0
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
    If I change the user agent string in Firefox to that of Firefox 7.0.1 everything works as expected, this implies there is some logic in get_IsNetscape6Up() which is failing because the major browser version as reported by the user agent string is two digits instead of one.
    We encountered a similar issue for our legacy pages containing Infragistics 2007 controls but were able to fix that by overriding the System.Web.Configuration.HttpCapabilitiesBase.BrowserCapabilitiesProvider and faking the browser version to 9.80.  Crystal Report Viewer is apparently not using .Net's built in HttpBrowserCapabilities object, is there anything else I can adjust to stop the viewer failing?

    hello Robert
    Today must be my day. I already got a reply from PM (normally it takes a "bit" longer...). Anyhow, here is what he said:
    With Firefoxu2019s release cycles, I donu2019t think weu2019ll be able to officially support the latest versions
    of Firefox at every service release.  We do our best to test the released versions of Firefox
    that align with our releases.  I donu2019t know the details but Iu2019ve heard there is a plan in place where
    the support team(s) (?) will test the most recent releases of Firefox with whatu2019s currently
    shipping by SAP and log bugs as necessary.
    (umm, this is my - Ludek note here ) -> news to me re. support doing QA... find out something new every day. Anyhow, continuation of the message from PM:
    The current plan for CR for VS2010, the SP3 release (expected in April) will support up to
    Firefox 9.  If there are reproducible bugs in Firefox 10 (or higher), then please enter a bug
    and escalate and it will be investigated for the next available release.
    I'll revisit this once SP3 is out there and do an escalation for Firefox 10 - ok?
    - Ludek

  • Crystal Reports Viewer 2008 and parameter fields

    Hello,
    I saw this product on the main Crystal Reports site this afternoon and decided to download it to try it out.  I have a number of users who would benefit from being able to preview their report results prior to actually running the report.  This seems like the perfect product.  I have a large number of Crystal Reports which were created in Crystal version XI.  I also downloaded the free 30 day version of Crystal Reports 2008 yesterday to see what new features are there.
    While testing Crystal Reports Viewer, I tried to run one of my reports which needs a parameter to run properly (account number).  This type of parameter is needed for probably 98% of this business' reports. 
    The problem: Crystal Reports Viewer does not prompt me to input the parameter.  In my actual Crystal Report, I had the box "Save Data with Report' left unchecked, as the account number frequently changes.  However, if that box is left unchecked, Crystal Reports Viewer will give me the error message "No Saved Data.  This report file does not contain saved data and cannot be viewed.  To get data into the report, please open and re-save it in the Crystal Reports designer application with the "Save Data with Report" option selected."
    Thinking that possibly it was the version of Crystal Reports in which the report was created (XI), I downloaded the free trial of Crystal 2008 and created a very simple test report with one parameter for account number where the account number is retrieved from our database.  And I am having the same trouble. 
    The "Help" section of Crystal Reports Viewer tells me that I can select my parameters in the parameter panel.  I do not see anything in my parameter panel other than the words "Current Data Set Last refreshed: 04/12/10 2:58 PM".  The help tells me that I can "select the parameter directly in this panel by entering a new value", but there is no option to do so.
    Any help would be appreciated.
    thanks,
    Noel

    What I've learned is that I was originally using Crystal Viewer XI and upon opening it I received a message indicating there was an update.
    I ran the update which put me on Crystal Viewer 2008.
    Since then I have not been able to refresh my screen to bring up the parameters.
    See the attached forum for another post concerning this same issue. 
    Paramter Prompts in Crystal Viewer

  • Error With Export/Print from Crystal Report Viewer

    Hello there,
    I've searched through the web and SAP discussion boards with not much luck with this issue.
    After working through this for some days now I've decided to look here for help.
    Environment:
    I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
    I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
    Problem:
    When I attempt to export, I receive the prompt to select format and pages.
    When I click export after selections most times I receive an error with the text
    Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Other times the page simply refreshes on export.
    When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
    No Print or Export document is ever created.
    As many print/export issues seems to be related, I'm guessing this two issues are as well.
    Notes:
    I am utilizing the ReportClientDocument model
    I am storing this in session to use as the crystal report viewer report source on postbacks
    I am assigning a subset of export formats to the crystal report viewer
    I am setting particular parameters as well on the report source
    At this point I would appreciate every assistance I may receive on this issue
    Thanks in advance,
    Below is the pertinent code
    Code:
    <aspx>
       <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
       AutoDataBind="true" EnableDatabaseLogonPrompt="False"
       BestFitPage="False" ReuseParameterValuesOnRefresh="True"
      CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
      ToolPanelView="None" PrintMode="Pdf"/>
    <Codebehind>
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.Shared;
    namespace ClassicInternalReportPage
        public partial class Reports : System.Web.UI.Page
            protected override void OnInit(EventArgs e)
                base.OnInit(e);
                if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
                    SessionMgr sessionMgr = new SessionMgr();
                    EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
                    EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
                    InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
                    if (reportService != null)
                        string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
                           + "Where SI_PROGID='CrystalEnterprise.Report' "
                           + "And SI_ID = {0} "
                           + "And SI_INSTANCE = 0", Request.QueryString["rId"]);
                        InfoObjects infoObjects = infoStore.Query(queryString);
                        ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
                        if (infoObjects != null && infoObjects.Count > 0)
                            ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
                            Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
                            CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                            CrystalReportViewer1.DataBind();
                //Viewer options
                // Don't enable prompting for Live and Custom
                CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
                CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
                CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
            protected void Page_Load(object sender, EventArgs e)
                if (IsPostBack && CrystalReportViewer1.ReportSource == null)
                    CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                    CrystalReportViewer1.DataBind();
            private bool AssignReportParameters(ISCDReportClientDocument reportSource)
                bool success = true;
                if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
                    if (Request.QueryString["t"] == "2")
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
                else if (Request.QueryString["t"] == "3")
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
                else
                    //Unknown report type alert
                    success = false;
                return success;

    Thanks Don for your response,
    I'm new to the SCN spaces and my content has been moved a couple of times already.
    In response to your questions
    The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
    My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
    If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
    Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
    Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
    App pool is running in 32 bit mode
    Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
    It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
    Thank you for your patience and advice,

  • 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

  • Crystal Report Viewer 2008 paging error.  Unable to process your request

    Hi everyone,
    I encountered this error today when clicking on the next page button on the Crystal Report Viewer.  I am running Crystal 2008 SP0.  When i click on show detail i get this:
    Programming Error520|/wEWPQL/uNqsCgKLovFcAtm0IoIAoScvAHAoqK76EFApyD1ugPApqWlPcMAsX1vAHAsX1198BAsCEq8AHAtuulPcMAoaMm/kHAoaMg/YCAoSGgI0OAs/lg/YCAsWelPcMArPesvYEAreG34oIAqKak5INAtzilMNAtD9h8wDApmmIoPAti0IoIApuWgI0OAubdht0DAsSe5NMPAqOak5INAqOa9/ICAr39wAOAp79l8IOApnFpvwJAo2nlP4BAsWFxAGAsHe54QMAs/Ok/EBAp7Eo3kCgvyr9gEC9POo2gkC2qGU/gEClfLUnAMCvuWnwQgCmuLjgg4Cnv3bgg8ChuPz6gMCpeOPzAMCl6zX3wECpuuLzAMC3eqToA4CvuWXgg4Czs7nhAwCveXvww0C3OrjoQ0C3eqn4wkCvuW7wQgCnv3Hgg8Cvf3b4A4Cnv2fwg4C0e7nhAwCxei3zAMCw97nhAwC6OONrwUYE9w8XzGf1oPuoIcvJLRvyIbTWg==
    I have a simple .Net page that has a dropdown control that a user can select to pass the parameter for the report.  I have a server side button that gets the report on the onclick event. The code behind is as follows:
    protected void btnReport_Click(object sender, EventArgs e)
            CrystalDecisions.CrystalReports.Engine.ReportDocument Myreport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            Myreport.Load(Server.MapPath("Reports/rpt_equipment_summary.rpt"));
            ConnectionInfo crLoginInfo = new ConnectionInfo();
            Database crDatabase;
            Tables crTables;
            CrystalDecisions.CrystalReports.Engine.Table crTable;
            TableLogOnInfo crTableLogOnInfo;
            crLoginInfo.ServerName = "----";
            crLoginInfo.DatabaseName = "------";
            crLoginInfo.UserID = "-----";
            crLoginInfo.Password = "------";
            //Get Table or SP information from report
            crDatabase = Myreport.Database;
            crTables = crDatabase.Tables;
            //Loop through all tables in the report and apply the
            //connection information for each table.
            for (int i = 0; i < crTables.Count; i++)
                crTable = crTables<i>;
                crTableLogOnInfo = crTable.LogOnInfo;
                crTableLogOnInfo.ConnectionInfo =
                crLoginInfo;
                crTable.ApplyLogOnInfo(crTableLogOnInfo);
            //Add Parameter
            ParameterField paramField = new ParameterField();
            ParameterDiscreteValue spValue = new ParameterDiscreteValue();
            ParameterFields ParamFields = new ParameterFields();
            paramField.Name = "@txComments";
            spValue.Value = ddlPastInvoices.SelectedValue.ToString();
            paramField.CurrentValues.Add(spValue);
            ParamFields.Add(paramField);
            CrystalReportViewer1.ParameterFieldInfo = ParamFields;
            CrystalReportViewer1.ReportSource = Myreport;
    Is there something i am missing for paging to work?
    Thanks in advance

    Sorry i forgot to include more information.
    .Net 3.5 and I can view this report fine in Crystal report designer.  I get no error message when I switch pages.  The issue happens when i view the report inside a Crystal report viewer control that i have on the page. 
    <%@ Register assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    I haven't tried your sample reports.  Where can i find those?  i have other reports with multiple pages so I can also try using those reports as well. 
    Thanks again,
    Pablo

  • BO XI R2 - "Blank "Crystal Reports Viewer" window - attempt to print report

    My company recently set up a Business Object Enterprise XI Release 2 server.  On the server are a number of crystal reports that are run interactively by users, through the user console.  The expectation is that the user will log on to the BI server, click on the report title, enter the parameters, see a preview of the report in the Crystal Report Viewer, then click the print icon on the Crystal Report Viewer toolbar.
    Our corporate standard is current Windows XP SP3, with Internet Explorer 8;  By default, users are set up to use the DHTML report viewer.  The reports were developed with the Crystal Reports XI R2 report designer, and connect to an Oracle 10g database through Oracle client.
    When users attempt to view, then print the reports, the user is able to select the report, enter the parameters, view the report data, and even page through the report preview with no issues.  However, when the user attempts to print the report by clicking the print icon on the Crystal Reports Viewer toolbar, a blank "Crystal Reports Viewer" window pops up and remains indefinitely.
    The really puzzling thing about this issue is that for about 1/3 of our users, printing will work - a print dialog will appear, allowing the user to select a printer, and when the user clicks OK, the report will print.   For the other 2/3 of our users, the blank "Crystal Reports Viewer" window pops up.
    I have added the BO XI R2 server's address to trusted sites, adopted the lowest security settings for trusted sites, and enabled all activity I could think of in IE security settings (ActiveX controls-related).  I also ran the web site in compatibilitiy mode.
    Has anyone on this forum experienced this issue, and does anyone here know how to resolve it?
    Thank you,
    Bob Gardner

    I suspect that this behavior occurs because the client computer is unable to download ActiveX controls.
    The report viewer requires the PrintControl.dll to print reports from the client computer. The PrintControl.dll downloads automatically if it has not been previously downloaded on to the client computer, provided that the user that is currently logged on is able to download ActiveX controls.
    To enable the download of ActiveX controls on the client computer, perform the following steps:
    1) Open your Internet Explorer.
    2) From the Tools menu, select Internet Options.
    3) In the Security tab, select the web content zone that corresponds to your web application.
    4) Click Custom Level.
    5) In the Security Settings dialog box, scroll down to find the ActiveX controls and plug-ins section.
    6) Select Enable or Prompt for the Download signed ActiveX controls item.
    7) The print dialog box will now appear successfully when clicking the print button in the report viewer.
    If the above does not help, try to troubleshoot this as follows:
    1) click the print button (this will cause a postback to the web page) and then cancel the print dialog. right-click in the web page and select "View Source".
    2) Search for the word "printcontrol.cab". This will show you where the application is trying to download the printcontrol from.
    Paste the URL into a browser.
    3) If you get prompted to "open or save to disk" the url is correct and there is a browser setting or possibly even a system policy preventing the download.
    4) If you get a "404 page not found" or a similar error message, investigate the URL.
    5) If the issue is on your local web server, see if it is possible to browse to the URL in IIS manager.
    - Ludek

  • Dynamic command execution fails in Crystal report viewer for parameters

    We are using the Crystal Report Viewer for the .Net Application on the client side.The reports are designed using Crystal Report XI R2.
    The issues that we are currently encountering is that, we are unable to load the combo-boxes in the pop-up for the parameters.
    All the reports have multiple commands and the variables are of 'dynamic' type.
    When the dialog box for requesting the pop-up comes up, It comes up empty even though they are linked to the respective commands.
    Also,For reports having multiple parameters we are unable to give a single dialog box to get in all the parameters.It appears as a series of prompts.
    Both,these issues are not encountered when the reports are launched via the Crystal reports developer tool.

    Hello Varun,
    I recommend to post this questionin the [dedicated NET forum|SAP Crystal Reports, version for Visual Studio;.
    This forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Falk

  • Dynamic command execution fails in Crystal report viewer

    We are using the Crystal Report Viewer for the .Net Application on the client side.The reports are designed using Crystal Report XI R2.
    The issues that i am currently encountering is that, we are unable to load the combo-boxes in the pop-up for the parameters.
    All the reports have multiple commands and the variables are of 'dynamic' type.
    When the dialog box for requesting the pop-up comes up, It comes up empty even though they are linked to the respective commands.
    Also,For reports having multiple parameters we are unable to give a single dialog box to get in all the parameters.It appears as a series of prompts.
    Both,these issues are not encountered when the reports are launched via the Crystal reports developer tool.

    Did you end up cross posting this anywhere else?  I just started running into the problem with XI r1 trying to view a report I modified in r2.  The only solution I seem to have found involves upgrading all of our customers to r2, which is not a very pleasant option.  I'd be interested in learning if anyone has come up with a better solution.

  • Casting of crystal report viewer

    I want to load crystal report in SAP B One.For this I have created a form through screen painter.I am trying to load crystal report on this form.I am using following code-
    Dim objCRViewer As New CrystalActiveXReportViewerLib10.CrystalActiveXReportViewer
    Dim objReport As CRAXDDRT20.Report
    objDT = GetData("Select * from OUSR")
    'Datable objDT created as per requirement
                objReport = objAppl.OpenReport("F:\Final\sdk\Crystal Report\CrystalReport\rptUsers.rpt")
                objReport.Database.SetDataSource(objDT)
    objCRViewer.DisplayToolbar = True
                objCRViewer.DisplayGroupTree = True
                objCRViewer.EnableExportButton = True
                objCRViewer.ReportSource = objReport
                objCRViewer.RefreshEx(True)
                objCRViewer.ViewReport()
    The above code does not create any problem.I want to add objCRViewer in the form.The method of adding a control is,
    oForm = SBO_Application.Forms.ActiveForm
    oForm.Items.Add("objCRViewer", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
    In BoFormItemTypes crystal report viewer is not present.How do I cast the crystal report viewer to activex control ?

    Hi Dilip,
    I guess its not possible to load a Crystal viewer in SBO form. Generally i use a windows form to show my crystal reports.
    If its possible to use Crystal viewer in SBO form, it will be great. Hope u'll be able to solve this problem so that i can use ur approach.
    Regards,
    Vasu Natari.

  • Crystal Reports Viewer 11.5 fails in Vista

    We are using the Crystal Reports Viewer (crviewer.dll) version 11.5.10.1263. It works fine in XP but fails with the following error in Vista:
    A first chance exception of type 'System.AccessViolationException' occurred in sprdlgs2.dll
    An unhandled exception of type 'System.AccessViolationException' occurred in sprdlgs2.dll
    Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Sprdlgs2.dll is the DLL that contains the dialog in which the viewer resides. I know that crviewer.dll is registered correctly.
    Our product is a C++ MFC multi-document application migrated from Visual Studio 6.0 to the .NET Framework 2.0 with the managed code flag (/clr) on.
    Any help would be appreciated.

    Hi Peter,
    As Jason indicated the RDC has not been tested with Vista nor any version of .NET IDE. RDC is COM and Microsoft is moving away from COM and to their Framework which as you said you must also do as we must. Even though MS upgrades their OS's we can't follow for old technolgies, it just becomes too much coding and vertually becomes a new version of CR with the amount of work required. To move CR forward we try to release patches for the current versions that are 100% backward compatable with the current OS's. XI R2 with SP2 now supports Vista through a service patch.
    The RDC has not been updated since Version 9 at that time Windows XP and 2000 were the only OS's available and they fully supported COM. It simply becomes to costly to make everything backward compatable. For developers like yourself you can appriciate this, do you still support Windows 3.1? At some point everyone has to cut off backward compatablity.
    Moving forward because .NET 2008 is also new, even XI R2 has problems with it, this is due to MS updating their 1.1 Framework to 2.0 and 3.5. they changed things which we had specific dependencies on so now we have to also change, this all takes time to implement.
    So this becomes a "best effort support" case since you are doing this on an unsupported platform. I did not see any results of your testing in debug mode on Vista? Install .NET 2008 on a Vista 32 PC and run your app in debug mode, if you use Vista 64 set your compiler to use x86 only. I believe your dll's are wrappers around the crviewer.dll and is likely either a permission issue with our COM(ActiveX) dll's or your dll's. Using regedt32.exe will give you the ability also to change permissions on the viewer and possibly your dll. It may be that Windows is not allowing your exe to access your wrapper as the error suggests in your original post.
    Bottom line is, you should upgrade your app to use the .NET assemblies and stop using the RDC. There are lots of samples and fairly easy to migrate what your RDC app is doing to .NET code. Coding won't be one to one but the steps to execute a report and view are the same.
    Thanks again
    Don

Maybe you are looking for

  • Itunes says I need to upgrade my account but then it gives me an error

    So since I've been using iTunes I've always used my AOL info to log in. Well, just a few days ago it started saying I needed to upgrade my account to a free Apple ID if I want to continue purchasing new music or using my current music. So I click for

  • File paths and archiving (and referenced files).

    I've come to the stage where I need to start using referenced files (out of disk space on my laptop) and also start archiving projects. One of my plans was to start keeping an off-site backup of all the originals in case something really bad happened

  • RFC change reflaction in VC

    Hi All We develop application using Visual composer. The connection to backend system (R3) is via system which configured in portal. The problem is that when some change has done in RFC in R3, the changes are not reflected in VC for several hours.  T

  • RG Registor updating

    Hi to all I am facing problem in updating RG1 Register by J1I5 T Code With Classification "IDE Removal on payment of duty for export under no bond" When execute all the document other than document which are removed on payment of duty for export unde

  • How to bring a disk back online on a T3B system

    Storedge T3 firmware 3.2.3 Hello, I have a disk that appears as offline (fru stat), I have reseat, rebooted the T3B but it stays offline (the disk's LED is green). I've checked the documentation, googled for it, but I can't find a way to bring the di