Using Crystal Reports in a C# com library

Hi,
we use CR (with the old RDC activeX) for one of our native C++ applications. Since RDC is no longer supported we try to migrate to CR XI V4.
We've created a C# com library that hosts the report viewer control and call library functions via IDispatch methods.
When trying to load a report we get an C++ MalformedURLException
Testcode:
ReportDocument rd = new ReportDocument();
rd.Load(@"test.rpt"); // Throws exception
I was able to trace back this to a call into xerces-c_2_1_0.dll:
void XMLURL::parse(const XMLCh* const urlText)
    // Simplify things by checking for the psycho scenarios first
    if (!*urlText)
        ThrowXML(MalformedURLException, XMLExcepts::URL_NoProtocolPresent);
    //  The first thing we will do is to check for a file name, so that
    //  we don't waste time thinking its a URL. If its in the form x:\
    //  or x:/ and x is an ASCII letter, then assume that's the deal.
    if (((*urlText >= chLatin_A) && (*urlText <= chLatin_Z))
    ||  ((*urlText >= chLatin_a) && (*urlText <= chLatin_z)))
        if (*(urlText + 1) == chColon)
            if ((*(urlText + 2) == chForwardSlash)
            ||  (*(urlText + 2) == chBackSlash))
                ThrowXML(MalformedURLException, XMLExcepts::URL_NoProtocolPresent);
urlText points to "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\java\CRConfig.xml". This file doesn't exist and is invalid in above context.
The above sample works fine when using in a standard C# application.
Any ideas ?
Gunnar

Daniel,
Thank you so much for your answer. It was very helpful. In the end, it didn't work but it helped me figure out what was happening. I use a different form for the reports and I had it coded in the form which report to use. I created a second form for the second crystal and then I used an if statement to choose the form and it worked like a charm.
Thanks so much again!

Similar Messages

  • Using Crystal Reports with Visual Studio 2008

    I have bin using visual studio 2008 for a while. I have just started using Crystal Report (which came with Visual studio) . I have an Access database connected with 3 tables, the first two table has two test fields and one index field, the third table has two text fields and two index field (of which one relates too one of the other tables).
    I have generated a crystal report on one of the tables using the wizard. I have then placed the crystalreportviewer in a form (as a test). When I run the resulting form, all I get is the column heading label but no fields being displayed. There is data in the table. All I need to know is how do is make sure that the reports are accessing the data in the table, through the datasets???.

    Hi,
    [Here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]] is the specific samples for you or [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450]
    And [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] is the link for the dev library.
    Hope this will work!!
    Amit

  • Using Crystal Reports for Ad-Hoc reporting

    Is Crystal Reports capable of ad-hoc reporting? If so what of the myriad of products is the minimum that I would need to get started?

    There are a few ways to get close to what you need.  The easiest way is to use Crystal Reports for Eclipse which is the product that contains an embedded version of the Cystal Reports designer.  This would allow users to design and connect the reports to datasources in a similar manner to Crystal Reports.  It isn't a fully featured version of CR, more of a basic version.  It will allow you to add charts, and you can open an already created template; the connectivity is limited to JDBC, JavaBeans, POJO classes, XML and Web Services.
    You can also use the Crystal Report Java SDK to create your own adhoc pages that will allow you to perform the functionality you designer.  The API will allow you to do nearly anything you can do within Crystal Reports.
    The above downloads are can be obtained freely from the Crystal Reports for Eclipse portal on SDN.  To distribute web applications internally, you do not require any additional licenses.  To sell your application or to distribute it externally, you require a Developer Advantage license.  See this link for more information about that:
    http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/eclipse/technicaldetails/index.epx
    For more information about the SDK and Embedded Designer, have a look at the Crystal Reports for Eclipse 2.0 Developer Guide AND API reference documentation in the SDK Library, the Business Objects Portal, on http://www.sdn.sap.com .

  • Can i Use Crystal Report Add-on in SBO 2005 B PL 25

    Hi all,
    I am using SBO 2005 B PL 25, I like to use Crystal Report Add-on with this version and PL.
    Can I use It ? From Where I have to download the Add - on ? How to Install ?
    Can anybody guide me on this issue ?
    With Best Regards,
    Chintesh Soni

    HI ,
    Please go through the link.
    http://72.14.235.132/search?q=cache:sZ8kQ1GEamMJ:https://www.sdn.sap.com/irj/scn/downloads%3frid%3d/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12CRYSTALREPORTSINTEGRATIONFORSAPBUSINESS+ONE&hl=en&ct=clnk&cd=1&gl=in
    Rgds,
    Premraj

  • Performace Issue using Crystal Report For enterprise and BEx Queries

    Hi all;
        We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
        |7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380|  56|ModalContext    | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    java.lang.AssertionError
         at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
         at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
         at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
         at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
         at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
         at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
    Best Regards
    Anis

    Venkat,
    Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 >  Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
    K
    Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • Server error in printing in server using crystal report 2008 with VS2008

    Hi,
    We are using Crystal report 2008 in VS 2008. Everything working fine in local but when we deployed it in the server we are getting the below while print the report.
    "An error occurred on the server. Printing will be stopped. Would you like to view the error information"
    Anyhow the report is printing but I don't know why this error is occur and how to stop this. I had installed the CR runtime in the server. I dont know what is going wrong. The same we tested locally in a non crystal report installed PC.
    Please help me to get rid out of this error.
    Thanks
    Natraj

    Soemthing strange going on here.
    Typically this Integrated vs Classic is an issue with images where Classic uses web.config tags between <system.web><httpHandlers><u2026 crystalimagehandler../></httphandlers></system.web>
    Integrated uses tags between <system.webserver>u2026<handlers><..crystalimagehandler/></handlers></system.webserver>
    Not sure why this would affect printing.  Do you have tags that specifying where to download the printcontrol from?  On the other hand, I would think that if images had anything to do with it, then you'd get red Xs when viewing.  As far as I know, the printcontrol.cab doesnu2019t need to be specified in the <system.webserver> tags.
    This one may be best resolved over the phone. Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Ludek

  • Using crystal reports to generate invoices

    Post Author: samme
    CA Forum: General
    I'm writing a report for a client who wants to print multiple invoices using crystal reports.  The invoice needs to sort in date order, one date and information associated with that date on each page.  Each page has a subtotal since multiple items/services are linked ot one date.  The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal.  Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
    The client wants the normal invoice information on the first page of the invoice:  Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
    On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
    I have the report grouped by invoice number and then by a date formula.  I cannot seem to get where I need to be with this invoice and have been working on it for some time.  Can anyone give me some direction please..... 
    Thanks in advance!

    On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
    <[email protected]> wrote:
    >I know. We thought that the Report Builder would be the way to go,
    since
    >ART didn't do too much for us. You guys poorly document it, and,
    show no
    >examples of using it to build a report. In addition, it'd be nice if
    >SOMEONE would come up with a list of what tables show what. While
    Novell
    >may have a detailed list of things in the ZFD docs, it's pretty much
    so
    >detailed and complex that, it's next to useless. I've resorted to
    doing
    >huge dumps of things to a csv, then, using CR or Excel to generate
    some kind
    >of report.
    >
    >The whole process is not as easy as it should be, seeing that we paid
    money
    >to get a reporting vehicle.
    >
    >As comparison, SMS isn't any easier, but, there's more documentation
    on it,
    >so, when you're forced to roll your own report, it's a clearer
    path...
    I do understand, I'm not a programmer either :-(
    the company who wrote report builder is Digital Metaphors, they have a
    very good
    training application and additional detailed information of how to
    write
    reports.
    The CIM schema is I agree Cr** (well not easy) and without the detail
    that
    Novell provide it doesn't work.
    I hope that a friend of mine is going to provide the compromise that
    you and I
    are looking for. Namely the ability to create the SQL queries that
    ART can
    make, with a simple report system. Keep an eye on caledonia.net for
    an
    announcement for ART4 (Derived from but unrelated to Salford
    Software's
    product) :-)
    Tim
    No Direct e-Mail Please!
    Tim Heywood
    Independent Consultant
    Scotland
    Novell Support Connection SYSOP
    In theory, practice and theory are the same,
    In practice they are different!

  • Logon Failed using Crystal Report XI

    I wrote a VB 6 app that has the CRViewer and calls (.rpt's). The ".rpt's" use a MS Access 2003 database. This database DOES NOT have any security in the way of passwords. This application runs on a "stand-alone" system NO SERVER IS INVOLVED.
    The program and Crystal Reports work fine on my system. About a week ago, I tried to install Crystal Reports Release 2. I had a lot of problems. I deleted it and re-installed CR from my install cd's. Ever since then, I have had the following problem:
    I use MS Package and Deployment system to create the "Setup and Install" package. Ever since the above problem with Release 2, when I install and run the package on a different system, when I try to access the reports, I am getting a "Logon Failed" error message. PRIOR to trying to install Release 2, I never had this error message. I have no idea what is causing the problem.
    I even deleted and recreated the database--same problem exist.
    I have a very small scale-down version of this app. Is there any way I can send a "zip" file to you?
    Please, I have a deadline on this project. I need some serious help ASAP.
    In an effort to help resolve this problem, here is code from the scaled-down version: Prior to running this code, ReportPath = App.Path and ReportName = "Report1.rpt"
    This code is from my CRVIEWER form:
    Private Sub Form_Activate()
    Set craxreport = craxapp.OpenReport(ReportPath & "\" & ReportName)
        If ReportName = "Report1.rpt" Then
        End If
    DoReport:
        DoEvents
    ' ==============================================================================
        Screen.MousePointer = vbHourglass
        crviewer1.Refresh
        crviewer1.Zoom "100"
        While crviewer1.IsBusy
            DoEvents
        Wend
        crviewer1.ReportSource = craxreport
        crviewer1.Refresh
        crviewer1.ViewReport
        crviewer1.Refresh
        Set craxreport = Nothing
        Screen.MousePointer = vbDefault
    End Sub
    Private Sub Form_Load()
    Set craxapp = CreateObject("Crystalruntime.application.11")
    End Sub
    Private Sub Form_Resize()
    Me.Height = Screen.Height
    Me.Width = Screen.Width
    Me.Top = 0
    Me.Left = 0
    crviewer1.Top = 0
    crviewer1.Height = Me.ScaleHeight
    crviewer1.Width = Me.ScaleWidth
    frmCRPrint.Refresh
    End Sub
    This code is the "Connection" string:
    Public ReportPath As String
    Public craxapp As New CRAXDRT.Application
    Public craxreport As CRAXDRT.Report
    Public CRXDatabaseField As CRAXDRT.DatabaseFieldDefinition
    Public ReportName As String
    Public pconSports As ADODB.Connection
    Public Sub OpenConnections()
    Set pconSports = New ADODB.Connection
            pconSports.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Sports.mdb" & ";Persist Security Info=False"
            ReportPath = App.Path
        pconSports.Mode = adModeReadWrite
        pconSports.Open

    OK, a few details to go over.
    You do not need all of the below references:
    Crystal ActiveX Report Viewer Library 11.0
    Crystal Reports ActiveX Designer Design and Runtime Library 11.0
    Crystal Reports ActiveX Designer Library 11.0
    Crystal Reports ActiveX Designer Run Time Library 11.0
    As long as you are not using report creation APIs, you only need
    Crystal ActiveX Report Viewer Library 11.0
    Crystal Reports ActiveX Designer Run Time Library 11.0
    Which means you'd be using the craxdrt.dll (Dim myApp as New Craxdrt.Application), and the MSM files you need would be; crystalreports11_RDC_Runtime.msm, crystalreports11_RDC_license.msm (you need to add the keycode to this) and crystalreports11_RDC_reportEngine.msm.
    If you are using report creation APIs, you do not need Crystal Reports ActiveX Designer Run Time Library 11.0.
    Re. creation of deployment package:
    I reloaded CR XI on my Development System Build 11.0.0.895
    I installed CR XI on my other PC(Test) Build 11.0.0.895
    During the creation of the Install Package using MS Package and Deployment System
    I do not believe the MS Package and Deployment Wizard that came with VB 6 can handle MSM files(?). To use MS files, you have to use something like MS Visual Installer, InstallShield, Wise, etc.
    Ludek
    Edited by: Ludek Uher on Oct 23, 2008 6:30 AM

  • Deploy Visual Basic 6.0 RDC application using Crystal Reports 9 on Windows Vista

    Post Author: albe
    CA Forum: General
    When attempting to deploy a Visual Basic 6.0 Report Designer Component (RDC) application using Crystal Reports 9 on Windows Vista systems, the application fails after the first print or preview (that show normally) and an error occurred: -2147417848 Method '' of object '' failed.
    The app use the RDC and Active Data; I verify that the problem is encountered when the app calls the 'SetDataSource' method.
    I tried everything that came in my mind: reinstalling it a few times, with administrator priviledges, disabling uac, manually registering dlls, ...
    I hope that this will be fixed, since Crystal Report 9 is the last CR version compatible with windows 98.
    thanks in advance,
    Alberto

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • Error when use Crystal report Bundled Version with Vs2003 on Windows Vista

    Post Author: MartinoLuccarelli
    CA Forum: .NET
    Hi,  I have developed a software with Vs2003 that uses Crystal report Bundled Version.   I have created a Installation package that include the merge modules,   and i have entered the Licence Key for Crystal_regWiz2003 module.    If i install and use the software in the computer with XP or Windows 2000 I do not have problems.    But when i install the software on the PC with Windows Vista i have this error when the probram show a report "Operazine di Crystal Report non Riuscita perche' non e' stato possibile ottenere una licenza gratuita nel tempo allocato"  Thank's

    Uninstall CRVS2010 that you currently have installed.
    To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325  - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
    Reinstall CRVS2010 SP1 from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    - Ludek

  • Having trouble opening Crystal Report files from a document library

    I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
    a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
    I have referenced for possible solutions:
    http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
    http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
    Here are the steps I have done to try to get the .rpt files to open:
    Added the Crystal Report extension .rpt as a MIME type
    Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
    Installed the 64-bit Crystal Reports runtime
    I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
    I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
    I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
    Thank you,
    Alex

    We are having the exact same issue, has anyone resolved this yet?

  • Problems with concurrency tests using Crystal Reports for VS 2005

    Post Author: condeagustin
    CA Forum: General Feedback
    Hi
    My name is Agustin and Im using Crystal Reports for VS 2005
    and NET 2.0 to generate pdf files. This is the scenario:
    I created a COM+ object in c# and everytime the
    COM+ creates an instance of this object, the following flow is executed:
    it reads an xml file from a database, then it feeds the report with this
    xml file, afterwards it generates a pdf file and finally this pdf file is
    inserted into the database. Both fields (xml and pdf fields) are varbinary in the
    same table in sql server 2005. All the flow from reading the xml to inserting
    the pdf into the database is executed in memory, it never goes to the hard
    disk. In other words both the xml and the pdf file are stored in memory (the
    RAM). That is the only function of that COM+ object and I already have it in a
    production server and it works GREAT!!
    The PROBLEM is the concurrency tests. I made the following tests
    in the same production server:
    1. First I went to the registry and I set the PrintJobLimit to
    100 in HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.2Report Application
    ServerServer
    2. I shut down the object in the COM+ and I executed 100
    threads all at the same time. Each thread created one instance of the object in
    the COM+ and the 100 pdfs were generated SUCCESFULLY in 5 minutes!!
    3. Then I executed again 100 threads (WITHOUT shutting down the
    object in the com+). 10 pdfs were generated succesfully but the rest were
    never generated and there was no exception because my object was NEVER
    INSTANTIADED in the COM+, I mean, the 90 instances were never created in the
    COM+, so my object was never executed, THAT IS MY PROBLEM!! Do I have to
    modify something in the registry files of crystal reports to fix this? What can
    I do? I have revised the code in that object a LOT OF TIMES and believe me,
    everything is being closed and disposed at the end (the memory streams, the
    ReportClass objects, the connection to the database, even the dataset used to
    store the data of the xml file!
    So to sum up the problem is not with the execution of my object
    (cause once is created the object works great and the pdf is generated
    perfectly!), the problem is with the com+ TRYING to create another instance
    of my object given that test scenario. Help me please, What do you
    suggest?
    The production server has this specifications:
    Operative System: Windows Server 2003 Enterprise Edition with Service Pack 2
    Processor: Dual Core AMD Opteron 2212 2.00GHz
    RAM: 820MB
    Hard drive: It is partitioned in 2 drives --> C
    drive has 20GB and D has 60GB
    Note: Each generated pdf has only one page and if you bring it
    to disk its maximum size is 56KB
    I hope your answer and thank you
    Agustín Conde Martí

    Post Author: John Werner Enoksen
    CA Forum: General Feedback
    Hi, im about to write a simular solution where I will use VS2008/Com+ to be in compliance to an existing solition written in VB6.0, so I was googling to look for bumps. Did you figure this one out?
    Best regards,
    John Werner

  • Using Crystal reports in JSP

    Hi,
    I want to use Crystal report in jsp . I am running the jsp files in tomcat apache4.0 server.
    while executing the jsp files in tomcat , following class files are not being found:
    import="com.crystaldecisions.sdk.occa.report.application.*,
    com.crystaldecisions.sdk.occa.report.data.*,
    com.crystaldecisions.sdk.occa.report.lib.*
    can anyone plz tell where to get the required JAR file containing this classes or how to use crystal report in jsp.
    Regards,
    tommy

    The jars should be in your installed Crystal Reports folder( \Crystal Decisions\..\java\lib or something like that...). The problem is that your server (Tomcat and others) ignores the system classpath completely (it sets its own in its startup script).
    Therefore, in order for Tomcat to find the jars, those jars have to be placed in in %CATALINA_HOME%\common\lib\. There, they will be available for all your applications. If you don't want them available globally, put them in your particular webapp's WEB-INF\lib directory.

  • Again: Using Crystal Report to export excel sheet.

    Morning every one, first Iu2019d like to apologize for my last question see Using Crystal Report to export excel sheet. Itu2019s pretty hard to understand and wastes your precious time. Now here is a new one hopefully it will do myself a lot of help:)
    First, we have a table called HOURLY_PORTUTIL in the Database:
    Column Name...........Data Type  
    STARTTIME ................DATE
    CIRCLE.......................VARCHAR2
    SERVICENAME...........VARCHAR2
    PORTUTIL....................NUMBER
    The data in this table looks like:
    9/25/2008 00:00:00 AM...AP...(456)...0.01
    9/25/2008 01:00:00 AM...AP...(456)...0.04
    9/25/2008 02:00:00 AM...AP...(456)...5.04
    9/25/2008 12:00:00 PM...AP...(456)...0.02
    9/25/2008 00:00:00 AM...AP...AL-MOD...0.01
    9/25/2008 01:00:00 AM...AP...AL-MOD...0.04
    9/25/2008 02:00:00 AM...AP...AL-MOD...0.04
    9/25/2008 12:00:00 PM...AP...AL-MOD...0.02
    9/26/2008 00:00:00 AM...AP...(456)...1.01
    9/26/2008 01:00:00 AM...AP...(456)...0.34
    9/26/2008 02:00:00 AM...AP...(456)...5.24
    9/26/2008 12:00:00 PM...AP...(456)...7.72
    9/26/2008 00:00:00 AM...AP...AL-MOD...12.0
    9/26/2008 01:00:00 AM...AP...AL-MOD...0.23
    9/26/2008 02:00:00 AM...AP...AL-MOD...0.44
    9/26/2008 12:00:00 PM...AP...AL-MOD...8.11
    9/25/2008 00:00:00 AM...Delhi...(456)...1.01
    9/25/2008 01:00:00 AM...Delhi...(456)...2.04
    9/25/2008 02:00:00 AM...Delhi...(456)...6.04
    9/25/2008 12:00:00 PM...Delhi...(456)...7.02
    Then we have a Cross-Table:
    Columns:
    .............HOURLY_PORTUTIL.SERVICENAME
    Rows:
    ............HOURLY_PORTUTIL.CIRCLE
    ............HOURLY_PORTUTIL.STARTTIME
    ............@hourly
    Summarized Fields:
    ..............................Sum HOURLY_PORTUTIL.PORTUTIL
    The Formula @hourly converts, say, '9/25/2008 01:00:00 AM' to '01:00-02:00'.
    The above all is the information of our Cross-Table configuration, but the outcome is not what we want. I find that this forum doesn't want the user to post image, so I post the actually outcome and the outcome we want in my Picasa.
    Actually outcome:
    [http://picasaweb.google.com/enel.guo/ForWork#5288743968250408770]
    What we want:
    [http://picasaweb.google.com/enel.guo/ForWork#5288743974292750610]
    I know that the outcome looks good enough, but our customers don't think so. They want export the report to Excel sheet and have every row with exact CIRCLE and STARTTIME.
    Thanks again guys:)

    Hi  Ashwini Yadav,
    Thanks for your reply:)
    I'm afraid that your answer is not perfectly right. Again I'm sorry for my vague description. The suggestion you gave us is already adopted. The total and grand total part disappeared but we still can't get what we want.
    Please have a look at the new image link below, Hopefully it will give you a clear picture of what's going on:)
    Cross-table:
    [http://picasaweb.google.com/enel.guo/ForWork#5289122850514299506]
    Cross-Table configuration:
    [http://picasaweb.google.com/enel.guo/ForWork#5289123604007267826]
    Cross-Table configuration::
    [http://picasaweb.google.com/enel.guo/ForWork#5289122854967734466]
    The original output:
    [http://picasaweb.google.com/enel.guo/ForWork#5289120017105336914]
    The output we want:
    [http://picasaweb.google.com/enel.guo/ForWork#5289120018508824882]
    Edited by: Yu-Lin Liang on Jan 9, 2009 3:51 AM

Maybe you are looking for

  • Is there a way to open PDF's in InDesign?

    Is there a way to open PDF's in InDesign?

  • Words/Phrases That Throw Up Red Flags for You

    I was working on an issue in the PrPro Forum (this THREAD), and the word "hacked" came up. I assume that the user had flashed his firmware in his camera to attain some feature, that it was not originally intended to have. This got me to thinking abou

  • Can't import RAW files from a Canon EOS 450D

    Hi there, I have a number of photos that I have taken in RAW & JPeg.  The Jpeg are importing fine into Aperture, but the RAW files are just coming in as completely black images.  Is there an option I need to select to get these in properly.  Thanks i

  • How to block PO modification

    Hi all How to block PO modification right in following scnerio 1)We have level 1-2-3 PO release strategy Level 1 will create PO & modify the PO before his release. After Level 1 release he can not modify the PO.This PO will modify by level2 & after h

  • Adobe Flash Player installation trouble

    First off, my apologies for this not being an 'Installation and Setup' issue with Leopard itself. Being prompted everywhere to download the new Flash player (Version 10+ I believe) I have, but I'm having one very annoying and probably very simple iss