Graphs doesn't display on the crystal report server

I have a graph that displays good on the developer and when saved on the server and run it from the server doesn't display the graph. Any thoughts why its not displaying?
I also want to retrieve it from .net application using Managed RAS, is there any thing that I need to set for it display the graph output.

I'm using the same code for all reports and it works fine....only problem is its not displaying graph reports.
SessionMgr sessionMgr = new SessionMgr();
            EnterpriseSession enterpriseSession;
            ReportAppFactory reportAppFactory;
            ReportClientDocument reportClientDocument;
            EnterpriseService enterpriseService;
            InfoStore infoStore;
            InfoObjects infoObjects;
            InfoObject infoObject;
            // set the name of the CR server
            String crServerName = ConfigurationManager.AppSettings.Get("CRServerName");
            // set userid to logon to CR server
            String crUserID = ConfigurationManager.AppSettings.Get("CRUserID");
            //set pwd to logon to CR server
            String crPwd = ConfigurationManager.AppSettings.Get("CRPwd");
            //set userid to logon to database
            String dbUserID = ConfigurationManager.AppSettings.Get("DBUserID");
            //set pwd to logon to database
            String dbPwd = ConfigurationManager.AppSettings.Get("DBPwd");
            //pass Crystal enterprise logon credentials
            enterpriseSession = sessionMgr.Logon(crUserID, crPwd, crServerName, "secEnterprise");
            enterpriseService = enterpriseSession.GetService("InfoStore");
            infoStore = new InfoStore(enterpriseService);
            //pass the report Name to query and pass it to reportClientDocument
            infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME='" + reportName + "' And SI_INSTANCE=0");
            infoObject = infoObjects[1];
            //Connecting to RAS (Report Aplication Server)
            EnterpriseService tempService = enterpriseSession.GetService("", "RASReportFactory");
            reportAppFactory = (ReportAppFactory)tempService.Interface;
            reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
            // Pass datbase logon credentials
            reportClientDocument.DatabaseController.logon(dbUserID, dbPwd);
FileStream fs = null;
BinaryWriter bw = null;
rptFileName = u201CTestChartReport.pdf";
fs = new FileStream(Server.MapPath("~/reports/" + rptFileName), FileMode.OpenOrCreate);
bw = new BinaryWriter(fs);
PrintOutputController rasPrintOutputController;
CrReportExportFormatEnum rasReportExportFormat =   CrReportExportFormatEnum.crReportExportFormatPDF;
rasPrintOutputController = reportClientDocument.PrintOutputController;
            ByteArray tempByteArray = rasPrintOutputController.Export(rasReportExportFormat, 0);
            Byte[] byteStreamOutput = tempByteArray.ByteArray;
bw.Write(byteStreamOutput);
String file = "reports/" + rptFileName;
Response.Write("<scr" + "ipt>\r\n");
Response.Write("open('" + file + "');\r\n");
Response.Write("</scr" + "ipt>");

Similar Messages

  • Using Web Services on the Crystal Report Server XI to return reports

    <p>Hi,</p><p>I&#39;m trying to setup for the first time a Crystal Reports Server XI R2 and put a couple of reports onto the server.  This is so I can access the reports on the crystal reports server using using the crystal web services and finally display the reports in an ASP.NET web application.</p><p>So far I have installed the server, created a couple of reports, put them on the server, and tested to see that I can access the reports using the Central Management Console.  This all works fine and the reports are returned.</p><p> Ok, now for the bit that&#39;s not working.</p><p> I&#39;ve got a C# ASP.NET web application, and I&#39;ve followed a couple of <a href="http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crtsktutorialsotherdynamicpulldownwebservicehelpermethod.htm" target="_blank" title="Adding a Helper Method to Access Crystal Reports Web Services">tutorials</a> to give me an idea of what I should be doing to use the Web Services that are provided:  </p><ul><li>ServerFileReportManager.asmx</li><li>ServerFileReportService.asmx </li></ul><p>However, it appears that when I list the child objects on the crystal server:</p><blockquote><font size="2" color="#008080"><font size="1"><em><font size="2"><p><font size="1">serverFileReport = <font color="#0000ff">new</font> <font color="#008080">ServerFileReport</font>();<br /></font><font size="1">serverFileReport.ReportPath = <font color="#800000">""</font>;<br /></font><font size="1"><br />reportManagerRequest = <font color="#0000ff">new</font> <font color="#008080">ReportManagerRequest</font>();<br /></font><font size="1">reportManagerRequest.ExtraData = serverFileReport.GetExtraData();<br /></font><font size="1">reportManagerRequest.ParentUri = serverFileReport.ToUri();<br /></font><font size="2" color="#008080"><font size="1"><em><br />ReportManagerResponse</em></font></font><font size="1"><em> reportManagerResponse = <font color="#0000ff">new</font> <font color="#008080">ReportManagerResponse</font>();<br />reportManagerResponse = serverFileReportManagerProxy.ListChildObjects(reportManagerRequest);</em></font></p></font></em></font></font></blockquote><p><font size="1"><font size="1">I always get a</font> <font size="2"><font size="1"><em>reportManagerResponse.ReportUris</em></font></font></font><font size="1"> with a count of 0.  Now the thing is I know that I have a couple of reports on the Crystal Server, but for some reason they&#39;re not been picked up.   I must be missing something.</font></p><p><font size="1"><font size="1">Does anyone have any ideas??? Please</font>!</font></p><p>Many thanks in advance,<br />Chris</p><p>Current Set-up:</p><ul><li>Crystal Reports Server XI R2 (11.5)</li><li>Virtual Directory of the web services: crystalreportviewers115 </li><ul><li>(Physical Path - C:\Program Files\Business Objects\common\3.5\crystalreportviewers115)</li></ul><li>Development Environment: Visual Studio 2005</li></ul>

    <p>I looks like your mixing technologies here.   You are using <strong>Crystal Report Server</strong> and the <strong>Crystal Report Web Services</strong> that come with Visual Studio.</p><p>I know that this might seem like they are the same product, and the naming does seem confusing but I&#39;ll try and make it easy for you to understand.</p><p><strong>Crystal Reports Server</strong> - This is a managed reporting solution which allows you to distribute your reports via the web.  It has features like scheduling and built in security.</p><p>It appears that you have a handle on what Crytal Report Server is from what you have been able to accomplish those far.  You have created your report and published it to Crystal Report Server and viewed it via the Central Management Console.  Crystal Reports Server has two methods for accessing the reports programatically.</p><p>1. The Enterprise SDK</p><p>2. The Web Services SDK</p><p><a href="/node/353">Check out this white paper that compares these two SDKs </a></p><p><a href="/node/256">This paper describes the Web Services SDK.</a></p><p>In the above paper there is a getting started section which points you to the Developer Library which shows you how to install the web services on your Crytal Reports Server machine.</p><p>Crystal Reports Server does not have the Business Object web services installed by default so I would suggest following the directions in the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm">Developer Library.</a></p><p>The directions wont talk about Crystal Reports Server but these are the directions to get the Web Services installed. </p><p>There is another web services technology which you are writing code for which is called <strong>Crystal Report Web Services.  </strong>This technology comes with Visual Studio 2003.  It provides un-managed reports via webservices.  Un-managed means these reports are not published to Crystal Reports Server.</p><p>So basically your problem is that your code is for <strong>Crystal Report Web Services </strong>but you are trying to view reports published to <strong>Crystal Reports Server.</strong>  To take advantage of scheduling and security and web service access I would suggest using Crystal Reports Server and install the Business Objects Platform webservices to access the reports. </p><p>I hope that&#39;s clear.<br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • How to connect to the Crystal Reports Server XI R2 installed in other machi

    Hi,
    we are 3 people here we have Crystal Reports Server XI R2 installed in one machine and Crystal Repoprts XI  DEsigner ( downloaded trial version) in all the machines ,
    in my machine only Crystal Repoprts XI  DEsigner ( downloaded trial version) is installed , how to connect to the Crystal Reports Server XI R2 which is installed in other machine
    Regards,
    kathyaini

    Hi,
    thankyou for your  response,
    my problem here is as soon as i open CR Designer , and if i  click on either New Report,Blank Report, or  standard report wizard  it is saying "failed to create database connection"
    on which ever thing i click it is telling the same "failed to create database connection" i created the user DSN properly , i could not create System DSN i dont know why.
    can u please guide me
    and one more thing on the machine where CR server is installed , on the same machine designer is also installed (i think u was telling the same) .  my question is how the server will know about the CR Designer installed in my machine.
    Regards,
    kathyaini

  • If i install the Crystal Reports Server on server machine

    i have CR XI R2 edition ,if i intigrate with VS.Net will i be using VS Designer or crystal reports designer
    Edited by: kolahalam kathyaini on Nov 25, 2008 12:04 PM

    Hello,
    You didn't mention which version of Visual Studios you're using.  Crystal Reports XI Release 2 (v11.5) Developer edition will integrate into VS2002, VS2003, and VS2005.  CR XI R2 will not integrate into VS2008.  CR XIR2 Standard edition and CR XIR2 Professional edition will not integrate into Visual Studios because they are not development level products.
    After you install Visual Studios 2002/2003/2005 when you install CR XIR2 Developer edition then CR XIR2 will integrate into Visual Studios.  The VS IDE will be updated to work with CR XI R2 and the CR XIR2 assemblies, etc.
    In this case your application will use CR XIR2 for application development, and you can create reports in CR XIR2, or inside Visual Studios (since the CR Designer in VS has now been updated to CR XIR2).
    I hope this answers your question.  If you need further clarification please let me know.
    Sincerely,
    Dan Kelleher

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • Report fails to generate on Crystal Reports Server

    Post Author: cmilkosk
    CA Forum: General
    Hello all!
    I have a case open with BO on generating a report from a Crystal Reports Server (CRS).  The report works fine when running in Crystal Reports on my PC, but after I send it to the Crystal Reports Server, it fails with a message like:"Failed to open the connection.
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\metrixdb.reportjobserver\~tmp9bc512965895e0.rpt"This error appears to be telling you that it is trying to connect to
    the CRS's reportjobserver process and having a problem, but the service is up according to the Central Config Manager. I tried starting and stopping it, but it didn't make a difference.  This happens for different reports sent to the server.  One common thing that I've noticed is that the reports that connect to the CRS's local SQL Server 2005 database are the ones that are failing.  So, my CRS resides on the same host as the SQL Server 2005 database (which also houses the CRS SQL DB).  Interestingly, reports scheduled that connect to a remote SQL Server 2000 database work fine.  It could be the simplest report that I am running off of the CRS/SQL Server 2005 host, and it still fails every time. Tech support so far hasn't been much of a help. They suggested that I upgrade my Crystal Reports software on my PC to R2, but that didn't fix the problem.Has anyone had any trouble like this before?  If so, have you found out what the cause was?I'm beginning to wonder if it is related to SQL Server 2005 or potentially just that it is connecting to a local database.Note - my CRS's software version appears to be 11.5.3.438.  I'm not sure if I am running CRS R1 or R2 (how can you tell?).Anyone have any ideas?Thanks,Chris

    Post Author: cmilkosk
    CA Forum: General
    Anyone have any ideas?  Tech Support doesn't seem to be helping much. Chris

  • Crystal Report server error

    I'm new to posting here, so please bear with me!  I have installed, in this order, crystal report server XI R2 .Net server 2005 (used as a viewer for reports in our web application), Crystal report server XI (BO), Crystal Report XI, BO XI SP4 on Windows Server 2003 R2 running as a VM.  When I first install crystal report server XI R2 .Net server 2005, open our web app and run Crystal reports, they run just fine.  After installing BO XI, Crystal Reports XI and BO SP4, I get an error:
    Server Error in '/ImageWorks' Application.
    Not enough memory for operation.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Not enough memory for operation.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [COMException (0x80041004): Not enough memory for operation.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
    [Exception: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +341
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +964
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
       roi_AdminReportViewer.Page_Load(Object sender, EventArgs e) +83
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    I have loaded this same configuration on similar servers over the past 2 years with no issue.  Can anyone help me?  Doesn't look like the memory is being touched on the server, it's an IIS server with 1.5 GB RAM.

    Hi Elaine,
    So everything worked fine until you installed CRXI and BO R2 SP4?  Let me know if the order of installation I have below is correct:
    1.  crystal report server XI R2 .Net server 2005
    2.  Crystal report server XI (BO)
    3.  Crystal Report XI
    4.  BO XI SP4 
    I know the .net viewer is usually set up in the Crystal Reports Server installation.  I'm unsure as to why you have it listed separately.
    Also which version of BO (Crystal Reports Server) are you installing (R1,R2,R3)?   Could you clearly outline your first 2 installation steps?

  • Query regarding Crystal Reports Server

    Hi,
    I am new to Crystal Reports.
    I have created a couple of .rpt files using CR2008 and I am loading these report files in my aspx pages using CrystalReportViewer control.
    I am planning to host my webApp on IIS in production environment. Maximum simultaneous/concurrent connections to my reports would be 1 or 2.
    My question is:
    1. Do I need Crystal Reports Server in this scenario?
    2. In future if the number of concurrent users to report increases then do I need to go for Crystal Reports Server? Will just buying and installing the Crystal reports server on production server work? or will I have to do some configuration or some other changes in the existing deployed reports? OR Will I have to deploy my existing reports on Crystal Report Server again?
    Any help will be highly appreciated.
    Thanks in advance,
    Manish

    Manish, please do not cross post:
    Query regarding Crystal Reports Server
    See the [Rules of Engagement|http://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for more details.
    Marking this thread as answered and locking...
    - Ludek

  • Problem deploying OLAP report to Crystal Reports Server

    I have developed a simple OLAP cube report using Crystal Reports Developer (11.0.0.1.1282). The report correctly previews and shows values against the cube that I have chosen as the datasource. The datasource is not my local computer but another computer (on the same network) that contains an Analysis Services 2005 cube. Crystal Reports Server (11.5) is installed on the same computer that contains the datasource.
    Using the CMS I uploaded the OLAP cube report to the server. After that was finished I changed the "When viewing report" radio button to "Use same database loging as when report run" in the Process/Database setcion. I logged into the InfoViewer and navigated to the report and executed it. When the report executes I get the following error:
    Crystal Reports: Print Engine Error
    Unable to retrieve Object.
    Crystal Reports: Print Engine Error
    I wanted to make sure that the server was running correcly as it is a fresh install. So I created a standard report that connects to a SQL Server 2005 datasource and displays the contents of a table. When I uploaded this report to the Crystal Report Server it rendered correctly.
    What do I need to do to make the OLAP cube report render correctly?

    I'm not sure about using OLAP with CR on the server, maybe someone else will have more input on that.
    When using OLAP on the server I recall that you must install PTS (it was like OLAP - ODBC) but it didn't require any config just to be installed on the server.
    You mentioned CR 11.0 what version is the server? I don't believe SQL 2005 analysis services was ever tested with XIR1 (version 11). You can check the supported platforms by clicking the business obejcts link above and selecting articles, then your version.
    Do you have olap intelligence? That was a seperate product on version 11 that was used to create .car reports off of OLAP.
    Regards,
    Tim

  • Where to define .rpt file location in Crystal Report Server 2008

    Hi all,
    I have installed Crystal Report Server 2008 in my machine and trying to invoking the report from my java application. Earlier we have used Crystal Report Server XI Release 2 and in my java application i am passing crystal report server name, report name, parameters and it is woking fine in Crystal Report Server XI Release 2. But now I have installed Crystal Report Server 2008.
    In Crystal Report Server XI Release 2, we have a option to provide the report directory folder from the computer. That is in Central Configuration Manager - > Right click on Report Application Server -> Properties -> Parameter Tab -> Change Option Type to Server and And Select directory which contains the .rpt files.
    Like the same way, i need to give the report directory path in Crystal Report Server 2008. Then only the report server will find the report from the directory and display it. In my application i am passing the report name to the crystal report server. The report server will find the exact report from that folder from the local system and display it in application.
    I can able to give the report file directory in Crystal Report Server XI Release 2, but cannot able in Crystal Report Server 2008.
    Pls help me how could i do this?

    In Command Line Parameters of ReportApplicationServer

  • Upgrading from CR 10 Embedded Edition to Crystal Reports (server) xi

    We recently upgraded from CR10 Embedded edition to Crystal Reports Server Xi. In our application the users access the reports via a web page (where they enter the paratemeters) and the report is displayed using the Crystal Reports viewer. The CR server xi was recently installed and all the SDK references have been as mentioned in this document: https://boc.sdn.sap.com/node/724. But now when the reports are accessed via the web page we are encountering the error 'All of your system's 0 Concurrent Access Licenses are in use at this time or your system's license key has expired. Try again later or contact your administrator to obtain additional licenses.---- Error code:-2147217397 Error code name:enterpriseLogonFailed'
    Can anyone share your thoughts or provide suggestions?
    Thanks,
    in advance!
    SG.
    Edited by: Shekhar Gorthy on Aug 4, 2008 10:58 PM
    Edited by: Shekhar Gorthy on Aug 4, 2008 10:59 PM

    Hello SG,
    A common issue that arises when migrating from Crystal Enterprise 10 Embedded to Crystal Reports Server XI applications that use the Report Application Server (RAS) SDK.
    The RAS supports two modes of operation - "Unmanaged" and "Managed" reporting.
    With CE10Embedded, you'd be using Unmanaged Reporting, where you'd copy the Crystal Report rpt file to the RAS server, and reference it by path when opening it in the ReportClientDocument class instance.
    With Crystal Reports Server XI, you can use either Unmanaged Reporting, or Managed Reporting.  Managed means you'd publish the rpt file to be "managed" by the CR Server Central Management Server (CMS).  In code, you'd log onto the CR Server, retrieve the ReportAppFactory from the CMS, retrieve the report from the InfoStore, and pass it into the ReportAppFactory to create the ReportClientDocument.
    I'm assuming you're still using "Unmanaged Reporting" with Crystal Reports Server.
    If so, each report request will be authenticated in the CMS using the "Guest" account, and each request will use up a Concurrent Access License (CAL).
    If you're getting the exception on the first report request, then that likely means you have the complimentary copy of CR Server XI, that comes with zero CALs and five Named User Licenses.
    You won't be able to use unmanaged reporting with the complimentary version.  You may want to modify your code to use managed reporting.
    If you're getting the exception on the sixth or subsequent request, then that likely means you've purchased CR Server XI, and the base edition comes with 5 CALs.
    If you contact sales, you can inform them of the number of users you have, and how frequently they request reports, and sales can recommend a license to match your requirements.
    Sincerely,
    Ted Ueda

  • How to integrate Crystal Report Server and J2EE platform

    Hi,
    It's my first time using Crystal Report, so I don't know exactly how I should start...
    As what i've searched around, there is a method of generating crystal report from a JSP file. By this way, everything will be handled within the application server.
    But in my project, we intend to leave the part of handling and generating report to another server, i.e. there will be 2 servers: application & report. Anyone experienced with this can guide me through? By splitting into 2 servers, that means I will need to have the Crystal Report Server right? And if doing so, from the application, how do I call the Crystal Report server?
    Thanks for viewing...

    You can use [Crystal Reports for Eclipse|Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!; to do exactly this. It comes with an example application for displaying reports using the CR Web Report Viewer. It's EXTREMELY easy to use and even to integrate in your existing web app. If you're using Eclipse and have the CR4E plugin installed, you can go to File > New > Crystal Reports and select Crystal Reports Web Project. This will create the CR server application for you. You can also right click on an existing web app and have Crystal Reports integrated directly into your existing app.
    To do this, just right click on your web app and go to Project Properties. Then, go to Project Facets, check the box next to Crystal Reports, click Apply and then OK. It will copy all of the necessary runtimes into your lib folder and will even update your web.xml to include the stuff needed for CR. On the left, you should see Crystal Reports File Versions. Click on that and you should see the version of Crystal that was just installed into your web app along with all of the files that were copied or modified.
    You could probably then create a report viewer in your other app (maybe an iframe?) that includes a link to the report in the CR Web App.
    If you need more assistance with this, let me know. I'd be glad to help out as I've already played with something similar to this.

  • How to print a report on crystal report server using webservice call

    Hi,
    I'm looking for web service api calls that help print a report on the crystal report server. Can someone post a snippet of how this is done.
    Thanks,

    Below is a snippet that uses the BusinessObjects Enterprise XI Release 2 version of the BIPlatform Web Services Java Consumer API:
    Sincerely,
    Ted Ueda
    /* Printer name */
    String printerName = "\\\\van-s-prt01\\VAN-P-BEAVERCREEK";
    /* URL to Enterprise Web Services */
    String servicesURL = "http://localhost:8080/dswsbobje/services";
    Session ceSession = null;
    Connection ceConnection = new Connection(new URL(servicesURL + "/session"));
    EnterpriseCredential ceCredential = new EnterpriseCredential();
    ceCredential.setDomain(cmsname);
    ceCredential.setAuthType(authType);
    ceCredential.setLogin(username);
    ceCredential.setPassword(password);
    try {
         ceSession = new Session(ceConnection);
         ceSession.login(ceCredential);
         ceConnection.setURL(new URL(servicesURL + "/biplatform"));
         BIPlatform bip = new BIPlatform(ceConnection, ceSession.getConnectionState());
         GetOptions getOpts =new GetOptions();
         getOpts.setIncludeSecurity(Boolean.FALSE);
         ResponseHolder rh = bip.get(reportPath, getOpts);
         InfoObjects infoObjects = rh.getInfoObjects();
         CrystalReport report = (CrystalReport) infoObjects.getInfoObject(0);
         ReportProcessingInfo processing = report.getPluginProcessingInterface();
        CrystalReportPrinterOptions printerOptions = processing.getReportPrinterOptions();
        printerOptions.setEnabled(Boolean.TRUE);
        printerOptions.setPrinterName(printerName);
         report.setSchedulingInfo(new SchedulingInfo());
         report.getSchedulingInfo().setRightNow(Boolean.TRUE);
         bip.schedule(infoObjects);
    } finally {
         if(ceSession != null)
              ceSession.logout();

  • Invalid Key code Error while installing crystal report server 11

    While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
    MAILS--Dear Mohit,
    Thanks for the patience.
    We have received the below update from the Licensing Team.
    You received your permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but you elected to use version XI instead and received key .
    You would need to enroll the licenses in maintenance if you want to upgrade them.
    In case of any queries please create a ticket via the Service Market Place.
    Regards,
    Jessy
    Customer Interaction Center
    SAP Active Global Support
    Hello Jessy,
    The customer received their permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but they elected to use version XI instead and they received key .
    They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
    Kind regards,
    Rosemary
    From: BOSAPASIA
    Sent: 29 September 2009 05:49
    To: Savage, Rosemary
    Subject: FW: Crystal Reports Server Installation Issue
    Importance: High
    HI Rose ,
    Need your assistance on the below issue.
    Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
    He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
    Regards,
    Jessy
    CIC Team Lead
    Customer Interaction Center
    Global Support Centre India
    SAP Labs India Pvt Ltd
    Hi,
    Providing you with the required details to proceed further
    Registration Number-
    Registration Email Address-taxmantra.support
    And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
    Dear Mohitk,
    Thank you for your information.
    I checked with the concerned colleague and received the below update:
    Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
    If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
    If you did not register before, as the promotion is over so the key code could not be replaced.
    I request you to kindly check the same at your end and revert with the details.
    Moreover, there are two ways for Crystal Report customer to get support.
    One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
    A learning map was provided, listed on left column.
    The other is customer with only Crystal report product, the support is via SDN.
    http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
    Customers can first check whether other customer has got the same issue and find the reply from our engineers.
    You may also post your own thread for support.
    Anything else I could help, please do not hesitate to contact again.
    Hi,
    I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
    Please find attached the Scanned Document  containing the details as per the details required by you.
    Hope to see a quick resolution for the issue.
    Dear Mohit,
    Thank you for your e-mail.
    As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
    Your customer number:
    Your customer name and address:
    Purchase order number:
    Any other products purchased along with Crystal Reports Server 11
    Any S-User Id:
    Any old case ID:
    Please feel free to contact us if any further queries.
    Hi,
    I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
    We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
    "The product key code you have entered is incorrect"
    We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
    Please help us to resolve the issue as early as possible.
    My contact number:
    If you need any further information do let me know

    Ajit,
      By design, the product is not able to be installed under the superuser account.
    1.  Create a new user and specify a home directory for the user without a quota set.
    2.  Copy or move the installation files to a directory that the new user can read.  I suggest you move the installation files directly into the new user's home directory.
    3.  Logon as the new user (or su - newuser)
    4.  run the installation shell script using that new user's account.
    NOTE:  Ensure the system meets the requirements from the supported platforms documents.
    .Tony

  • Crystal Report Server XI recurring report instance is not viewable

    I have scheduled a report to be run every morning, and each instance return status is "success". However, I encountered the following problem when I try to view instances of the report: There is a long time period of waiting (seems to be waiting for some kind of timeout), and then eventually the message: "A request was cancelled. The necessary security privileges could not be verified. This indicates a problem with the security server."
    I also noticed that in event viewer (windows server 2003) I see many failure audits to login to the sql database, and the events contain the login used in my data source.
    It's interesting to note, that when I run a single instance of the report "Now" there is no problem.
    Some info about the report which may be relevant:
    The report uses 2 formula fields to auto-parameterize 2 of the 5 parameters used by a subreport. The other 3 subreport parameters are set when scheduling the report.
    The subreport uses a call into a stored procedure in a MS SQL server 2005 database to retrieve its records.
    The 2 fields which are parameterized are datetime fields (StartTime, EndTime), and the main report is basically just a wrapper to only show the previous day.
    JDBC data source to local Sql server instance.
    Also, the crystal report server XI install uses the same sql server instance to store CMS data under a separate database.
    I'm stumped on this.
    Has anybody encountered this problem?
    Is there a simpler way to auto-parameterize the report?
    Why are the failure audits occurring when I view the instance of the report? Is this because the instance is setup to use RPT output format?
    Are there logs I can look into aside from event viewer? I can't find anything that looks relevant under program files, but perhaps I missed something.
    The failure audits would make more sense to me if it occurred with the other report instances, but some instances are shown correctly, and some just do this timeout thing.

    Hello AV,
    please look for the log files here:
    drive:install folder\businessobjectsenterprise11\logging
    by default c:\program files\business objects\business objects enterprise 11\logging
    Please make sure that tracing is switched on for the individual server.
    Please find [online docu |http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_crs_install_win_en.pdf]here
    Falk

Maybe you are looking for

  • Flash 11.5  Windows 7 32bit IE9 Crash

    Good Morning, I have a pc that flash seems to cvrash the browser when veiwing any flash movie,  however the funny thing is that when you install it for the first time after installing it works fine, also when the flash player has crashed you are unab

  • Email Icon wont go away

    Each night I delete everything in my inbox.  But I still have the email icon indicating that I have 9 emails.  How do I get the icon to accurately indicate the correct number (or none at all) of emails?

  • Invoice receipt date

    *Hi,* *While posting an invoice I get a pop up asking the vendor invoice date before saving the invoice.Please let me know why and where this is coming from?I have an issue with this pop up that the incoming invoice is stuck in 64 status because of t

  • BUG: error rebuilding SQLJ files along other java files with generic

    I have done a rebuild on a package containing some SQLJ files, and (consistently) got the following error: C:\TeleMessage\trunk\src\telemessage\db\impl\dbAdmin.sqlj     Error(44,18): Java Parsing. Encountered: <     Expected: <IDENTIFIER> ...; "[" ..

  • Problems with Email Setup

    I purchased a Blackberry Curve 9330 a few days ago, and am having problems with the email setup.  I previously had an older model of the Curve, so have used Blackberry for email before.  I'm going to Messagex ---> Options ---> Email Account Managemen