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

Similar Messages

  • 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" 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

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

  • Set document name when use PrintToPrinter with Crystal Reports 2008

    Hy,
    from my application, in .net environment,  I print report on printer at runtime with PrintToPrinter command,
    but all documents that I print have the same spool name: "document".
    Is there a possibility to set this name ?
    Thanks
    Filippo

    solution below:
    How to set  the CR print job name that displayed in Printer job queue?

  • Crystal Report 2008 SP2 & InfoView: Custom XML Export doesnt work

    Hi,
    I have created a Crystal Report .rpt and want to use the custom xml export function to output a custom xml file. For that, I created a custom transformation file (xsl) and imported it into the .rpt . On the client machine, if I open the .rpt with Crystal Reports 2008 SP2, and select to export it using the custom xml output, all runs fine. (under SP1, only half the file was created...)
    If I upload the .rpt file to Infoview (server-side: BO Enterprise 3.1, SP2 as well) and schedule it, I can select xml, and then my custom xml as output format, but I am getting the error message u201EUngültige Exportoptionen" (="invalid export options"), in the instance history. No output file is created. I use file system as destination. Other output formats like .pdf and .rpt work fine and files are created.
    Ideas:
    -Are there any more settings needed on the server (e.g.CMC - Crystal Server Jobs, other Processes, ...) so I can schedule the report and successfully create the custom xml format file as output?
    -Do I need to upgrade to a specific SP or FP on server-side so everything runs smooth?
    Thanks for your help!

    Hi Florian,
    I'm having the same problem, have you by any chance found a solution?
    Gajus.

  • Error exporting to PDF from Crystal Reports 2008

    Hi,
    We are getting following error while exporting Crystal report to the PDF and preview in IE:
    Description: Failed to export to a pdf file -- Selected exporter does not support one of the features used in this report. MyReport {DCA37817-1414-45A7-8DF9-75503B8CD0FE}.rpt
    This report having chart object as subreport, however export to Excel works fine and we could see chart fine in Excel. Any other reports without charts are exporting fine to the PDF format only this one having issue.
    Report developed with Crystal Reports 2008/SP2, server we are running this report having CRRuntime_12_0.msm merge file installed successfully. We can't install 12_2 or 12_3 downloaded from your site because of errors we are getting while setup with these merge files somehow.
    Server configuration: Windows 2008 RC2 64bit, .NET framework 3.5, project executing report compiled as x86 ASP.NET project.
    Thanks for help!
    Leonid Shprekher
    Bessemer Trust

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Date Format is not Working in Cross tab Crystal report 2008

    Hi,
    I have developed an application ASP.Net c#
    in Framework 3.5 with crystal report 2008 with service pack 5.
    in my crystal i used cross tab to show the grid records. one of the data having the data type as date time after launching the report, when i export the report with option "export to excel (data only)" and check the format of the date value in excel it show the general string
    if i place that data in any other location other than cross tab then it reflects the format what i give in report design. but when the control is in cross tab
    its not effect
    how to solve this!

    And tweeted
    - Ludek
    Senior Support Engineer
    AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports 2008 crashes with blanked out areas when downloading data

    We have a pc installed with Crystal Reports 2008 v1 SP2, which is used for report creation, but after a few minutes of downloading data from the server to populate the report, the report crashes with black areas instead of data in the report.  Please can anyone offer possible solutions?
    Pc: workstation
    Os: Microsoft Windows XP Professional 32 bit
    Processors: 1 Intel Core(TM) i5 CPU 650 @ 3.20 Ghz
    Total Memory: 3264 Mb
    Total Hard Drive: 298 Gb
    Display 1680 x 1050 pixels 65536 colours]
    Display Adapters: Microsoft 4.0.5733.0
    driver date: 2-28-2007
    Crystal Reports version: 12.1.0.883
    Crystal Reports 2008 SP2
    Oracle in OraHome111
    file version: 11.1.0.6.0
    driver_ODBC_Version: 03.51
    connects to remote server on site with Oracle 11g database, via above ODBC driver.
    Many thanks, any ideas would be appreciated!
    David

    Hi David,
    I've seen this before, your Video driver is out dated and you need to update it. Typically the makers of the mother board or video card, which ever one you are using, will have updates for your specific OS. Appears you are using the default Window generic video driver which may not support what CR requires or you have an older usp10.dll. You will likely get a new one if you install Windows XP Service Pack 3.
    Also, Crystal Reports version: 12.1.0.883 is SP 1 and not SP 2., second number is the Service Pack, 12.x.x.x.
    Download SP 4 and see if that may help:
    https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    Or incrementally:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    And you may need SP 3 or if you want to start off clean download the full build of SP 3 and then SP 4. Requires the keycode so make sure you have it, we can't give you a new one.
    Don

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • Crystal Reports 2008 Missing Page Headers and Footers when Exporting Excel

    After upgrading from Crystal Reports 9 to Crystal Reports 2008 we have noticed that when we export to Excel the document no longer retains the page headers and footers.  After doing some reading I see that there is a property called ExportPageHeadersAndFooters that we can tap into.  However, I am unable to get this to work for me.  Below is my code, do you have any suggestions?
                    ReportDocument rdReport =  new ReportDocument();
                    rdReport.Load(sReportFilePath);
                    ExportFormatType exType = ExportFormatType.Excel;
                    // create an instance of excel formatting options
                    ExcelFormatOptions foFormat = new ExcelFormatOptions();
                    foFormat.UsePageRange = false;
                    foFormat.ExcelUseConstantColumnWidth = true;
                    foFormat.ExcelTabHasColumnHeadings = true;
                    foFormat.ExportPageBreaksForEachPage = true;
                    foFormat.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
                    // set up more exporting options
                    rdReport.ExportOptions.ExportFormatType = ExportFormatType.Excel;
                    rdReport.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                    rdReport.ExportOptions.FormatOptions = foFormat;
                    rdReport.ExportToStream(exType);

    I was able to get it to work but I had to do this.
    ExportRequestContext expReqCntxt = new ExportRequestContext();
    expReqCntxt.ExportInfo = rdReport.ExportOptions;
    sExported = ((CrystalDecisions.CrystalReports.Engine.ReportDocument)rdReport).FormatEngine.ExportToStream(expReqCntxt);

  • Crystal Reports 2008 Export formats

    We have a full version of Crystal Reports 2008 for use with our .net application.  I also tried using the ReportAppServer's .NET assemblies but could not find a way to export to the following formats (this was possible in the previous versions of Crystal Reports)
    Excel 8.0
    Excel 8.0 Tabular
    HTML 3.2
    Looks like these are not supoorted with Crystal 2008? Can someone please confirm this?
    I came accross a document that suggested use of Excel Export Compatibility patch to support lagacy versions of excel but could not find where to download the patch from.
    Also, I did not find any document on what defalt HTML version the  crystal viewer exports to. I believe it's HTML 4.0. Is this correct?

    Hello,
    Install the latest patches for CR 2008, SP2, and you'll find the legacy formats have been added back in for Excel and HTML 3.2 is an option.
    Thank you
    Don

  • Exporting Options in Crystal Reports 2008

    I am using Crystal Reports 2008 to make my report for my users.   I am also programming a viewer in vb 2005 so the users can view the report without changing it.  In the viewer I need to be able to export to excel or pdf or any other format.  I want the user to be able to specify where and how to export the report.  However when they press on the export button it is giving a save as dialog box, which, while it gives options to save as excel or pdf, it does not give the options such as to application, or to file, which are there in the full crystal report product. 
    My form gets the report name, sets up the data source and then displays it in a
    CrystalReportViewer object. 
    CrystalViewer.ReportSource = MyReportDocument
            CrystalViewer.DisplayToolbar = True
            CrystalViewer.ShowRefreshButton = False
            CrystalViewer.DisplayStatusBar = True
            CrystalViewer.EnableDrillDown = True
            CrystalViewer.EnableRefresh = False
            CrystalViewer.EnableToolTips = True
            CrystalViewer.ShowExportButton = True
    The export button is there, it just does not give all of the options that I would have expected.  I see there are ways to programatically use the options, however the export dialog box that appears in crystal reports 2008 would be useful to the user here.  Is there a way to make that box show up.  Perhaps it should be and I am doing something wrong.  I am very new to .net and crystal 2008, we used to use crystal 8.0 with vb6 for a viewer.  In that version the export dialog box showed up correctly.  Thank you for your help.  Also, if i am posting this in the wrong forum area please let me know so i can post it where it should be.

    You are doing things the correct way, unfortunately the export dialog is very basic.  If you want this extra functionality, you will have to code it yourself.

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

Maybe you are looking for