How do I deploy my Crystal Reports webapp???

Post Author: figue
CA Forum: .NET
Hi, i've developed a web application using Visual Studio .Net and using the Crystal Reports for Visual Studio 2005. I've read almost all the "how-tos" that are available on the net to solve my situation, but i couldn't manage to deploy my application.
I have no physical access to the web server, and i cannot execute a .exe or a .msi installer (i cannot use the "merge modules" solution).The only solution i think may help me is copying the Crystal Reports dll's to my BIN folder and using those dll's instead of using the GAC references.Here's what i've done:- I copied all the dll's that I found on Program Files/Common Files/Business Objects/2.7/Managed into my app's BIN folder.- I deleted all the references to the Crystal Reports' assemblies from my solution's property pages. FIRST PROBLEM: The references were deleted, but when I closed the solution, and opened it again, all the references returned.. After trying again and again, they finally dissapeared.- I tryied to add the references to the dll's that were into my app's BIN folder, but when I browse the file, select it, and accept the dialog box, nothing happens. No reference is added into the References window.- I tryied to add the GAC references again, to return to the previous state, but it's the same, i select the reference from the GAC and when i accept the dialog box, nothing happens.- I thought that maybe my pc has some troubles with the installed versions of crystal reports (i hace 8.5, XI and CR for VS 2005 installed), so i created a Virtual Machine, Installed VS 2005 and created a new web application with one .aspx and one .rpt and tryied to change the GAC's references for the BIN's DLLs. The same thing happend.
Can somebody please help me? I'm gettin' really tired of trying and trying things and not gettin' in solved.
Regards from Argentina

Post Author: Ted Ueda
CA Forum: .NET
Unfortunately, xcopy deployments of Crystal Reports .NET assemblies won't work, since they rely on some dll's via COM-Interop.
Those components have to be registered on the server - via merge modules install - and regretably, you're restricted from doing so.
Sincerely,
Ted Ueda

Similar Messages

  • Deployment of Crystal Report

    I am getting this error when iam deploying a crystal report website. I need help pliz.
    Server Error in '/ftreports' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 22:           <xhtmlConformance mode="Legacy"/>
    Line 23:           <httpHandlers>
    Line 24:                <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    Line 25:           </httpHandlers>
    Line 26:      </system.web>
    Source File: C:\ftReports\web.config    Line: 24
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

    <p>There&#39;s not enough info to help troubleshoot the issue as there could be many reasons for the error to occur. One thing that does come to mind is that you may be missing a runtime file. Make sure you used the Crystal Reprots merge modules (msm) or the windows installer (.msi) to install the CR runtime on the web server. There&#39;s a lot of info on the BOBJ support site and the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> on how to deploy CR applications.</p><p>It might be worth calling the BOBJ support team to help troubleshoot in case there is some specific configuration in your deployment that could be causing the error.</p><p>-MJ</p>

  • How to incorporate ratio in Crystal Report?

    Hi,
    I am new in Crystal report and had no technical background.
    I would like to  know how to build ratio in crystal report? The draft layout as below:
                                                  (RM)        %
    Sales Revenue                        A           (A/A)*100
    Cost of sales                           B            (B/A)*100
    Where A and B are formula in crystal report.
    Regards
    Thomas

    Hi Thomas,
    Ratio is just a result by division.  If you take one field over another as a denominator, you got your ratio.
    Thanks,
    Gordon

  • How to do this in Crystal Report

    I have table a and table b in two database.
    I made connections. Want to implement this kind of query in
    CR.
    How can i do this using add command?. Is it possible to type
    in below query in add command of one database and make it work?.
    table a and b are in two data database connection.
    select * from a
    where a.id not exist
    (select b.id from b where a.id = b.id)

    i need to set where condition in crystal report like count {table.support} where ({table.support} = "others")
    support
    others others myself parent others
    then the result should be : 3
    how to do this in crystal report ? i'm just a newbie in crystal report.
    You should go on a Crystal reports forum for your version of Visual Studio and Crystal reports probably.
    SAP Crystal Reports, version for Visual Studio
    Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
    will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads.

  • DEPLOYMENT OF CRYSTAL REPORT IN SAP B1

    Dear sir
    I want to deploy my crystal  report in to sap b1
    ant want that onle permited user can see that
    please help me
    Regards
    Anand Kmar Pandey

    Hi Anand.....
    You can import Crystal Reports and you can give Authorization for Crystal Reports like normal Authorization as SAP has that Provision.
    Please check this video regarding Crystal reports.....
    http://www.youtube.com/watch?v=bKLtTDNpQMM
    Regards,
    Rahul

  • How to create user editable Crystal Report with dynamic dataset

    What I would like to achieve:
    A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
    What I do:
    CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    CrReport.Load(TemplateFilename)
    Dim Results As DataTable
    DataTable is filled from a database
    CrReport.SetDataSource(mResults)
    CrReport.SaveAs(NewReportPath, True)
    The NewReportPath is opened in the default program.
    What are the problems
    The report is open in preview mode (not in design).
    When the field is added to the report the designer asks for XML datasource on preview.

    The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?

  • 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

  • How to connect Java to crystal report

    How to connect java with crystal report ?
    Which are the API's for that

    In all this time you never considered searching?
    Cross post
    http://forum.java.sun.com/thread.jspa?threadID=791154

  • MOSS 2007 deployment of Crystal Report

    Hi
    How do i integrate the crystal reports built in .NET2005 professional edition into MOSS 2007.
    Also what will be the redistributable components for the Crystal Reports to work on Production environment.
    Thanks
    Prashant

    The Crystal Reports that comes with VS 2005 comes with a .NET SDK and a Web Form Viewer. I'm not up on MOSS 2007 yet but I believe you should be able to integrate a .NET app and Web Form Viewer with MOSS.
    The redistributables come as a MSI installer for your server and are available here.
    http://support.businessobjects.com/downloads/runtime.asp
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • How to interpret or calculate Crystal Report Performance Timing?

    HI,
    I have been trying to interpret the Performance Information/Performance Timing of a Crystal Report. When I access this information from Crystal designer menu I see several fields but I don't know exactly which one gives you the total execution time in miliseconds or how do you calculate the total time using the fields.
    Help to interpret the following information will be appreciate. Example:
    MainReport.rpt
    Open Document:   0 ms  
    Run the Database Query:   703 ms  
    Read Database Records:   92 ms  
    Format First Page:   949 ms  
    Number of pages formatted:   2   
    Average time to format a page:   474 ms  
    Number of page starts generated:   13   
    Average time to generate a page start:   13 ms  
    Subreport.rpt
    Run the Database Query:   4 ms   For all instances
    Read Database Records:   2 ms   For all instances
    Number of page starts generated:   3   
    Average time to generate a page start:   0 ms   For all instances
    Number of subreport instances formatted:   1   
    Time to format all subreport instances:   38 ms
    Thanks!

    Have you seen this post:  [Needing to monitor the report run time and produce the dates/time on my rpt;

  • How to do this in Crystal Reports

    hi all,
    i want to fetch the text line from PO to my Crystal Report [Please see Image|http://i264.photobucket.com/albums/ii184/abing430/PLD-Crystal.jpg] i been able to do this in PLD but i cannot do it in Crystal report.
    regards,
    Fidel

    Have you tried reviewing the SAP standard crystal layouts to see how it is done there?

  • How do I open a Crystal Report from Microsoft Access?

    I'm looking for step-by-step instructions on how to launch a Crystal Report from a Microsoft Access application (for a dummy like me).
    My Crystal Report uses a connection to the Access database as the data.
    I have Microsoft Access 2002 with Microsoft Visual Basic 6.5.
    I have Crystal Reports 2008 CR Developer 12.
    I'll need to know where to find the Visual Basic code references, and/or ActiveX Controls, if applicable.
    Thanks
    Janeen

    I concur with Don. Just a bit of help - a sample VBA app is here;
    https://smpdl.sap-ag.de/~sapidp/012002523100006013432008E/rdc_vba.exe
    But as Don mentioned, you will have to downgrade to CR XI r2 (or lower) to implement the above solution.
    Ludek

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

  • How to set Formulas in crystal reports 2008

    Hi,
    I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
    CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
    CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
    CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
    Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
    Any code snippet would be of great Help.
    Thanks in Adnvance.
    Ramnath

    Something like this:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    Also, see the Developer help file:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    API reference:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm
    and [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    And don't forget to use the search box at the top right of this page before posting to the forums...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Jul 26, 2010 8:57 AM

  • How to compare dates in Crystal Reports 2008

    Hello,
    I cannot figure out how to compare the dates in the Crystal reports.
    I need all dates that are in the future to be displayed with the green font.
    So in the formula for the font for this texbox I've tried to use different
    formulas like:
    If DateDiff("d", CurrentDate, {DevelopmentTracking_SELECT.Anticipated}) > 1
    Then
         crGreen
    or
    If {DevelopmentTracking_SELECT.Anticipated} > CurrentDate Then
         crGreen
    (where DevelopmentTracking_SELECT is the stored procedure, and Anticipated
    is a date field).
    None of them worked. All dates are treated like they were in the past
    comparing to the CurrentDate. If I reverse these formulas like:
    If {DevelopmentTracking_SELECT.Anticipated} < CurrentDate Then
         crGreen
    then all dates turn to green, otherwise they always stay black.
    What could be a problem here?
    I would appreciate your help.
    Thank you.

    OK, got it, thank you. It worked.
    However, I also need to use another field value which is not on the report, like this:
    If CurrentFieldValue < CurrentDate And {DevelopmentTracking_SELECT.Completed} = False Then
    crRed
    DevelopmentTracking_SELECT.Completed is not on the report.
    Is it possible to use it with the cross-tab?

Maybe you are looking for