Deploy crystal report with add-on package by b1de

Hi
I have some problem with add-on installer. after i package add-on by b1de, I install it on client machine. It works correctly. But when i call report, It have error with crystal report license code and .dll. I found solution that solve that problem. I must include crystal report merge module and License code into  windows installer project. But i use b1de to package. How i can include crystal report merge module and License code into b1de project . If anybody have other method to package crystal report into b1de. please help me.
Regards,Seang

for this problem I created window installer which only have merge modules of crystel report & provide it to user to install it as well , bcz sap installer was not including merge modules
, how ever u can try professional installer of SAP DE
but I have not try it,

Similar Messages

  • Deploying Crystal Reports with IIS - Load Report Failed

    Post Author: jeremyrarextreme
    CA Forum: Deployment
    Hi
    We have installed Crystal Reports Developer XI release 2 with Visual Studio 2005 to implement a very simple app that allows a crystal report to be loaded via the web. This works perfectly fine when I publish my build from Visual Studio 2005 (using the built in cystal controls) and go view in browser.
    Everything looks fine when I run the app from Visual Studio by clicking view in browser - the crystal report loads and everything is how it should be.
    When I publish the build on our production server (a Windows 2003 server running IIS6) I get the error: Load Report Failed
    A full detailing of this error can be found on this forum post: http://aspadvice.com/blogs/rjdudley/archive/2005/05/18/2591.aspx
    where many other people are having the same issue.
    I have struggled for a very long time to find a solution to this, how do I resolve this issue?
    when I try to view the .net 2.0 project from a browser running through IIS It displays the business objects toolbar but returns the error: Load Report Failed
    When I run this in my development environment directly from Visual Studio 2005 it works perfectly fine and loads the report.
    The report path is perfectly fine and correct, we have permissions on all folders for read, write and execute for both general user / admin accounts and IIS accounts on the Windows 2003 Server.
    We also have full permissions on c:/temp and c:/windows/temp
    What else can I do to make this work!
    Many thanks and awaiting your reply

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • Deploying Crystal Reports runtime using merge module failed

    Hi,
    I am having a problem when deploying Crystal Reports using merge module runtime, included into MS Visual Studio web setup project, when installing my *.msi with CR runtime on a completely clean PC (with only MS Windows installed). Error: Failed to register one of the Crystal Reportsu2019 *.dll because it could not find Microsoft visual C++ runtime (msvcr71.dll was not in Windows\System32 folder)
    I am using Crystal Reports runtime merge modules, which I downloaded from here: https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    I tried both cr120_mm.zip (Crystal Reports 2008) and cr121_mm.zip (Crystal Reports 2008 SP1)
    cr120 could not find msvcr71.dll, cr121 could not find msvcp80.dll.
    Steps to reproduce:
    -          In MS Visual Studio 2008 create a new empty Web Setup Project.
    -          Add Crystal Reports merge module CRRuntime_12_0.msm or CRRuntime_12_1.msm
    -          Build *.msi
    -          Try to install this *.msi on a completely clean PC. I tried it on Windows Server 2003 R2 SP3, which did not have msvcr71.dll or msvcp80.dll files in C:\Windows\System32 or in any other PATH folders.
    -          During installation there is an error u2013 failed to register one of the Crystal Reportsu2019 *.dll
    I am looking forward to hear from you.
    Thank you.

    I believe these threads have the answer for you:
    https://forums.sdn.sap.com/click.jspa?searchID=19475295&messageID=6558989
    https://forums.sdn.sap.com/click.jspa?searchID=19475295&messageID=6559113
    Ludek

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • Logon Screen when opening a Crystal Report from Add-on

    Hello everyone,
    I have a problem that I've been trying to solve. I have an addon that opens a Crystal Report with the information that the user wants. I tried it in SBO using a SQL db and it worked without problems, but now I've test it in SBO using IBM DB2 db (the client has that db implemented) and the report doesn't open, instead of the report it appears a log in screen asking for the server name, database, user and password.
    I've tried every possibility without success, it returns a message saying that my login is not correct, the thing is that all I've written in that login screen is the correct info, even tried many possibilities... and I can't access to the report!
    I've searched lots of forums for an answer, but none of them helped me. Can anybody help me with this issue?
    Thank you very much,
    Regards,
    Mariana Mazzero

    in case you do sure that is just lose some dll file,I think maybe you can create a install package by using Visual Studio.
    you can create a form and put a crysyal object on the form. and use the wizard.
    Visual Studio will auto collect all dll you needed.
    than you can compare the file list,
    or, you can just install the package on the standalone PC.
    It's a stupid solution.
    but, I think it is effective. :P

  • Does BOXI support crystal reports with parameter references in formulas?

    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.

    Hi,
       In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
    This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
    The convert null values was added because those field were being used in the record selection and grouping.
    Regards,
    Vinay

  • Error deploying Crystal Report XI R2 to Enterprise - Failed to read paramet

    Error deploying Crystal Report XI R2 to Enterprise - Failed to read parameter object.
    I know this issue has been addressed several times and the solution recommended was to install Service Pack 2. I have done that. It started working for me too; however recently I got some error saying some UDF***.DLL is missing. I re-installed Crystal Reports XI R2 and Service Pack 2. Unfortunately though, this error is back. I have restarted the machine n number of times but keep on getting this error.
    My report file has dynamic parameters defined through command object (SQL Query). My understanding is that once I publish the report to BoE Enterprise, BO will create LOVs and BV's in the repository. Now that is not happening.
    has any one else had this issue before and resolved it?
    Thanks

    Hi,
    do you export your CR report in your BOBJ repository using an account with administrator rights?
    Regards,
    Stratos

  • Deploy Crystal Report via ClickOnce without .msi

    Hi,
    I would like to know whether it's possible to deploy Crystal Report without requiring admin rights from the installer.
    My program uses many 3rd party components. Most of them very heavyweight with licensing, COM objects etc but Crystal Report is the only one that needs a .msi install. Is it possible to include Crystal Report's dll with the application? I tried it but Crystal Report failed to load at the form saying there's something wrong with the installation (I didn't "install").

    Only way to distribute the CR runtime is via the MSM or MSI files. For links to the msm and msi files see [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki.
    Ludek

  • Failed to Load database information - Crystal report with XML as datasource

    Hello Friends:
    I am getting the attached error when i try to load the Crystal Report with XML as data source.
    I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
    Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
    CrystalDecisions.CrystalReports.Design.dll
    CrystalDecisions.CrystalReports.Engine.dll
    Please let me know what should be done in order to resolve this.
    Thank you!

    All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
    So. make sure you are on SP 9:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
    Remove your reference to CrystalDecisions.CrystalReports.Design.dll
    Add the following references:
    CrystalDecisions.Shared
    CrystalDecisions.ReportSource
    CrystalDecisions.Web (if web app)
    CrystalDecisions.Windows (if win app)
    I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • The Crystal Report (CR) add-on  SAP 8.8

    Hello everyone,
    were can i finde the The Crystal Report (CR) add-on  2008  for SAP 8.8 or is this the same like the Add On for SAP 2007?
    Is there such a Add On for 8.8 ?
    Thanks and regards,
    Indira

    Hi Michael,
    Is it compulsary to load the loginifo through ini file ?I can not get inifile class even in 2005.I tried this code instead of inifile,
    Dim logOnInfo As CrystalDecisions.Shared.TableLogOnInfo
            Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
            For Each tbCurrent In rptDoc.Database.Tables
                logOnInfo = tbCurrent.LogOnInfo
                With logOnInfo.ConnectionInfo
                    .ServerName = "MMCPL-SAP"
                    .UserID = "sa"
                    .Password = "sa"
                    .DatabaseName = "MMCPL_0708"
                    .DatabaseName = "Training_Test"
                End With
                tbCurrent.ApplyLogOnInfo(logOnInfo)
            Next
    But it gave error as login failed.
    I have created a crystal report using xsd file.I am calling the rpt file using u r code on the print event.Is this the correct way to create report in SBO ?

  • I'm getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I'm not getting this issue.

    I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.
    “This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

    BO does not run dynamic params through the report as would happen without BusinessObjects (BO) or Crystal Reports Server (CRS).  When you publish a report with dynamic parameters to BO/CRS, the prompt is published to the repository so that it can be accessed through the Business View Manager (which can be installed as part of the client tools).  In order for this to work a couple of things need to happen:
    1.  You need to be sure that you check the "Update Repository" box on the Save As screen the first time you publish the report.
    2.  Your BO/CRS user needs to have "view" access to the Crystal2013ReportApplicationServer in the Servers section in the CMC - in fact, the Everyone group should be given view access to the server in order for dynamic prompts to work correctly.
    3.  In the Business View Manager, the Administrator user needs to give your user, or, even better, a Crystal Developers group full control access to the "Dynamic Cascading Prompts" folder.
    Best practice for dynamic prompts in a BO/CRS environment is to actually create the prompts in the Business View Manager.  This will allow you to create a single data connection that can be reused and also create lists of values such that the same list or prompt can be reused by multiple reports.  If you just create the prompts in Crystal, you will end up with multiple data connections to the same database, the prompts will use the whole query for the reports to get the dynamic values instead of just a focused query to the lookup table that contains the values, and there ends up being lots of duplication and chaos.
    -Dell

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • How to use crystal report with php

    Hello every body
    can any body know how to use crystal report with php any helping material, code or tutorial for my problem ill be very thankful for helping me
    farooq

    Hello sir
    i am sudeep and i need to deploy crstal reports in php
    i want to integrate it in sugar crm (open source project(
    can u plz tell me how to do it
    i have written this code
    <?php
    //echo phpinfo();exit;
    $ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
    $crapp = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");
    //$crapp = new COM("CrystalRuntime.Application.10");
    $reportToRun="C:\Report4.rpt";
    $creport = $crapp->OpenReport($reportToRun, 1);
    //reportToRun=full path to *.rpt file
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['User ID'] = $user;
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['Password'] = $pass;
    //fomatType = integer 22=xls, 31=pdf etc
    $creport->ExportOptions->FormatType = $formatType;
    //type 1 is to output to a file I think 2 is email
    $creport->ExportOptions->DestinationType = 1;
    //location = full path to report output file
    $creport->ExportOptions->DiskFileName = $location;
    $creport->DiscardSavedData();
    $creport->Export(False);
    ?>
    thanks in advance

  • SBO Crystal Report 2008 Add-on on 64bit Windows 2008 Server

    Dear Friend,
    Do you have any experience on installing SBO Crystal Report 2008 Add-on with SAP B1 2007 B on 64bit Windows 2008 Server (SBS)? Could you please explain the exact reason for the following error on installation of the add-on on its final stage?
    Retrieving the COM class factory for component with CLSID {3E...} failed due to the the following error: 80040154

    [crystal report integration for SAP Business One|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/707f51b3-0b20-2b10-8daa-d8ee72ace309 [original link is broken]] version v2.0.0.7
    [Run time Download|https://smpdl.sap-ag.de/~sapidp/012002523100009351352008E/crruntime_120_mlb.msi]
    Thanks
    Krish

  • Deploying crystal reports 8.5 - error in exporting to RTF & PDF

    Hi guys. I'm at my wits end, trying to get a valid build of a legacy app running reports under Crystal 8.5 going.
    I've scoured google for days, and I've tried almost everything people have suggested. At the moment I've got the installer working, it installs and registers all the crystal dll's that everyone says are needed. However, when I try and and export a report to RTF or PDF (other options like excel work fine), it simply dies, doing basically nothing. The save to disk dialog just closes and nothing happens. If I rename or delete crxf_rtf.dll, the program will crash or hang, indicating that this is the file responsible for exporting to rtf.
    However, the only machine in our office that this will work on is one with a C:\Program Files\Seagate Software\crtslv.dll file.. Same kind of test indicates that on this machine, the above file is being used for exporting. So, where am I going wrong? It seems ludicrously difficult to find a straight, no-nonsense guide on how to deploy crystal reports 8.5; the official documentation doesn't even mention it! What is the easiest way to do this?
    I have tried several third-party options ( http://www.fryan0911.com/2008/09/crystal-report-85-runtime-files.html ) like these..
    Any ideas?
    Ok so here's a further breakdown with some more information; hoping it might help someone to come up with an answer...
    If I install a crystal "distributable", like the one linked above, and then install my project (with all crystal stuff turned off in the installer), everything works perfectly apart from exporting reports to rtf.
    If I make my own installer, following the Runtime.hlp and the crpe32.dep, and put all dll's in the windows/system32 folder (apart from two, can't remember their names), I get two different errors, depending on the version of crpe32.dll I use.
    One gives me "Error 20599: Cannot connect to SQL Server", whenever I try and run a report.
    The other gives me "Error 20000: N", whenever I try and run a report.
    Anything sound familiar here guys? I have dll dependency headache.
    Again, more info - I just checked out the PC's already in deployment (we had to re-do in the installer for some changes, the guys who did it originally aren't around anymore), and here is a list of the dll's installed on the machine.. what deployment method would this point to?  And how can I replicate it?  I'm not sure if I grabbed all the required DLL's from the client machine, as it didn't seem to follow the Crystal 8.5 deployment instructions, I could have easily have missed some? So I can't just use what I've got to create an installer and hope that it works...
    "C:\Windows\Crystal\P2LIFMX.dll"
    "C:\Windows\Crystal\p2lora7.dll"
    "C:\Windows\Crystal\P2lsql.dll"
    "C:\Windows\Crystal\P2lsyb10.dll"
    "C:\Windows\Crystal\p2sacl.dll"
    "C:\Windows\Crystal\p2sexsr.dll"
    "C:\Windows\Crystal\p2sfs.dll"
    "C:\Windows\Crystal\p2sifmx.dll"
    "C:\Windows\Crystal\p2smapi.dll"
    "C:\Windows\Crystal\p2sNote.dll"
    "C:\Windows\Crystal\p2sora7.dll"
    "C:\Windows\Crystal\p2soutlk.dll"
    "C:\Windows\Crystal\p2srepl.dll"
    "C:\Windows\Crystal\p2ssql.dll"
    "C:\Windows\Crystal\p2ssyb10.dll"
    "C:\Windows\Crystal\p2strack.dll"
    "C:\Windows\Crystal\p2bbde.dll"
    "C:\Windows\Crystal\p2bxbse.dll"
    "C:\Windows\Crystal\P2ldb2.dll"
    "C:\Windows\System32\crviewer.dll"
    "C:\Windows\System32\crxlat32.dll"
    "C:\Windows\System32\CRXML15.DLL"
    "C:\Windows\System32\CRXML15R.DLL"
    "C:\Windows\System32\CRXML15S.DLL"
    "C:\Windows\System32\CRxmlx07.dll"
    "C:\Windows\System32\CRxmlx07r.dll"
    "C:\Windows\System32\crypt32.dll"
    "C:\Windows\System32\cryptdlg.dll"
    "C:\Windows\System32\cryptdll.dll"
    "C:\Windows\System32\cryptext.dll"
    "C:\Windows\System32\cryptnet.dll"
    "C:\Windows\System32\cryptsvc.dll"
    "C:\Windows\System32\cryptui.dll"
    "C:\Windows\System32\Crystl32.OCX"
    "C:\Windows\System32\cscdll.dll"
    "C:\Windows\System32\cpeaut32.dll"
    "C:\Windows\System32\craxdrt.dll"
    "C:\Windows\System32\Crbas14.dll"
    "C:\Windows\System32\CRBAS15.DLL"
    "C:\Windows\System32\CRBAS15R.DLL"
    "C:\Windows\System32\Crdb214.dll"
    "C:\Windows\System32\credssp.dll"
    "C:\Windows\System32\credui.dll"
    "C:\Windows\System32\Crgup14.dll"
    "C:\Windows\System32\CRiadx07.dll"
    "C:\Windows\System32\CRiadx07r.dll"
    "C:\Windows\System32\Crinf14.dll"
    "C:\Windows\System32\Crinf914.dll"
    "C:\Windows\System32\Cror714.dll"
    "C:\Windows\System32\Cror814.dll"
    "C:\Windows\System32\crpaig32.dll"
    "C:\Windows\System32\Crpaig80.dll"
    "C:\Windows\System32\crpe32.dll"
    "C:\Windows\System32\Crsyb14.dll"
    "C:\Windows\System32\crtdll.dll"
    "C:\Windows\System32\Crutl14.dll"
    "C:\Windows\System32\CRUTL15.DLL"
    "C:\Windows\System32\CRUTL15R.DLL"

    Wow. I've never seen an app load all 3 SDKs in one go. the RDC, Automation Server, OCS and print engine APIs all in one (?!)Who wrote this app?
    Don't know - the app was written years ago.. It's all a bit messed up, i'm just the cleaner :S
    Once again, I have not a clue as to what SDK you are using.
    What Sp1, SP2, SP3? Do you have links to these?
    By SP3, I meant Windows XP Service Pack  3, 2, 1 - I've read around the net that Crystal 8.5 exporting breaks when you install sp3, and I thought that perhaps my deployments were failing because they were compiled on a sp3 box?
    There is also CR 8.5 Service Pack 3 - apparently it can make CR work on Vista/Win7?
    http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp
    I have tried installing on dev machine, recompiling installer and running on test box - doesn't seem to help..
    Do you have any machine where this actually works?
    Yep, it's working on the clients machine - that is the one suffixed as "AA" in the linked difference file above
    1st place to start is with a working app - is there such a thing? ^^
    Next you want to know what SDK you are using.
    Ok, so the VB6 app, under Project > References, lists : cpeaut32.dll
    under Project > Components, lists: Crystl32.ocx
    Is that any help?
    Then you want to know what dlls to deploy.
    Knowing the database connection type is good.  - ODBC
    Knowing the version of the db client that works is good. But that depends on having an actual working app.
    Do you have CR 8.5 designer and are you able to run and refresh the report there? 
    Yep, I have 8.5 designer, and I can run and export the report fine.. But when I run MODULES on it, it's referencing C:\Program Files\Seagate Software\Shared\ExportModeller.dll & crtslv.dll..  Which don't exist on the client machine at this point in time..
    I'd recommend you stop doing what ever you are doing, answer the questions and wait until I get back. As it is, you're all over the place and by the time I have a chance to reply, you're 1000 miles out in the bushes on your own. So, please answer the questions above and wait...

Maybe you are looking for

  • RAM confusion.

    Looking at upgrading one of my Macs. New RAM but can't get a definitive on what's best so any opinions greatly received. Read on.... Going to get Kingston and all the ones I've seen meet the specs but have some differences I'm not sure of; In additio

  • Ical: print calendar week starts with tuesday

    Every time I try to print my Calendar (iCal) calendars, they print with Tuesday (torek in Slovenian) as the first day of the week (in either Month or Week version). Always. I tried everything - turning some calendars on and off, and it doesn't help.

  • Help with a Java menu

    I am rather new to this so I appreciate any help you can provide. I was asked to add an additional choice to an existing drop down (mouse over) menu. I have added the additional choice and it appears when I preview it in a browser but for some reason

  • Refreshing Materialized View and (Bitmap) indexes

    In my data warehouse I have an MV that is re-built every night. 1. Initially it was fully refreshed, but dropping and re-creating was shown to be quicker as a general rule 2. It was sometimes sensitive to changes in the underlying objects 3. Its has

  • What are the problems in processing batch input sessions?

    hi, What are the problems in processing batch input sessions? How is batch input process different from processing on line? regards.