Slow Crystal Reports Export to Text

Post Author: shfisher
CA Forum: General Feedback
Previously posted on Legacy Products forum: We have a fairly complex report written in Crystal 8 that displays
within seconds in the viewer.  A user routinely exports this report to
a text file, and until approximately three weeks ago, the export also
took less than 30 seconds.  Now the export is taking approximately
three minutes.  I have seen similar posts on this topics but no
solutions.  Are records queried differently for an export?  What could
have caused this sudden slowdown?

Hello,
No, we don't have support having any command line options when exporting. There are likely third party tools out there that may give you the option though.
One other way may be to export it to PDF format and then use Adobe API's to add the /E option when saving the output file.
Thank you
Don

Similar Messages

  • Crystal report : Export to Text format from BI Launch pad

    Hi,
    We are facing issue in exporting the Crystal report to text format option from BI Launch pad view mode. Currently BI launch pad doesn’t support export to Text format option for crystal report in view mode. But export to text format option is feasible in schedule mode. But customer is not interested in exporting the reports through schedule mode.
    Please advise, if we have any alternative way of exporting the crystal report to text format option from BI Launch pad.
    Thanks,
    Chinnu A

    Hi Chinnu,
    The question is better suited to be asked in the BI Platform space.
    -Abhilash

  • Hi Expert , crystal report export problem. system not responding

    Hi,
    crystal report export problem. system not responding.
    Thanks
    Rajkumar Gupta

    Dear Raj,
    Please try this
              Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                rptView.ShowExportButton = True
                rptView.ReportSource = rptDoc
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                'Setting Paper
                Dim rawKind As Integer = 0
                Dim printSet As New System.Drawing.Printing.PrinterSettings
                For i As Integer = 0 To printSet.PaperSizes.Count - 1
                    If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
                        rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
                        Exit For
                    End If
                Next
                Dim MyTest As New SaveFileDialog
                rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
                rptDoc.ExportToStream(ExportFormatType.Excel)
                'rptDoc.SaveAs("C:\TBKING.xls", True)
                '''How to export the report
                Try
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New _
                    DiskFileDestinationOptions()
                    Dim rename As String
                    rename = rptName.Replace(".rpt", "")
                    Dim CrFormatTypeOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = _
                                                "c:\Report\" & rename & "_Export_File.xls"
                    CrExportOptions = rptDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.Excel
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = CrFormatTypeOptions
                    End With
                    rptDoc.Export()
                Catch ex As Exception
                    MsgBox(ex.ToString)
                End Try
                '' end by kevin shah
                rptView.Show()
                rptView.ShowExportButton = True
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = True
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "Report Viewer"
                oFrm.Text = "Report Viewer11"
                oFrm.ResumeLayout(True)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                objMain.objApplication.MessageBox(ex.Message)
            End Try
    By pressing this button XLS file be generated on C:\report\
    Hope this will resolved the issue
    Thanks
    Kevin

  • Crystal Reports export and print fails with SSL / https but works with http

    Windows 2008 Server, 32-bit (IIS7)
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    http:  printing works, export works
    https:  printing not working, only export to MS Excel and MS Word work.
    I am able to generate reports using both http and https, and the toolbar icons are all showing.  However, I am unable to print or export properly with SSL.
    Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
    A communication error occured.  Printing will be stopped.
    Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
    I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL.  Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7?  Everything works fine when I change the address from https to http.
    Please let me know if I can help by providing further information.  We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
    Thank you.

    Thanks Ludek. I got it by searching KB number.
    Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
    1: Crystal report export
                Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to PDF : nothing happened.
    2: Print:
                Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
    Please advise.
    Thank you very much!

  • CRYSTAL REPORT EXPORT TO PDF INSERTS lowercasee i after t

    I have a crystal report file that is stored as image type in table (SQL Server).When i open the report file in my application (Visual Studio (C#) ), it shows the required one.But When i export to pdf  and save it to my local hard drive, and if i open that file, i find that after every lowercase 't' , letter 'i' is appended.I searched through google and found that it migh be a font issue.Even after changing the font, i was not able to resolve the issue.
    Example : 'Project'   becomes  'Projecti'
    Please provide a resolution to this issue

    See if KB [1547961  - The character 'i' is added after every lower case 't' when a report is exported to PDF file format|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343337333933363331%7D.do] helps. Also, search these forums. There are a few threads on the issue here.
    KB was found by using the following search term; 'character i crystal net' )as well as a number of variations. (Use the search box in the top right corner of this web page .
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Printing Crystal report using Generic Text output - formating lost

    Hi. I have an accounting system using Crystal to generate it's business forms, in particular invoicing as reports. Recently we have installed new printing system that needs generic text to capture and create the business forms (invoices) into a graphic and text. When Crystal sends data to Generic Text Printer, you can view it ok as a preview but it moves text around , bunches it up and formatting is never the same for two documents. I need resolution as the printing software needs fixed text in a specific location within the data file.  Is there a way in Crystal to format fields so they dont move the data and bunch it up. The business forms written in Crystal have sub reports that are supressed if no data is to be printed, but finding text is moving and hard to capture a fixed location in text file. Any suggestions would be appreciated.

    Hello,
    Thank you for your responses.
    Yes, I'm using a bundled version that came with VS 2005.
    I'd love to download this update, but I cannot get there! I don't have an login and password for this site, and I don't know how to get them.
    This is all I'd found about this issue in this thread:
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=844
    "I opened an incident with Business Objects.  They said there is not a way to do what we want to do with the Crystal Reports for .NET assemblies.  They are going to implement a way to create a postscript file and include it in Service Pack 3 of Crystal XI Release 2.  They would not say how the postscript will be created (ie, ExportToDisk or any other method), only that they would include it in CRXI Release 2 SP3 which they intend to release sometime this coming winter. "
    "Just an update...this has been fixed in Crystal XI Release 2 Service Pack 3.
    I just finished testing, and it now allows you to print to a file without prompting the user.  We are now able to create a postscript file."
    Thanks,
    Peter
    Edited by: Peter Afonin on Jul 16, 2008 11:52 AM

  • Extremely slow Crystal Reports environment

    <p>Hi there, I need help with my Crystal Reports environment, please!</p><p>While developing a report I&#39;ve noticed that everything is achieved with great slowness. Even right click menu shows up only after a couple of seconds. It takes more then that to select multiple objects and just simply drug them around a screen (depending on quantity of objects). I&#39;ve observed also that CPU usage spikes to 100% and the process that contributes to that spike is crw32 (I have 1G RAM). Other developer&#39;s computer handles the same report with much greater speed (his computer has similar hardware specifications and has same installation of Crystal). Conventional remedies, like rebooting, defragmenting..., didn&#39;t result in much. It wasn&#39;t always like that.... ?????</p><p>At least a hint on where to dig will be greatly appreciated :)</p><p>Thanks in advance.</p><p>Best regards. Nadya R.</p>

    That is really strange. I haven't seen that in the latest releases. In some of the older products there were some performance issues such as those but not recently.Â
    This sounds like a support issue perhaps. Have you checked the Kbase?Â
         - Kathryn Webster (Report Design Consultant)
               Kat&#39;s News: http://diamond.businessobjects.com/blog/279

  • The process cannot access the file during Crystal Report export

    We are exporting crystal reports into PDF using  ExportToHttpResponse (code snippet below)
          // Getting the type of the report file which has been selected by the user. (which will be REPORT CLASS type)
    Type objType = Type.GetType("WebApplication1.Reports." + ReportName);
    ReportClass SEPREport = (ReportClass)Activator.CreateInstance(objType);
    // GetTypedDataSet()returns an instance of typed data set.
    SEPREport.SetDataSource(GetTypedDataSet());
    SEPREport.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, ReportName );
    Now we have created these REPORTS using Basic Crystal Report 10.5, which comes bundled with Visual Studio 2008 and .Net Framework 3.0.
    Now on our machines, we have never experienced any issues.
    BUT on the DEV server (web server) which has .net Framework 3.0 and in its GAC its has CRYSTAL DLLs version 11.5 (required to create an Object of ReportClass and its related functions) ; sometimes we get the following error while exporting crystal report to pdf:
    The process cannot access the file because it is being used by another process. 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.
    Exception Details: System.Runtime.InteropServices.COMException: The process cannot access the file because it is being used by another process.
    Source Error:
    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.
    Stack Trace:
    [COMException (0x80004005): The process cannot access the file because it is being used by another process.
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +525
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +681
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +105
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +163
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +132
       MSSB.FATools.UI.PlannerReport.CreatePDFDocument() +732
       MSSB.FATools.UI.PlannerReport.btnCreatePDF_Click(Object sender, EventArgs e) +45
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +104
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5615

    This is a cross post:
    The process cannot access the file because it is being used by another proc
    Do not cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Setting this tread as answered and locking.
    - Ludek

  • Crystal Reports Export to PDF and Security

    I am writing a PC application in VB.Net (using Visual Studio 2005 and which ever Crystal Reports package comes with it) which utilizes Crystal Reports and exports the reports to PDF files.  My company creates other PDFs through other programs and is able to set different security options on those PDFs to prevent users from being able to edit them in Adobe Acrobat.  I believe this involves setting a password and a few other options.  Is there a way to do this when creating a PDF by exporting to PDF a Crystal Report?
    Any help or advice on this matter would be greatly appreciated.

    Could you provide me a link and/or more informationa bout this Crystal Reports Scheduler?  I have another issue I'm trying to take care of and I'm wondering if this could help me.  I use the Crystal Reports that comes with Visual Studio 2008 to build my reports and then turn them into PDFs.  However these PDFs are not [section 508|http://www.section508.gov/|Section508.gov] compliant.  I need to add [tagging|http://www.acrobatusers.com/tutorials/what-are-pdf-tags-and-why-should-i-care|What are PDF tags and why should I care] to the PDFs.  Do you know if the component you mentioned can do this?  Or of any other product that can?
    [This|Export to PDF - Section 508 Accessibility Compliance; is the thread my other question is on.
    I'd appreciate any information you could give me.

  • Reg : Crystal Report Exporting to Excel , Border not Found in Excel.

    Dear Expert ,
    As we are Working in a project , where we are using the crystal report as reporting Tool. after importing the report into enterprise. we are plan to export to the excel sheet. where we are facing the issue with , the borders and line are not coming. Is it possible to get the Border as we are created in the Crystal report.
    Is there any Other Option there to Procede with Borders and Line as same as Crystal.
    Thanks ....

    Dear Lee ,
    thanks for the Update , Any have it will reflect only to the field , but not the entire row and column. I need to display the report as shown in the crystal .
    Show for that , is there any setting in the crystal report. Give me an suggestion.
    Thanks for the Update.

  • Nonsensical top level PDF bookmark in Crystal report exported from InfoView

    Thank you for any help or suggestions!
    I am using Crystal Reports 2008, the CMC repository, and InfoView.  I am producing PDF reports, many with bookmarks based on the group tree. 
    I have found that when I run my report off my workstation, all is fine, but when I run the same report out of InfoView, the top level bookmark is a string of nonsensical numbers and characters.
    Is there a way for me to ensure that this top level bookmark is something readable, perhaps the name of the report? 
    Thank you for your help!

    Hi,
    I ran into this problem just recently myself.  The report would export just fine out of the designer but when I would try to export it from CMC it would give me a root bookmark named along the lines of "~crw{33FB2DCD-838A-(more gibberish)....}.rpt"
    I eventually figured out how to solve it.  I am using Crystal XI R2, not 2008, but I suspect you may be able to resolve the issue using the same steps.  I believe that the gibberish name that you are seeing is the actual technical name of the report as it is stored on the Enterprise server.  In order to get it to display a nice formatted name of your choosing, open up your report in the report designer.  Now go to the File menu and select Summary Info.  In the Title section, provide the name of the report that you would like to see at the root of the bookmark.  You are esentially setting up an alias for it.  Now when you export, you should see the new name that you typed in as the main part of the bookmark.
    Hope this works for you!
    Edited by: Wjrudo on Nov 30, 2009 8:55 PM

  • Crystal Report Export not working in Server 2008

    Hi
    Please Help..
    I am Using Crystal report Report 9 with VB 6 and SQL Server 2008. All my Client PC s (Windows XP SP3) are able to export the reports in any format but with my SERVER - (Windows Server 2008 (32 Bit)) it isn't possible. The Button is very much enabled
    but when I click on it, Nothing happens.. Please Help... 

    Hi,
    I would like to suggest you try to run SAP Crystal Reports under Compatibility Mode to check if it works.
    Run in compatibility mode with administrative privilege
    ================================
    1. Right-click the .exe file of the SAP Crystal Reports program and choose
    Properties.
    2. Switch to the
    Compatibility tab.
    3. Please check the
    Run this program in compatibility mode for and choose
    Windows XP (Service Pack 3).
    4. Check the
    Run this program as an administrator box under the
    Privilege Level.
    5. Click
    Apply, click OK.
    Note: If the option is unavailable when running this program as an administrator, it means that either the application is blocked from always
    running elevated, the application does not require administrative credentials to run, or you are not logged into the computer as an administrator.
    If it does not work, it is high recommended to contact your local SAP Support Engineers for further assistance. They are more familiar with their own
    product.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Crystal report export button not working

    Hi i have a problem with a crystal report.......that in a crystal report when i click the export button the page refreshes and my report is dissapears but nothing happens i am unable to export the report in any format what shoould i do....if u wan to see the code than i would also provide it on demand....
    It gives an error of Failed to export using the options you specified. Please check your options and try again.

    Sounds like you are using one of our SDK's and wrote an application.
    Need a lot more info.
    Don

  • Issue with Crystal Report export to PDF

    Have a report in Crystal Report 2008. The report runs fine, but would like to export it to PDF/EXCEL, but nothing happens when I select the Export type(i.e. PDF,Excel, etc).
    Steps to replicate:
    1. Run Crystal Report
    2. Click on EXPORT button.
    3. Select the Export type (PDF).
    4. Click on EXPORT - Nothing happens nor does it return any error.
    Would someone be able to provide some tips on this issue
    Thanks

    The problem is that the 3rd party is using some CR SDK. We don't even know what SDK that is. They should be coming here and asking us to help them on your behalf. It is almost impossible for us to help, not knowing how they implemented the SDK, which SDk, etc..
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • JSP vs Crystal Report Export to PDF problem

    I have problem using JSP and Crystal Report 10.
    When I exporting report to PDF my font become ??????
    (Only thai font but En font is work fine)
    This mean when deploy report on J2EE (I used tomcat 5.0.27)
    It not support other language or I must use other thing such as
    convert all data to Unicode before export it?
    Please advice me
    thank you
    Note: If I export it with Crystal Report IDE it can read.
    Message was edited by:
    mistwalker

    Hi All,
    Can any one help me to use JSP for export report via Crystal Report 11, as i m using CR 8.5 with Java and for exporting reports i m using Jacob.dll, and reports hosted in IIS. but due to Jacob.dll facing lots of issue and finally not able to export reports.
    Now i installed CR 11 and hosted reports and able to view via my JSP pages, can any one help me how to export report to server.
    Appreciate urgent assistance.
    Regards,
    Imran

Maybe you are looking for

  • How to add a date suffix to the log file name

    In Windows, I want to run certain commands and save the output to a logfile every day. How to add a suffix to the log file name so I can distinguish which log file for which day? e.g. cmd >> logfile.date

  • Looking for a name of the application that allows you to browse files

    Looking for a name of the application that allows you to browse files in Linux shell! Here's someones screenshot http://s8.postimg.org/ksexr9nbp/image.jpg that app in the middle - browsing home directory! Thanks all in advance!

  • Why is my Noise Layer (with Levels Adjustment) not saving correctly?

    I'm hoping this is an easy fix, but this problem has me all twisted... I have an image built in Photoshop with a Noise layer playing the role of stars on a mainly black background with a Levels Adjustment cleaning up the lighting to dumb it down, but

  • Syncing with new application

    I'm trying to sync with a new application. I checked the error files and there are no errors, but i noticed that under wlportal/applications/myApp-project/application-sync/webapps/myapp/sampleapp_main.wf has not been modified. Any reason why this did

  • Package fuego.lang/papi does not exist

    Hi, I change the code of BPM_HOME\webapps\workspace\WEB-INF\lib\fuego.workspace\fuego\workspace\example MyWorkListDecorator. (just unzip the jar -> change .class to .java->add code) The code snippet is as follows. I just want to change the row backgr