Crystal Reports XI - ERROR closes Crystal Reports Entirely

Post Author: crdev
CA Forum: Data Connectivity and SQL
Our company recently purchased Crystal Reports XI.  We had previously used Crystal Reports 8 and had great success using it.  Our problem is that when creating a new report using CR XI after selecting our ODBC datasource and inputing our username and password crystal reports generates an error and closes entirely.  There is not an error code or error description either.  Our datasource connects to a secured Access database with a database password set.  This same datasource worked great using CR 8. Has anyone else had this problem?  If so, did you find a solution?  

Tim,
If you have previous versions of Crystal Reports try removing them. As well check that there are no Business Objects or Crystal Decisions folders under C:\Program Files and that there are no Registry keys for Business Objects or Crystal Decisions in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER > Software. (*Back up the Registry before editing)
If you are trying to install from a CD or network drive copy the contents of the install package to the local machine.
Ensure you are logged on as Administrator and that Antivirus and AntiSpam ware are disabled.

Similar Messages

  • Report Designer - Error when Loading Report

    Hi,
    We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.
    Did anyone encounter this issue and is there a solution to this.
    Thanks
    Hemant

    Hello,
    Please go to SE38 -> RS_REPORT_MAINTAIN,
    Type your report name, and DT als "Report Type".
    Goto edit mode, copy&paste this XML into txt file and send it to me ([email protected]). I will check whats going on with this report. Loading should be always possible.
    Regards, Karol Kalisz, BI Development

  • CRVS2010 Beta - Report Viewer Errors for Crystal Reports in VS 2010

    I have a project that was written in VS 2008 targeting the 3.5 framework which contains a ton of Crystal Reports.  I recieved my new license for VS 2010 and did the install along with the Crystal Reports for Visual Studio 2010 Beta 2.  I converted my project over successfully.  I am able to open up the reports on their own.  When I try to save them they want to be converted to the new format.  This also works fine.  My problem is the Crystal Reports Viewer.  I am not able to add any reports to the viewer without receiving error messages.  I have tried using the 10.5 and the latest version of the viewer, but receive errors everytime that I try to add a report to it.  I always recevie the following error:
    "Error invoking 'Choose a Crystal Report...'. Details: Invalid Report Source"
    I have also tried just creating a brand new report from the Crystal Report Viewer Tasks window.  When I do that I get this error:
    "Unable to find the report in the manifest resources. Please buld the project, and try again."  "Error invoking 'Create a New Crystal Report...'. Details: Unable to find the report in the mnifest resources. Please build the project, and try again."
    I have tried changed the framework target to 4.0, but this has not helped.  I have tried using the 14.0 versions of the references and the 10.5 versions.  I have searched all over the internet for a resolution, but can't seem to find one.  Any help would be greatly appreciated.

    I am having the same problem. You say make sure all of my assemblies are version 14. Three questions:
    1. Now that I have removed all of the old Crystal assemblies from my project, what are the assemblies that I need to add back?
    2. My VS 2010 "add references" popup shows me many crystal assembles (Crystal XI is also installed) which ones to I need to install now?
    3. If I don't know what they are, or where to find them, how do I determine their version?
    You solution reminds me of the old saying "If I had ham, I could make ham and eggs. If I had eggs!"
    More information please,
    J Rich
    Edited by: JosephRich on Nov 6, 2010 5:36 PM
    Edited by: JosephRich on Nov 6, 2010 5:39 PM

  • Crystal Reports XI - Error when displaying report

    Hi Guys,
    I'm using Crystal reports XI release 2. I'm attempting to get some data from an Oracle database and display it as a Crsytal Report onto a JSP. Tomcat 5.0 is being used.
    At first I was using Crystal XI and than upgraded to Release 2.
    Here's the error message I'm getting when report is rendering:
    "Null page: Unable to create page from report source."
    And the stack trace for the error is:
    Exception at EPFPageFactory.getPage: java.lang.Exception: Error in EPFImapgeObjectInstancesBase.getInstanceProperties: null epfImage
    At this point I have not found any references at all on the web regarding this issue. It's been a long time now since I've been trying to use Crystal - Java and I've hot succeed to do so. I only find an article which said There's a hot fix which solves this issue, I installed it but nothing really happened, I kept getting the same error.
    Please , any help will be greatly appreciated.
    Best Regards,
    Esteban

    even i am trying the same if u get something pls do let me know

  • Crystal Reports 10 error while saving report

    Last week i had a problem while saving my report.
    I get the following error while saving my report:
    crw32.exe has encountered a problem and needs to close
    The only way to get around this was after every change build a preview and close the preview and after that save the report.
    On the internet i found someting about installing the latest service pack, so i did.
    After that i had the problem described in the following thread: Re: Changing datasource causes parameters to blank out
    Sometimes the field to fill a parameter are gone.
    The solution is to downgrade to service pack 5, but on the download page [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm] i can't find sp5, only sp3, sp4 and sp6.
    I'm downloading sp5 now, but does anyone know if this solve the problem?
    Many thanks
    Edited by: Joris Stoop on Aug 21, 2008 11:53 AM

    Hi Joris,
    please find here [SPs for CR 10 |http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10] including  [Service Pack 5 - ZIP - released August 2006|http://resources.businessobjects.com/support/support/communitycs/FilesAndUpdates/cr10win_en_sp5.pdf]
    and the [Readme - PDF|http://resources.businessobjects.com/support/communitycs/FilesAndUpdates/cr10win_en_sp5.zip] but unfortunately I do not know if this fixes your prob.
    Best regards
    Falk

  • Reporting Unit Error in EEO report OUTPUT

    For EEO report , I've created Address sequence in  Table T5UAD and have created Reporting units Type - I in V_T5URU table.
    Have also maintained the Reporting Unit and all other required entries in  Table  V_T5U0P   against all US Pers. Areas and Subareas , but when I run the report , I am getting this error
    *No reporting unit found in T5URU FOR UNIT NUMBER T548198*
    STARNGE part is that this reporting Unit is available in V_T5URU when I go and check the table.
    I've deleted it and maintained it again also , but still getting this error.
    CAN ANYONE SUGGEST WHAT IS WRONG? 
    How can I fix this issue?
    Any inputs are very highly appreciated as I could not find on Google .....

    Hi Ted
    Thanks for your reply , but as per information provided by my client , same reporting units say T58591 is being used for both VETS as well as EEO , so I used I option insead of E or V as I cannot define the same reporting unit twice in the table with same name .
    Its working fine for almost all other reporting units except for 2 of them ... for which reports giving the error that reporting unit is missing in T5URU but I can see the entry available in this table.
    Any Idea why is this happening?

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • Crystal Reports - Report Creation Error

    Hello!
    I've been working with ACT! Premium 2010 and Crystal Reports for about 2 weeks now. Friday we decided we needed to create a new database to work with, we had to scrap all old reports and start new. We created the main database on Friday and populated it on Sunday. However when trying to bring the new database into Crystal I got an error, I was not able to bring in any database information to create reports with. I followed the exact instructions our resident IT guy gave me for the previous database. Both are remote databases syncing up with the main database, we tried to import both the main database and the remote, resulting in the same error. Also the remote was created this morning about an hour before I tried to access it with Crystal. Our IT guy Team Viewered in to try to help the situation but to no avail. He mentioned that it may also be a permission error but was not able to find a solution. I checked to make sure all the files related to the database were shared and it appears they are. Also went into ACTDIAG to check and repair the database with no change in the error. Any suggestions?
    Error message:
    http://tinypic.com/r/2my5f9c/3
    Am using the OLE DB (ADO) option when creating a new connection, and using the ACT! OLE DB Provider for Reporting 2.0 under that.
    Using:
    ACT! by Sage Premium 2010 Version 12.0.409.0, Hotfix 3 (Is a trial version but had no errors creating previous report)
    Crystal Reports Version 10.0.0.533
    Any other information needed I will be happy to post. Thanks in advanced for any answers!
    -Matt

    I don't know anything about Crystal Reports whatsoever, and I couldn't care less frankly. There has been an excess of postings on these forums about this product, whatever it may be.
    If Crystal Reports isn't relevant to the problem why was it mentioned? In the title?
    And in any case why was it posted in a forum entitled 'Reflections & Reference Objects'?
    And your suggestion that it's up to me to do the research is fallacious and indeed ludicrous.
    And the error message 'java.io.FileNotFoundException: http://localhost/viewer9/javaviewer/ReportViewer.jar' is entirely self-explanatory.
    And it strongly appears to have something to do with the deployment of Crystal Reports.
    None of which is a Reflections & Reference Objects problem, or a Java problem, or Sun's problem.

  • Crystal Reports 2008 - Report Load error - Memory Leak Error?

    Hello
    <br>
    We have a problem with Crystal Reports 2008 with .NET 2.0.
    <br>
    CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    <br>
    The problem is that during high amount of report producing, errors in eventlog pops up and the production of reports using <br>
    Crystal Reports stops.
    <br>
    Below are examples of the three most common event logs.
    <br>
    We have tried to implement a cleanup method both as a destructor (with a global ReportDocument rdoc variable) and using direct call to cleanUpDoc() method when finished with loading doc:
    <br>
    ~IOServerClass()
    <br>
    <br>
                cleanupDoc();
    <br>
    <br>
    <br>
            private void cleanupDoc()
    <br>
    <br>
                try
    <br>
    <br>
                    if (rdoc != null)
    <br>
    <br>
                        rdoc.Close();
    <br>
                        rdoc.Dispose();
    <br>
                        rdoc = null;
    <br>
    <br>
                    this.CleanGlobalEvents();
    <br>
                    System.GC.Collect();
    <br>
    <br>
    <br>
    <br>
    The doc is loading using the "normal" method (in-process).
    <br>
    <br>
    try
    <br>
    <br>
                        rdoc = new ReportDocument();
    <br>
                        rdoc.Load(fullpathandreport); 
    <br>
    <br>
                   catch (Exception ex)
    <br>
    <br>
                    cleanupDoc();
    <br>
    <br>
    ...process doc....
    <br>
    cleanupDoc();
    <br>
    <br>
    Furthermore we have tried during Scalable tests of the system - but cannot produce the below errors ourselves. Only the customer can.
    <br>
    Please help with solving this problem.
    Is the above advisable to do?
    Should the document be loaded in another way?
    Is it a memory leak?
    <br>
    Regards
    Kristian
    <br>
    <br>
    event logs:
    <br>
    <br>
    #1
    <br>
    <br>
    Event Type:     Error
    Event Category:     None
    Event ID:     1102
    Date:          12-02-2010
    Time:          10:22:05
    User:          N/A
    Description:
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at xxx.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:Analysis Server
    InnerMes:
    Error in File 321 {19463E3B-D404-45EB-88AE-5722A7FF9E90}.rpt:
    The request could not be submitted for background processing.
    InnerStack:
       at
    CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    <br>
    <br>
    #2
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Creating an instance of the COM
    component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} from the IClassFactory failed
    due to the following error: 8007000e.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep, Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 289
    <br>
    #3
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\reports\340.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008
    \Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:CrystalDecisions.ReportAppServer.ClientDoc
    InnerMes:
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    InnerStack:
    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    Edited by: kristians on Feb 16, 2010 2:57 PM

    Hi;
    First, ensure you have the latest service pack / hot fix for your version of Crystal Reports, and that the client has the same updates as well. Fix Pack 2.4 is the current latest, and can be downloaded from our downloads section.
    One of the errors is the Background Processing error, so have a look at the following article:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33&overridelayout=true
    Regards,
    Jonathan
    Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup

  • Crystal Reports COM Error

    I have a Crystal Report that I load and run from an ASP.Net Web Application. It works fine on my machine. However when the code is deployed to the servers, intermittently (does not happen everytime), I receive the following exception:
    System.IO.FileLoadException: Retrieving the COM class factory for component with CLSID {XXX}  failed due to the following error: 8007045a.
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
    at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
    When I search for this error I am not able to find the exact cause of the COM error 8007045a or the System.IO.FileLoadException. But many people have encountered other COM Errors with Crystal Reports and have suggested changing the Project properties -> Build -> Platform Target to x86 from 'Any CPU'.
    Is this indeed the action to be taken for the COM error 8007045a or the System.IO.FileLoadException too?
    One of the folks suggested the following: It is a low-level Windows error, not a COM error. The DllMain() entrypoint of one of the unmanaged code DLLs used by CR returned FALSE.
    Any suggestions here?
    Thanks in advance
    Vikas
    Edited by: vikasmanghani on Dec 22, 2011 3:53 PM

    Hi Don
    The CR version is Crystal Reports 2008 SP3.
    OS - Windows Server 2003
    IIS - IIS 6 (I am not entirely sure, but most likely it is IIS 6).
    Does it matter, if I instantiate the ReportDocument derived class on a separate thread. For e.g.
    Main Thread:
    MyReportClass rpt;
    Thread t1 = new Thread(InitRpt);
    t1.IsBackground = true;
    t1.Start();
    //perform some additional work
    t1.Join();
    Thread t1:
    rpt = new MyReportClass();
    rpt.FileName = "";
    rpt.Load();
    Also the BuildAction property for the report is set to Content.
    As an aside, I noticed another error on a different server:
    System.Runtime.InteropServices.COMException (0x80000003): Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
    For this COM Error 80000003, I was able to search on SAP forums and locate the following:
    1. Some people have asked to re-register clientdoc.dll using regsvr32.
    2. Some people have suggested rebooting the server.
    3. Some have suggested running in 32-bit mode. I am not sure if this server is 64-bit or 32-bit.
    It would be great if you could help me with this one too.
    Thanks in advance.
    Regards
    Vikas
    Edited by: vikasmanghani on Dec 24, 2011 4:38 AM
    Edited by: vikasmanghani on Dec 24, 2011 4:42 AM

  • Error when publishing report to remote crystal 2008 server

    In attempting to publish a report to a remote crystal server (see code below) I get this exception. 
    Since the server is on a remote host, it doesn't make sense to me to set the BOBJHome property or pass the file path.  This is why I am using the addUniqueFile() with the byte[] parameter file contents. 
    Is this the cause?  Is there a better way?  Please let me know if anyone has ideas. 
    Thanks,
    --Jeff.
    [http-8080-Processor25] ERROR gov.nrc.nsts.reporting.backend.helpers.PublishCrystalReportHelper - Could not publish report, exception:
    com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.b: Adding Crystal Report "6cc6326cc9dbc0" failed. An internal error occurred.
          at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.a(Unknown Source)
          at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.refreshReportObjectProperties(Unknown Source)
          at com.crystaldecisions.sdk.plugin.desktop.report.internal.m.refreshProperties(Unknown Source)
          at gov.nrc.nsts.reporting.backend.helpers.PublishCrystalReportHelper.execute(PublishCrystalReportHelper.java:99)
         public void execute() {
              try {
                   // Ensure that the new parent is a folder
                   String query = "SELECT * FROM CI_INFOOBJECTS "
                       + "WHERE SI_ID = '" + cmsId + "'";
                   IInfoObjects parents = oInfoStore.query(query);
                   if (parents.size() != 1) {
                        resultSet.addException(new Exception("Parent Element not found: CMSID="+cmsId) );
                        return;
                  IInfoObject parent = (IInfoObject) parents.get(0);
                  // Enforce business logic
                  if ((parent instanceof IFolder)==false) {
                       // Can't add folder to a non-folder
                        resultSet.addException(new Exception("Parent element must be a Folder: " + parent.getTitle()));
                        return;
                   //You need to set the CeEnterpriseContext.BOBJ_ENTERPRISE_HOME property first
                   //in order to upload new reports because the runtime needs to have access
                   //to some utility files located in the Business Object Home directory
                   //Modify this to point to your Business Objects installation directory
                   //String BOBJHome = "C:\\Program Files\\Business Objects";
                   //Retrieve the system properties
                   //Properties properties = System.getProperties();
                   //Set the Business Objects home directory
                   //properties.setProperty(CeEnterpriseContext.BOBJ_ENTERPRISE_HOME, BOBJHome);
                   //Update the system proeprties
                   //System.setProperties(properties);   
                   //Retrieve the PluginMgr object.
                   IPluginMgr oPluginMgr = oInfoStore.getPluginMgr();
                   //Use PluginManager to retrieve the Report plugin, which is needed to publish a new report.
                   IPluginInfo oPluginInfoNewReport = oPluginMgr.getPluginInfo("CrystalEnterprise.Report");
                   //Create a new InfoObjects collection to add the new report to
                   IInfoObjects oInfoObjects = oInfoStore.newInfoObjectCollection();
                   //Add the newly created report plugin to the oInfoObjects collection. This will create
                   //a new InfoObject based on the type of plugin passed in.
                   oInfoObjects.add(oPluginInfoNewReport);
                   //Retrieve the newly created report InfoObject
                   IInfoObject oInfoObjectNewReport = (IInfoObject)oInfoObjects.get(0);
                   //Set the report name and file location
                   InstanceNameBean inb = (InstanceNameBean)Helper.getDto(params, InstanceNameBean.class);
                   oInfoObjectNewReport.setTitle(inb.getName());
                   //FilePathBean fpb = (FilePathBean)Helper.getDto(params, FilePathBean.class);
                   //oInfoObjectNewReport.getFiles().addFile(fpb.getPath());
                   byte[] reportContents = (byte[])Helper.getDto(params, byte[].class);
                   oInfoObjectNewReport.getFiles().addUniqueFile(reportContents);
                   //Set the parent folder for the new report.
                   oInfoObjectNewReport.properties().setProperty(CePropertyID.SI_PARENTID, cmsId);
                   //Refresh the report properties to update the new report information before
                   //committing the changes to the InfoStore
                   IReport oReport = (IReport)oInfoObjectNewReport;
         -->          oReport.refreshProperties();  <-- !!throws exception here!!
                   //Commit the new collection to the CMS using the commit method. This publishes the new report.
                   oInfoStore.commit(oInfoObjects);
              } catch (SDKException e) {
                  logger.error("Could not publish report, exception: ", e);
                   resultSet.addException(e);

    This is an example of a stored procedure that is trying to be linked to a new report as the only datasource.
    If I remove the parameter I can create a report, however this will return all of the results of thw query to the report, rather than the desired results. If I add the parameter on the Crystal Report, the stored procedure then has to return all of the results to Crystal and then perform the filtering of records. By using a parameter in the stored procedure, you should be able to do all of the filtering as part of the query on the databse server, making this more efficient.

  • Crystal report 10 error - Help required

    I am using crystal report 10.0.0.533 - Crystal report developer edition.
    All of my reports are working fine without any issue, except one report.
    It throws the below error message:
    Crystal Reports ActiveX Designer error '80047cbd'
    *You are attempting to use functionality that falls under the Crystal Decisions Report Creation API license. This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Crystal Decisions to obtain a Report Creation API license.*
    /egads/Reports/EventDataRep.asp, line 68
    At line number 68 we have below code:
    Tables.Add "", , Session("oRecRep"), , "p2smon.dll"
    This report was earlier used for Crystal 8.5. However Crystal 10 no longer uses p2smon.dll.
    Alternative dll in Crystal report 10 is crdb_ado.dll, I replaced it in the code, however still it is not working.
    Could anyone please help me with this issue?

    Even after replacing with crdb_cdo.dll...I am getting same error..
    Below is the code:
    Set oConn = Server.CreateObject("ADODB.Connection")
    Set oRec = Server.CreateObject("ADODB.Recordset")
    Set oRecRep = Server.CreateObject("ADODB.Recordset")
    oConn.Open strEGadsUIDConn
    strSQL = "SELECT CRYSTAL_XML_STRING, CRYSTAL_QUERY_STRING FROM TEMP_CRYSTAL_REPORT WHERE USER_ID = '" & strUserId & "' "
    Set oRec = oConn.Execute(strSQL)
    If Not oRec.EOF Then
         strXMLString = oRec("CRYSTAL_XML_STRING")
         strSQLQuery = oRec("CRYSTAL_QUERY_STRING")
    End If     
    strSQLQuery = Replace(strSQLQuery, "%", "'", 1)
    Set Session("oRecRep") = oConn.Execute(strSQLQuery)
    If Not Session("oRecRep").EOF Then
         Session("oRecRep").MoveFirst
    End If     
    ' CREATE THE APPLICATION OBJECT                                                                    
    If Not IsObject (session("oApp")) Then                             
         Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.10")
    'Set session("oApp") = Server.CreateObject("Crystal.CRPE.Application")
    End If                                                               
    Path = Request.ServerVariables("PATH_TRANSLATED")                    
    While (Right(Path, 1) <> "\" And Len(Path) <> 0)                     
    iLen = Len(Path) - 1                                                 
    Path = Left(Path, iLen)                                              
    Wend                                                                               
    'This "While/Wend" loop is used to determine the physical path (eg: C:\) to the
    'Crystal Report file by translating the URL virtual path (eg: http://Domain/Dir)                                                                       
    'OPEN THE REPORT (but destroy any previous one first)                                                    
    If IsObject(session("oRpt")) then
         Set session("oRpt") = nothing
    End if
    'Set session("oRpt") = session("oApp").NewReport
    reportname = "rptEventDataTemplate.rpt"
    Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
    'Set oRptOptions = Session("oRpt").Options
    session("oRpt").MorePrintEngineErrorMessages = 0
    session("oRpt").DiscardSavedData
    'session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = 0
    session("oRpt").PaperOrientation = 2
    Set Database = session("oRpt").Database
    'Instantiate the Database Collection
    Set Tables = Database.Tables
    'Instantiate the Tables Collection
    Tables.Add "", , Session("oRecRep"), , "crdb_cdo.dll"
    Set FirstTable = Tables.Item(1)
    Set Fields = FirstTable.Fields
    'Set Group Name
    GroupField = "{ado.UNIT_NAME}"
    For i = 1 to Fields.Count
         result = strcomp(Fields.Item(cint(i)).Name,cstr(GroupField))
         If cint(result) = 0 then
              Set GroupFieldIs = Fields.Item(cint(i))
         end if
    next
    Select Case cstr(SortDirection)
         Case "Ascending"  intsortdirection = 0
         Case "Descending" intsortdirection = 1
         Case "Original Order" intsortdirection = 2

  • Crystal report unexpected error in Web service (IIS)

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
                Xception E NSF      NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService] Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
                Xception E NSF      NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService]    at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
                   at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
                   at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
                   at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
                   at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
                   at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    What is the workflow
    What is the application doing?
    Iu2019m guessing you have a windows service application and you're trying to launch a UI (ie the viewer control) from the application or print using the vieweru2019s printing functionality programmatically(?).
    If this is a Windows Service running under the local system account, then follow the instructions in the error message. (ie, bring up the properties of the service, go to the logon tab and check the checkbox that says u201CAllow service to interact with desktopu201D.   At least that should allow whatever popup is trying to come up display properly.
    Ludek

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

  • Crystal Report XI Error:717

    Error:717
    Hi,
    We use Crystal Report XI developer with Oracle 10g.
    Our Oracle Client is Oracle 10g and the Oracle server is Oracle 10g.
    Our application develepor tool is CodeGear RAD Studio, Delphi 2007 Enterprise.
    The Crystal Report use the Native Oracle Connection.
    When the applicatin run, and we call the Crystal Report, an error occure:
    Error:717 Error in file c:sample.rpt
    Failed to load database information
    Execute
    Please help me!
    Thanks
    Sándor Lencsé

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

Maybe you are looking for