Exception with Crystal Reports 2008 Runtime SP2 and Export to Word/RTF

When I export a report (DataSource ADO.NET DataSet) with many records (in my case about 17000 but the records are stretched from about 370 pages to about 800 pages ), I get an exception:
System.Runtime.InteropServices.COMException: Ungültiger Zeiger (German, English: Invalid pointer?)
When I dont't stretch the records (that means record by record without pagebreak) it works fine.
Any ideas?
I think the problem is the expected file size. When I export from the development enviroment the doc-file is 566 MB. Open this wiht MS-Word I get the Message: Word cannot open files > 512 MB.
Somehow the problem seams to depend on this fact.
Anyway, MS-Word cannot work with files > 512 MB. So I don't need to think about the problem further.
Edited by: Sven G. on Mar 24, 2010 11:14 AM

That is an interesting finding.
One thing you may want to try is FP 2.5. Perhaps the exported file will be smaller and thus let you export more pages(?). Other than that, keeping the file size down via selection formulas or smaller datasets will be the way to go.
FP2.5 is here:
https://smpdl.sap-ag.de/~sapidp/012002523100002975192010E/cr2008fp25.exe
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • Print layout different with crystal report 2008 runtime

    Hi,
    I have reports which I print on a pre printed stationary. With Crystal report 11.5 run time it works fine.
    Now I am using Crystal Report 2008 run time and with this I found that layout on the print is different than the actual layout in the design.
    The print with CR 2008 run time is not exactly matching with the pre printed stationary. Whereas it is working fine with the 11.5 run time.
    Can anyone please help?
    Thanks,
    Abhijit Gorhe

    hi,
    you can verify the settings
    File -> Page Setup
    - Printer Options
    - Page Options
    - Margins
    Regards,
    Vamsee

  • Crystal Reports 2008 Runtime, Windows Server 2008 64-Bit AND SharePoint2007

    Hi Guys,
    here i'm again.
    Well I'm developing on a 32-Bit OS with Crystal Reports 2008. I've deployed my solution to SharePoint, but when i try to call a report in the aspx-Website i get the following error:
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
    Here are the technical details:
    - Windows Server 2008 (64Bit)
    - IIS7
    - Microsoft Office Server 2008 (64Bit)
    - Crystal Reports 2008 SP3
    I've read, that there isn't a 64-Bit runtime version of CR2008. Then i tryed the two following suggestions i found in this forum:
    1. Try to run the IIS-Application-Pool in 32-Bit-Mode -> This don't work, because SharePoint then throws a "Internal Server Error - Code 500" (no SharePoint Sites are available).
    2. Try to compile the Visual Studio Project as 32-Bit -> This don't work, because SharePoint could not load the assembly
    Well, are there any other hints, suggestions or  experiences how i could get this to work?
    Thanks in advance,
    Christian
    Edited by: C.Kaiser on Oct 12, 2010 5:22 PM

    Hi,
      I Have a Doubt Similarly which is related to the above post.....
    I had created a asp.net website with sql db, Its running fine in my PC, But when i host it in my server It shows an Error like..
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Design, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. "
    I am Using Visual Studio 2010, and my Server is Windows Server 2008 R2 32bit
    I am also attaching the screenshot of the error.
    Can anyone Please Help me , Its Very urgent..
    Anyone Please Help Me ,,,, Its Very Urgent .......
    Thanks In Advance...

  • Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls

    We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue.  I can give you the responses to your questions you have requested in that thread:
    Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
    Version of the .NET Framework - MS .NET Framework 3.5 SP1
    How did you deploy? - Installed CR 2008 SP1 runtime with msi package
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
    How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
    Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
    CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
    CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
    We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
    Please let me know if you need anything additional.
    Phil
    "Invalid export DLL or export format" with Crystal Reports 2008
    Posted: Sep 27, 2008 12:36 AM       E-mail this message      Reply 
    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    Exporting a Crystal Report to Excel or RTF format
    .NET application using the Crystal Reports 2008 runtime (version 12.0)
    error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    Server Operating System
    Version of the .NET Framework
    How did you deploy?
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    How many libpng10.dll files are on your system? List all instances.
    Any additional comments
    What We Know
    The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
    This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.

    Hi,
    I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
    Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
    So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    Crpe32.dll        3/1/2008 version 12.0.0.683
    Crxf_xls.dll       3/1/2008 version 12.0.0.683
    Crxf_rtf.dll         3/1/2008 version 12.0.0.683
    crdb_oracle.dll  3/1/2008 version 12.0.0.683
    libpng10.dll       3/1/2008 version 1.0.30.0             122880 bytes
    There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
    Oracle 11.1.0.6 is the DB for the reports.
    Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
    Any idea to fix this issue?
    Thanks
    Kin H Chan

  • Invalid export DLL or export format when export  with Crystal Reports 2008

    Hi,
         We have an serious issue while exporting the crystal report into excel. We are able to export into all type in our development environment. But when we tried to export from our server all exports working except the excel. However when we restart the IIS the excel export also working for sometimes and again we are facing the same problem.
    Development environment:
    .Net 2008
    Crystal report 2008
    SQL Server 2008
    +Server Environment:+
    IIS7.0 in Classical mode
    Crystal report 2008 runtime without any SP
        We chosen Classical mode to avoid the error 'an error occurred on the server. printing will be stopped' after a successful print. It is an known issue and I'm curious to know is there any fix available to resolve this issue. Because we prefer Integrated mode.
        Earlier we dont face the excel export problem and we encountered after the SP3 installation. So we uninstalled it from server and we just installed only the run-time. But still we are facing the same problem. we could not able to conclude the cause of this issue because classical mode may create this issue?
    This is a very critical issue to us, so if anyone has the solution please help me.
    Thanks

    Hello,
    Not clear, did you mean when you install SP 3 it worked?
    Use Process Monitor or Fiddler to see what is failing. With out an error message or any other error from IIS logs or Event Viewer logs anything could be the cause.
    Thank you
    Don

  • Error in Crystal Reports 2008 Runtime Version = 12.2.3.467

    Dear Support Team
    <br />
    <br />
    I am making the setup for our application using InstallShield 2010.
    <br />
    <br />
    I recently updated the crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Based on this article
    <br />
    <br />
    <br />
    <br />
    Topic of the week (October 15, 2009)  
    <br />
    Date time field is blank when using ADO .NET dataset and Crystal Reports 2008, Service Pack 2.0
    <br />
    This is a new issue, very specific to CR 2008 and SP 2. Date time fields are stripped out of a report (or not
    <br />
    visible), if a report is consuming a .NET dataset which contains a date time field. A technical escalation has been
    <br />
    submitted and a work-around is detailed in note number 1392258
    <br />
    <br />
    <br />
    Since DateTime Column was not getting displayed in the deployment machine when running the report.
    <br />
    <br />
    So I downloaded the Crystal Report 2008 FP2.3 and merge module for the same and installed on my development machine
    <br />
    <br />
    where I am making the Setup.
    <br />
    <br />
    I am able to make the setup successfully without errors, but when I try to install the setup on the deployment machine I am getting
    <br />
    the errors as
    <br />
    <br />
    Error 1904.Module C:\Program Files\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\CEReportSource.dll
    <br />
    failed to register
    <br />
    Same message pops up for N number of Crystal Dlls with message failed to register.
    <br />
    Even though as per article in your forums I am doing everything right.
    <br />
    I have correct Dll for VC++ 2005
    <br />u2022
    <br />
    Microsoft_VC80_ATL_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_CRT_x86.msm version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFCLOC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_OpenMP_x86.msm; version 8.0.50727.762 
    <br />
    <br />
    With exactly same versions as mentioned in the article.
    <br />
    <br />
    I followed the article in your forum
    <br />
    Building a deployment project with Crystal Reports 2008 (12.1.0.892) SP1
    <br />
    Posted on Mar. 09, 2009 08:22 AM in Business Objects
    <br />
    The same sort of errors is coming but I am doing everything right as per that article.
    <br />
    <br />
    To Inform you further before updating crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Everything was working fine, only problem was that Date Time column was not displaying at runtime on the deployment
    <br />
    <br />
    machine.
    <br />
    <br />
    With Regards
    <br />
    Arshad
    Edited by: arshhb on Dec 29, 2009 7:11 AM

    Dear Mr. Williams
    I dont think this is the issue related to MS Installer. Still based on your suggestion I downloaded the latest MS Installer from Microsoft Website and Installed on my setup machine and made the new setup with zero errors and warning.
    The deployment machine is having full rights and so there is no security issues  related to installation even though to clear the confusion I installed the setup on three other xp machines the result was same even after installing the latest MS installer on those machines as well.
    I wanrt to remind it again since I was facing the DATE TIME column Issue problem in reports on deployment machines so I updated the Crystal Reports TO CRFP 2.3 EXE AND MSM as mentioned in your forums regarding this known bug that if datetime column is getting from dataset then that column was not getting displayed.
    From that time onwards I am unable to install the setup on the deployment machines and I am getting errors unable to register errors crystal reports dlls.
    Apart from that I downloaded Crystal Reports 2008 Fix Pack 2.3 - Redist Install  (cr2008_fp23_redist.zip)  from the download page but i can't open it I am gettinig the error message doesnt appear to be a valid archive.
    Please help me and provide me some solution regardeing the issue I am stuck with.
    With Regards
    Arshad

  • Landscape Problems with Crystal Reports 2008 SP3

    My initial install of Crystal Reports 2008 was SP2 (12.2.0.290).  After installing SP3 and Fix Pack 3.3, I started to experience problems with reports in landscape orientation.
    The reports are set up as 11x8.5 in landscape.  They are loaded into a third party application that uses a Crystal Reports reviewer. 
    For some printers, the reports will reset to the 11x17 page size in portrait.  For others the reports stay at 11x8.5 landscape.
    The reports are typically set up with the "No Printer (optimize for screen display)" option active, but I tried a wide range of options including setting the "Microsoft XPS Document Writer" as the reference printer to activating the "Dissociate formatting Page Size and Printer Paper Size" option.  None of this helped.
    I backed out FP3.3 and that did not help.  After I backed out SP3, the problem went away.  It seems like something changed in the SP3 release that is causing this issue.
    What's the best way to communicate this to SAP?  I would like to see this fixed in a future patch.

    My initial install of Crystal Reports 2008 was SP2 (12.2.0.290).  After installing SP3 and Fix Pack 3.3, I started to experience problems with reports in landscape orientation.
    The reports are set up as 11x8.5 in landscape.  They are loaded into a third party application that uses a Crystal Reports reviewer. 
    For some printers, the reports will reset to the 11x17 page size in portrait.  For others the reports stay at 11x8.5 landscape.
    The reports are typically set up with the "No Printer (optimize for screen display)" option active, but I tried a wide range of options including setting the "Microsoft XPS Document Writer" as the reference printer to activating the "Dissociate formatting Page Size and Printer Paper Size" option.  None of this helped.
    I backed out FP3.3 and that did not help.  After I backed out SP3, the problem went away.  It seems like something changed in the SP3 release that is causing this issue.
    What's the best way to communicate this to SAP?  I would like to see this fixed in a future patch.

  • "Invalid export DLL or export format" with Crystal Reports 2008

    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    - Exporting a Crystal Report to Excel or RTF format
    - .NET application using the Crystal Reports 2008 runtime (version 12.0)
    - error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    - Server Operating System
    - Version of the .NET Framework
    - How did you deploy?
    - If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    - What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    - How many libpng10.dll files are on your system? List all instances.
    - Any additional comments
    What We Know
    - The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    - Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    - Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables. Note the system must be restarted after editing the path variable.
    - This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    - libpng10.dll has changed versions from SP0 to SP1. In SP0 it was 1.0.30.0 and in SP1 it is 1.0.30.1
    libpng10.dll dependencies
    The dependencies have also been updated for libpng10.dll in service pack 1. This may have something to do with the export issue. If you've deployed your application with the latest merge modules or setup package for service pack 1 you'll want to make sure you have version 1.0.30.1 of libpng10.dll.
    Version 1.0.30.0
    - zlib.dll
    - msvcr71.dll
    - kernel32.dll
    Version 1.0.30.1
    - boezlib.dll
    - msvcr80.dll
    - kernel32.dll
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
    Edited by: David Hilton on Jan 14, 2009 10:07 AM

    Our company has also been experiencing this issue with deployed versions of our software, and during my examination of the error I have made the following discoveries:
    For us the error has only been reproduced on Windows 2003 running Citrix
    The error does not occur on Windows XP, Windows 2003 or Vista without Citrix
    For installation of our application we use the CRRuntime_12_0.msm merge module (version 12.0.0.683, file size 46790KB)
    As mentioned in the first post this error is related to the files crxf_rtf.dll and cfxf_xls.dll being unable to locate its reference to the file libpng10.dll during load.
    I have run the application with ProcMon (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) attached on both environments that work correctly and that does not work and iIve made these observations:
    During load of dlls Windows searches for references in the following orders (see http://msdn.microsoft.com/en-us/library/ms682586.aspx):
    1. The directory from which the application loaded.
    2. The system directory.
    3. The 16-bit system directory.
    4. The Windows directory.
    5. The current directory.
    6. The directories that are listed in the PATH environment variable.
    Looking at the ProcMon log for the environment where it works correctly (Windows XP, no Citrix) it looks like this . Numbers represent the search order mentioned above:
    Load Image     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     C:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     C:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     C:\WINDOWS\system\libpng10.dll     NAME NOT FOUND
    (4) QueryOpen     C:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\libpng10.dll     SUCCESS      ...
    So you can see it finds the file in the "current directory"
    Now, from the environment where it does not work (Windows 2003 Server / Citrix):
    Load Image     X:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     X:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     X:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     X:\WINDOWS\system\libpng10.dll     NAME NOT FOUND     
    (4) QueryOpen     X:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     X:\Documents and Settings\<my user name>\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (6) QueryOpen     ... loops trough all paths in the PATH variable, finding nothing
    As you can see somehow the current directory is %USERPROFILE%\WINDOWS and not the Crystal Reports bin path in this environment at the time of loading the dll.
    I have yet to discover why this is the case, but i tought i could share what I have found =)
    The %USERPROFILE%\WINDOWS folder is not a standard Windows folder, and I think it is used by Citrix for some files (like win.ini)
    This also shows why adding the bin folder to the PATH variable is a valid workaround for some, but for us this is not really a good solution as we need this to work out of our installer. We don't always have consultants do the installations for the customers and we cannot expect them to manually edit the PATH variable, and we don't want to add to the PATH variable in the installer unless this is the only way...
    So, I hope this maybe can bring you closer to being able to reproduce it. I'm still looking into it, will post more if I find something else interesting

  • Crystal Report 2008 Runtime License

    Hi,
    I have a Crystal Report 2008 designer license.
    I want to design reports and distribute to my clients.
    Clients will just execute the reports through my application with the Crystal Report 2008 Runtime.
    There is runtime available on:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    While installing the runtime it does not ask for any license key.
    my query is do we require any license to use the Crystal Report 2008 Runtime?
    Can we install the same runtime on web servers so that multiple clients can use it.
    Do we require any license for the Runtime on server?
    Thanks,
    Abhijit

    Hi Thanks for the reply.
    Just to make it sure is that means?
    1. Crystal Report 2008 Runtime is free for the client applications.
    2. Crystal Report 2008 Runtime requires the 'SAP Crystal Reports runtime server license' to use the runtime on server applications.
    Is it correct.
    Thanks,
    Abhijit

  • ECC integration with Crystal report 2008

    Hello,
    If some one have guide of ECC integration with Crystal report 2008 ? Please share me I need to integrate ECC to crystal 2008 integration.
    Regards,
    Sankar.G
    Basis Cosultant

    Do not cross post.
    Read the "Rules of Engagement"
    Regards
    Juan

  • Crystal Reports 2008 runtime error while running on Windows Server X64

    I have a .NET web application compiled as X86 in Visual Studio 2008 invoking Crystal Reports 2008 SP2 that's running fine at a number of sites running Windows Server 2003 X86.</br>
    </br>
    When deploying this app to Windows Server 2008 X64 I get the error message below. </br>
    </br>
    I'm aware that there is an unanswered question similar to this already in the forum but my application is compiled for X86 and I've tryed installing a variety of run times including "crruntime_12_2_mlb.msi" and "crredist2008_x86.msi".</br>
    </br>
    What combination of compile and run time is needed to get around this issue?</br>
    </br>
    Thanks.</br>
    </br>
    </br>
    ERROR MESSAGE **.</br>
    </br>
    An error has occurred while attempting to load the Crystal Reports run time..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. .</br>
    </br>
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information..</br>
    </br>
    Source Error: .</br>
    </br>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  .</br>
    </br>
    Stack Trace: .</br>
    </br>
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +399.</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +218.</br>
    </br>
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.].</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0.</br>
       ChartsEnterprise.UI.GenReport.CreateReport(String reportname) +42.</br>
       System.EventHandler.Invoke(Object sender, EventArgs e) +0.</br>
       System.Web.UI.Control.OnLoad(EventArgs e) +132.</br>
       System.Web.UI.Control.LoadRecursive() +66.</br>
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean .</br>includeStagesAfterAsyncPoint) +2428.</br>
    Edited by: PSernz on Mar 25, 2010 3:58 AM

    What combination of compile and run time is needed to get around this issue?
    See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki. I think I may not have that wiki updated up to FP2.5, so the FP2.5 msm is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975182010E/cr2008fp25_mm.zip
    msi is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975312010E/cr2008fp25_redist.zip
    Check the version of the CR assemblies referenced in your project. The use the wiki above to deploy the correct runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Reports 2008, mySQL, JDBC, and ODBC

    Hello everyone.
    I have just spent a very challenging few days getting Crystal Reports 2008 Developer (advanced version) working with a mySQL data source.  I fell into several pits and narrowly escaped being eaten by monsters. I thought I'd share my experience to spare others the same trouble.  All the stuff I'm writing about here applies to the runtime as well as the Developer UI.
    I'm working on Windows Server 2008 R2, 64 bit, standard edition.  The mySQL server is 5.1.42. The mySQL ODBC connector is version 5.1.6.  You need the 32-bit version of this connector, even if you're on a 64-bit machine.
    Lessons learned:
    1. JDBC connectivity in Crystal Reports doesn't work correctly.  It consumes excessive memory when a report  requires lots of rows from a data base.  Don't even think about using it.
    2. Crystal Reports has a problem with ODBC for mySQL in which it sometimes gives a dialog box with these words in it.
    The alias requested 'SOME_TABLE_NAME', contains a combination
       of characters which is not considered to be valid.
    This error message come up when using items on Crystal's "Database" menu like "Set Datasource Location..."
    To fix this you need to make a registry change.  As far as I know this has to be done for each account on each machine running the Crystal Developer. (insert usual warning about registry editor). Find the key named:
    [HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\Database
    Create a new string value named InvalidAliasCharList Give it this value:
    .:{}()@&$#^!*~|%\\\"
    Notice that the last two characters are backslash double-quote.
    Good luck.  It actually works pretty well now that it's working.
    If any other community member can offer corrections or better ways of coping with this stuff, please do!

    Good morning,
    I was wondering if I may ask some additional help...
    We're on version 14.0.4.738 RTM and we are having the same issue.... need to enter the alias as table name with a backslash, ie serparate_work_orders\ for login credential reasons, but all the regedits listed seem to refer to locations in the registry that dont exist.
    Version 14 have two "database locations" from what i can see called...
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseServer
    I've applied the patch to both these locations and still no joy, same error message!
    Any ideas?

  • Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5

    Hello,
    My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports.  As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
    The issue is that the runtime engine incorrectly returns the report selection formula.  I have included sample code showing what I mean.
    To reproduce;
    1. Create a simple report that has a date range filter like: 
      ({Orders.Order_Date} >= {?START_DATE})  
      AND ({Orders.Order_Date} <= {?END_DATE})
    2. Create a test app as follow that loads a report using the following code:
    ReportDocument rpt = null;
    try
      rpt = new ReportDocument();
      rpt.Load("TestReport.rpt");
      this.txtMessage.Text = string.Format(
        "ReportSelectionFormula:{0}{1}",
         Environment.NewLine,
      rpt.RecordSelectionFormula);
    catch (Exception ex)     
      this.txtMessage.Text = ex.ToString();     
    3.  Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
    4.  Execute the app.
    At this stage, the screen shows
    ReportSelectionFormula:
    (   (  NOT  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  NOT  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    The expected value is:
    ReportSelectionFormula:
    (   (  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected. 
    Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack?  Is there a Fix Pack expected to be released soon?  It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
    Thank you.
    -Carlos.

    Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]

  • Java Plugin Viewer with Crystal Reports 2008

    Hello,
    I am trying to use the Java Plugin Viewer with Crystal Reports, but I have some problems. The ActiveX Viewer works well, but as I want to use the reports in other browsers, I need the Java viewer.
    I have a Visual Basic 6 application, and, instead of including SmartViewerActiveX.asp, I have included JavaPluginViewer.asp. I have taken this file from an older version of Crystal, and I am changing the values on it (I have done the same with the ActiveX Viewer, without problems). This is the main code of the file:
    <OBJECT
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        width="100%"
        height="100%"
        codebase="/crystalreportviewers11/JavaPlugin/Win32/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,0,0">
        <param name=type value="application/x-java-applet;version=1.4">
        <param name=code value="com.crystaldecisions.ReportViewer.ReportViewer">
        <param name=codebase value="/crystalreportviewers11/JavaViewer/">
        <param name=archive value="ReportViewer.jar">
        <param name=Language value="en_US">
        <param name=ReportName value="RDCrptserver11.asp">
        <param name=CanDrillDown value="true">
        <param name=HasExportButton value="true">
        <param name=HasGroupTree value="true">
        <param name=ShowGroupTree value="true">
        <param name=HasPrintButton value="true">
        <param name=HasRefreshButton value="true">
        <param name=HasTextSearchControls value="true">
        <param name=HasZoomControl value="true">
        <param name=HasSearchExpert value="false">
        <param name=HasSelectExpert value="false">
        <param name=ShowLogo value="false">
    </OBJECT>
    I know how to change all the values of this object so it works with Crystal2008 except one: the codebase.
    I have gone to IIS, and under the virtual folder "crystalreportviewers12" I don't see any JavaPlugin folder, there's only the JavaViewer folder, and there isn't any .exe inside...
    So, where can I find the .exe for the codebase?
    I have tried searching the web for a tutorial or something, but I haven't seen anything for Crystal 2008.
    Can anyone help me?
    Thank you very much!

    This is so wrong, I don't even know which forum this would belong to ( I think I'll move it to the SAP Crystal Reports, version for Eclipse topic Space...
    Let's start with this:
    I have taken this file from an older version of Crystal,
    Don't mix versions. It will not work. Period
    Next re:
    I don't see any JavaPlugin folder,
    If you want a Java solution, I'd recommend using CR for Eclipse which you can download from here:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    I would then recommend having a peek here:
    CRJ SDK
    Developer Help File is here:
    https://help.sap.com/javadocs/cr/xi/jrc/en/overview-summary.html
    Finally, I'm not sure what references you are making in your VB 6 app, but there is no SDK in CR 2008 that supports VB 6.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • Detail sections not displayed with Crystal Reports 2010 Runtime (SP1 also)

    I have migrated a VB app from RDC 9 to Crystal Reports 2010 and I'm experiencing a very strange issue.
    In a report with 6 nested groups, the detail part is splitted in 7 section, and the whole detail has the "keep together" flag activated. At runtime, some detail sections are not displayed. There is no suppress condition on the detail section. The missed sections are those near bottom of the page. I suppose that when there is no room to print the section on the page and it should go on the next page, Crystal forget to display it.
    I exported the report in Crystal format and reopened with Crystal Reports designer and the missed section are displayed.
    The same report is displayed correctly using RDC 9.
    If I show the group tree and select the missed section group, the section is correctly displayed on a separate preview page.
    I've some screenshot to better demonstrate the problem.
    I hoped SP1 will resolve the issue but unfortunately it didn't.
    Pier Alberto Guidotti

    This issue has been escalated for a fix. tracking number is TE5000325237. For anyone wanting to attach to this thread with a similar issue, please note the behavior as decribed in the TE below. If the description does not match your issue exactly, please create a new thread.
    Description - Steps to Reproduce;
    1) Run the report in the CR 2008 designer - note the second page
    2) Run the report in VS2010 app using CRVS2010 SP1:
    CrystalReportViewer1.ReportSource = <path to report>
    3) Look at page 2 and compare to page 2 from the CR2008 designer (also, see attached compare.jpg file which is a screen shot of both views) - note missing group on page 2
    4) Export to PDF, DO, RTF - same issue
    5) Print to printer using the viewer print button - same issue
    6) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    crReportDocument.PrintToPrinter(1, 1, 1, 2)
            MsgBox("Done")
    7) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    Dim rcd As ISCDReportClientDocument
            rcd = crReportDocument.ReportClientDocument
            rcd.PrintOutputController.PrintReport()
            MsgBox("Done")
    8) Export to RPT file format - view this export in the CR2008 Designer - report looks as it should
    9) Add report to the .NET2010 project. trying to view the repor tin the .NET2010 IDE results in .NET crashing.
    - Ludek

Maybe you are looking for