Running multiple Crystal engines

Hello,
Currently, we have an application that has worked quite well with multiple crystal engines installed.  A client can have a report that exports as they expect in say Crystal Reports 10 and also create new reports against Crystal Reports 11 (or Release 2).  The client specifies (within a table in the our DB) which version of crystal to use with a given report and we have a report engine factory that returns the appropriate crystal engine to use for processing the report.
Now the problem...
I recently brought down the trial version of Crystal Reports 2008 and have attempted to create a .NET factory to deliver this report engine.  If I only have Crystal Reports 2008 accessed from our application, it will work as expected (for the most part - some features from the RDC no longer exist - but that is another story).  As soon as I attempt to run a report that requires a different crystal engine, the next engine in always fails.
For example, if I run a Crystal 11 report after a successful Crystal 2008 report I will receive an "Invalid TLV record" error during the call of the "OpenReport" method.  At first I thought this was a possible bug in my code, but if I do the opposite (run the Crystal 11 report first then Crystal 2008), the Crystal 11 report will work without problems and then a Crystal 2008 report I will receive the error "Retrieiving the COM class factory for component with CLSID XXX failed due to the following error: 80000003" during the "OpenReport" method.
Has anyone else experience this problem?  If so, is there a way to work around it?
Thanks in advance any help you can provide,
Tom

Jason,
Thanks for the response!
OK, so I still think this is a problem and I've proven it by only writing .NET code.  Here is what I did.  I created three C# projects within a solution:
1. A Crystal 11 Release 2 project that simply implements an interface that has three methods on it (OpenReport, RecordSelectionFormula, and CloseReport).  This project implements the .NET Crystal objects from Crystal 11 Release 2).
2. A Crystal 2008 project that simply implements an interface that has three methods on it (OpenReport, RecordSelectionFormula, and CloseReport).  This project implements the .NET Crystal objects from Crystal 2008).
3. A Windows project that simply calls on both of the above projects (both are referenced in this project) and calls "OpenReport", then "RecordSelectionCriteria" (in a MessageBox), and finally "CloseReport".
"OpenReport" - uses ReportDocument.Load.
"CloseReport" - uses ReportDocument.Close - extremely slow process!!!
"RecordSelectionFormula" - uses ReportDocument.RecordSelectionFormula (my interface implements a set/get)
As you can see I'm using NO COM at all.  When running this test project, I get the "Retrieving the COM class factory for component with CLSID XXX failed due to the following error: 80000003." error even in this case.
Below is an example of the "Windows project" code.  I have the entire example in a zip file that I can deliver to someone if they want to see exactly what I'm talking about.  I just didn't see a way to attach the example zip file with this post.
=====================================================================
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace TestProj
    static class Program
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            try
                TestProj.CrystalEngine crystal11Release2 = new CrystalEngine();
                crystal11Release2.OpenReport("Place your report name here...");
                MessageBox.Show(crystal11Release2.RecordSelectionForumla);
                crystal11Release2.CloseReport();
                // You will see this error with a COM error even though no COM is being used in the project???
                TestProj.Crystal2008 crystal2008 = new Crystal2008();
                crystal2008.OpenReport("Please your report name here...");
                MessageBox.Show(crystal2008.RecordSelectionForumla);
                crystal2008.CloseReport();
            catch (Exception excep)
                MessageBox.Show(excep.Message);
            Application.Exit();
=====================================================================
Just to reiterate, I have no COM implemented in this example and yet the same problem occurs.
Any assistance with this problem would be greatly appreciated.
Thanks again,
Tom

Similar Messages

  • Run multiple reports simultaneously?

    Hi All,
    We currently use a reports server with our oracle application server 10g install. The one problem we are experiencing is that when multiple reports are running all have to wait while the current one finishes. Is there a way to set up the reports server to run multiple reports at the same time instead of one after the other?
    Thanks
    Troy

    hi,
    1st take a back up of original rep_<reportservername>.conf file and den make changes in report parameters as follows
    initEngine="3" maxEngine="4" minEngine="3"
    and then restart the OC4j Bi forms,for the parameters to take effect.
    The above setting means 3 reports engines will be always ready n initialized..
    Once done,check it how does it perform..
    if your still facing problem then create a new standalone report server and make one of ur application to point to this report server
    If you want to create a standalone reports server and you DO want to administer
    it via OPMN and EM then please use the following steps. **
    1- MIDTIERHOME\BIN> addNewServerTarget.bat reports_server_name
    2- MIDTIERHOME\opmn\BIN> opmnctl reload
    3- MIDTIERHOME\opmn\BIN> opmnctl startproc ias-component=<reports_server_name>
    4- MIDTIERHOME\opmn\BIN> opmnctl status
    PREREQUISITE:
    When registering a standalone report server with OPMN/EM, if the report server
    is running at the time the addNewServerTarget.bat (or, in unix:
    addNewServerTarget.sh) command is invoked, the Report Server needs to be stopped
    manually first (ie. in unix: "kill -9 pid" -OR- "rwserver.sh
    server=report_server_name shutdown=immediate authid=username/password &) BEFORE
    the opmn registration using the 'addNewServerTarget' command is performed.:
    Regards
    Fabian

  • Run multiple reports through SOAP call,

    Hi Folks,
    We are able to run a single report at a time through SOAP call , But Is it possible to run multiple reports at a time?
    Is there any solution for it or any other way to do it?

    Hello,
    By default, the reports server is configured with maxEngine=1
    It means that ther eis only one engine and only one report can be executed at a given time.
    You can increase this value in the file rwserver.conf in order to allow several reports engines to be launched by the reports server and several reports being executed at the same tilme.
    regards

  • Multiple Adapter engines

    Can anyone confirm if XI 2.0 supports multiple Adapter Engines on different hosts?
    Thanks

    Yes, the XI 2.0 supports multiple adapter engines.
    Only the RFCAdapter should be installed on the XI 2.0 Integration Server engine, but all other adapters can run locally on the business systems for example.
    Best regards, Silvia

  • How do I use the Profile Manager to run multiple PHP sessions?

    I have a website that tracks the session and state of users as they traverse through the site. Several users can "work together" simultaneously. To test this cooperative functionality, I ran multiple Firefox profiles simultaneously on my computer, using Firefox's Profile Manager. After logging in as two users (one on each separate running Firefox instance), one of my Firefox instances still works, while the other one does not seem to track the session.
    How do I create and run multiple Firefox instances to allow me to test the functionality of such sites? I believe this worked a few months ago. Perhaps this is a new bug?
    I even tried running normal Firefox and Firefox Extended Support Release simultaneously, but I ran into the same error.

    Disregard the question. The solution has nothing to do with any "Firefox bug". Turns out that my session wasn't being managed properly. Or rather, I was accidentally deleting other users' information when new users logged in. So if I had user 1 and user 2, and user 2 logged in after user 1, some of user 1's information would be deleted, resulting in the errors.
    Oops; sorry about the false alarm. :)
    (Was hoping to retract the question, but it looks like others have a similar problem.)

  • Running multiple files

    Hello
    I am trying to run multiple files with my java app on a Unix server. I compiled with javac, and run it thus:
    java SNL *.mef
    meaning I want to run all of the files with .mef suffix. Unfortunately it does nothing. If I just run one file at time this way:
    java SNL bach.mef
    it will work just fine. My main method looks like this:
    public static void main(String[] args) throws IOException {
    if (args.length != 1) {
    System.exit(-1);
    } else {
    File file = new File(args[0]);
    SNL parseSNL = new SNL(file);
    Any help would be greatly appreciated.
    JM

    public static void main(String[] args) throws IOException {
      if (args.length != 1) {
        System.err.println( "Usage: java SNL x.mef y.mef ..." );
        System.exit(-1);
      } else {
        for( int i=0; i<args.length; i++ ) {
          File file = new File( args[i] );
          System.out.println( "Parsing " + file.getAbsolutePath() + " ..." );
          SNL parseSNL = new SNL(file);

  • Having trouble running multiple instances of Firefox in XenDesktop 7.1

    We recently upgraded our Citrix environment to XenDesktop 7.1. We published Firefox, but only one user at a time can have the program open. When we try to run multiple sessions, we get this error message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    We've had it published in previous Citrix environments with no problems. How do we need to configure Firefox in XenDesktop so that multiple users can run the program at the same time? Thanks.

    I do not understand virtualisation.
    I can however say that ordinarily Firefox needs each user to have a separate profile and for Firefox to open simultaneous multiple instances with separate profiles the ''-no-remote'' argument needs to be used.
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile

  • PowerShell using start job to run multiple code blocks at the same time

    I will be working with many 1000’s of names in a list preforming multiple function on each name for test labs.
    I notice when it is running the functions on each name I am using almost no CPU or memory.  That led me to research can I run multiple threads at once in a PowerShell program. That lead me to articles suggesting start-job would do just want I am looking
    for. 
    As a test I put this together.  It is a simple action as an exercise to see if this is indeed the best approach.  However it appears to me as if it is still only running the actions on one name at a time.
    Is there a way to run multiple blocks of code at once?
    Thanks
    Start-Job {
    $csv1 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups1.csv").username
    foreach ($name1 in $csv1) { Write-Output "Job1 $name1"}
    Start-Job {
    $csv2 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups2.csv").username
    foreach ($name2 in $csv2) { Write-Output " Job2 $name2"}
    Get-Job | Receive-Job
    Lishron

    You say your testing shows that you are using very little cpu or memory in processing each name, which suggests that processing a single name is a relatively trivial task.  
    You need to understand that using a background job is going to spin up another instance of powershell, and if you're going to do that per name what used to require a relatively insignificant amount of memory is going to take around 60 MB.  
    Background jobs are not really well suited for multi-threading short-running, trivial tasks.  The overhead of setting up and tearing down the job session can be more than the task itself.
    Background jobs are good for long-running tasks.  For multi-threading short, trivial tasks runspaces or a workflow would probably be a better choice.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Running multiple copies of an App on one NetWeaver server

    Hi there,    (V12 with ERP/ECC transactions)
    We are setting up our landscapes/environments for development, beta testing, final QA and production.  I am wondering if we can combine development and beta testing on the same system. 
    The obvious concern is that they will have copies of the "same" transactions.  If we don't do anything special, the data source name is hard coded in the transaction and as we are on the same MII server, they can't point to different data sources unless we edit the transactions.  Is there a way to have a transaction use a configuration of some sort to dynamically specify the actual data source?
    Are there any other issues attempting to do this?
    Thanks,
    --Amy Smith
    --Haworth

    Thanks Jeremy,
    Thanks for the suggestion Jeremy. 
    Our server is not capable of another instance.  It is not easy to get our SAP Basis people to install and configure a new system and we are not allowed to do it ourselves.  I was trying to find a way to use our existing instance of NetWeaver/MII to run multiple copies of the application.  In J2EE apps I have worked on, it is as simple as copying the software, changing the URL, changing the application config files for the data source and deploying the new duplicate app under a different name.
    Seems that in MII the transaction "hard" links the data source name to the data source definition and that link is not dynamically configurable.  Would that be a fair statement?
    Thanks again,
    --Amy Smith
    --Haworth

  • How can i run multiple instances of Photoshop EXE at the same time on windows 7

    Alright. You may ask why do you need multiple ?
    Assume that i have 10000 PSD files in 10 different folders
    I have a script that just save as them as PNG
    And these files are each 3000x3000 px
    My computer has 8 cores and 1 photoshop exe is only using 1 cpu core
    Also i have SSD raid system it has 750 mb read write per second
    So right now i am wasting my time with running only 1 photoshop exe instead of at least 4

    I'm not aware of a way to run multiple instances or different versions of photoshop at the same time on windows.
    Assuming of course they are all installed on the same operating system.
    On mac versions you can running two different versions of photoshop at the same time, but i don't think that's possible on windows where it
    appears that only one version of photoshop can run at a time.

  • Running multiple instances on same machine

    I need to run multiple instances of BEA WLS on a unix machine. I need 4 separate instances (dev and test for two different departments) on one machine and two production instances on another machine. What is the best way to go about separating these (ex. an account or directory structure for each)?
    Thanks,
    Roger ---|-

    Dev/Test:
    Give each one its own domain name - i.e. a separate directory under config. This
    works well.
    Production:
    Do the same, but to keep licensing costs down, I'd be inclined to run everything
    on a single instance.
    simon.
    Roger Cornejo wrote:
    I need to run multiple instances of BEA WLS on a unix machine. I need4 separate instances (dev and test for two different departments) on
    one machine and two production instances on another machine. What is
    the best way to go about separating these (ex. an account or directory
    structure for each)?
    Thanks,
    Roger ---|-

  • Can you run multiple ATV's?

    Are there any issues with running multiple ATV's at the same time- playing different content? Also, are you able to broadcast the same content (say from itunes on my Mac) to all ATV's at once (I can see this used at parties where I can have all the TV's on displaying the same video/photo reel). I am hoping there are some freaks like me out there who are planning/have already populated all their TV's with ATV's.
    Also, will the digital audio out work without HDMI being plugged in (in case I want to use an ATV as an audio-only receiver to an amp?)

    I have to ATVs setup and it is actually quite amazing how you can play different content on each of them from the same library... wicked. I cannot attest to streaming video since 4.2 is still in beta and iTunes from the desktop is not streaming video to ATV, but audio works great. Apple is really onto something here...

  • Can you run multiple Excel Services Applications against a single Web Application?

    I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
    I have a single SharePoint Farm.  This farm runs multiple Web Applications & the Service Applications.
    1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
    2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
    3. My services applications all exist on the same farm.
    I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
    that you can only run a single Excel Services Application against each unique Web Application.  In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
    Server...  However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application. 
    ie. I can NOT do the following:  ExcelServiceApp1 for
    http://pwa.com/SiteA & ExcelServiceApp2 for
    http://pwa.com/SiteB
    Is that correct?
    If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site. 
    Some other solutions that I think may work, but would really appreciate if someone could validate:
    - Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
    - Create a new Web Applciation for each PWA/Excel Service?  (ie.
    http://pwasite1.com;
    http://pwasite2.com; http://pwasite3.com, etc.)
    Thoughts/suggestions are very greatly appreciated!!!

    Hello Trpy2k
    I have not done what you are doing and I assume that you are using project server 2010.  However, you answer lives in PowerShell.
    The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service.  If you need another excel service, you must specify another
    proxy and this may do it for you.
    Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
    PS.  This question may get a better answer in the SharePoint forums.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Can you run multiple APEX listeners for different instances on the same server

    Please confirm that we can run multiple APEX listeners for different instances on the same server?  Is it an xml setup configuration or do we need to do more??
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

    Yes.. Just exactly what I was looking for...
    Thanks Jari!!
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

  • One parameter for multiple Crystal reports in Publication

    Does anyone know if it is possible to enter one identical parameter for multiple Crystal reports in publication when scheduling? BOE 3.1 SP3 Windows, Java.
    To elaborate I am creating publication with multiple reports, each report has one parameter and this parameter is identical in every report in publication. So instead of entering this parameter many times I would like to enter once. 
    If yes point me in the right direction to get the how to or post the steps.

    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!

Maybe you are looking for

  • Print Accented Characters in UTL_FILE

    Hi All, I am trying to write a .csv file in to server path. everything is working fine. my problem is that when I try to write some accented characters , it was not written into the file properly. here is what I needed. MON-MONTRÉAL but instead it is

  • HT5019 No arrangement tab in my Display Preferences! Help!

    I have a rocketfish Mini DisplayPort to DVI adapter hooked up to an Apple DVI to video adapter, hooked up to an S-cable & Video Cable to the TV. When I hook everything up, the macbook screen momentarily turns blue but then the desktop comes back on. 

  • Can't download latest version of HP assistant in chrome

    HP Pavillion g6-2009AX     Product No. B6U15PA#ABG I have uninstalled HP assistant because it wasn't working (saying "an error has occurred") Now when I try to download the latest version, a new tab opens in Google Chrome with the correct address but

  • HT204150 I am currently switching microsoft exchange emails and want to keep my contacts

    I am currently switching microsoft exchange emails and want to keep the contacts associated with the old email address. It seems though that they are backed up to my former employer's server/cloud. How can I keep the contacts on my phone but switch e

  • Code for ExportRTF

    Hi Friends                I need code for ExportRTF using allstories from indesign. have to export linked & non linked contents.                I reviewed the script of ExportAllStories script.